From 271ce35437711169525c4f2226303b965a7243ac Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 30 May 2026 04:18:05 +0000 Subject: [PATCH 1/6] Refactor: Change local variable collection types from interfaces to concrete implementations - Changed List<> to ArrayList<> where assigned with newArrayList() - Changed List<> to LinkedList<> where assigned with newLinkedList() - Changed Queue<> to ArrayDeque<> where assigned with newArrayDeque() - Changed ConcurrentMap<> to ConcurrentHashMap<> where assigned with newConcurrentHashMap() - Changed Set<> to HashSet<> where assigned with newHashSet() - Changed Map<> to HashMap<> where assigned with newHashMap() - Changed TreeSet<>, TreeMap<>, LinkedHashSet<>, LinkedHashMap<> appropriately - Refactored 59 Java files with local collection variable declarations" --- .../processor/TestConfigurationPropertyLoader.java | 2 +- .../main/java/io/microsphere/beans/BeanUtils.java | 6 +++--- .../microsphere/classloading/ArtifactDetector.java | 4 ++-- .../BannedArtifactClassLoadingExecutor.java | 4 ++-- .../java/io/microsphere/collection/ListUtils.java | 2 +- .../java/io/microsphere/collection/MapUtils.java | 4 ++-- .../io/microsphere/collection/PropertiesUtils.java | 2 +- .../java/io/microsphere/collection/SetUtils.java | 2 +- .../main/java/io/microsphere/convert/Converters.java | 4 ++-- .../microsphere/event/AbstractEventDispatcher.java | 4 ++-- .../io/microsphere/event/GenericEventListener.java | 4 ++-- .../main/java/io/microsphere/event/Listenable.java | 2 +- .../main/java/io/microsphere/filter/FilterUtils.java | 2 +- .../main/java/io/microsphere/io/Deserializers.java | 2 +- .../src/main/java/io/microsphere/io/Serializers.java | 2 +- .../microsphere/io/scanner/SimpleClassScanner.java | 8 ++++---- .../io/microsphere/io/scanner/SimpleFileScanner.java | 2 +- .../io/scanner/SimpleJarEntryScanner.java | 2 +- .../src/main/java/io/microsphere/json/JSONUtils.java | 4 ++-- .../io/microsphere/lang/ClassDataRepository.java | 10 +++++----- .../java/io/microsphere/logging/LoggerFactory.java | 2 +- .../java/io/microsphere/management/JmxUtils.java | 2 +- .../management/builder/MBeanInfoBuilder.java | 8 ++++---- ...ClassPathResourceConfigurationPropertyLoader.java | 2 +- .../metadata/ConfigurationPropertyLoader.java | 2 +- .../metadata/DefaultConfigurationPropertyReader.java | 2 +- .../CompositeSubProtocolURLConnectionFactory.java | 2 +- .../net/CompositeURLStreamHandlerFactory.java | 2 +- .../java/io/microsphere/process/ProcessManager.java | 2 +- .../main/java/io/microsphere/reflect/FieldUtils.java | 4 ++-- .../java/io/microsphere/reflect/MethodUtils.java | 2 +- .../java/io/microsphere/reflect/ReflectionUtils.java | 4 ++-- .../main/java/io/microsphere/reflect/TypeUtils.java | 8 ++++---- .../java/io/microsphere/util/AnnotationUtils.java | 4 ++-- .../java/io/microsphere/util/ClassLoaderUtils.java | 12 ++++++------ .../main/java/io/microsphere/util/ClassUtils.java | 2 +- .../java/io/microsphere/util/ServiceLoaderUtils.java | 4 ++-- .../main/java/io/microsphere/util/StringUtils.java | 2 +- .../main/java/io/microsphere/util/TypeFinder.java | 4 ++-- .../main/java/io/microsphere/util/jar/JarUtils.java | 2 +- .../microsphere/collection/CollectionUtilsTest.java | 8 ++++---- .../io/microsphere/collection/ListUtilsTest.java | 6 +++--- .../java/io/microsphere/collection/MapUtilsTest.java | 2 +- .../io/microsphere/collection/QueueUtilsTest.java | 8 ++++---- .../io/microsphere/collection/ReversedDequeTest.java | 2 +- .../java/io/microsphere/collection/SetUtilsTest.java | 8 ++++---- .../concurrent/DelegatingBlockingQueueTest.java | 2 +- .../java/io/microsphere/json/JSONObjectTest.java | 4 ++-- .../test/java/io/microsphere/json/JSONUtilsTest.java | 2 +- ...stractExtendableProtocolURLStreamHandlerTest.java | 2 +- .../net/ExtendableProtocolURLStreamHandlerTest.java | 2 +- .../test/java/io/microsphere/net/URLUtilsTest.java | 4 ++-- .../io/microsphere/reflect/ReflectionUtilsTest.java | 2 +- .../io/microsphere/util/ClassLoaderUtilsTest.java | 4 ++-- .../java/io/microsphere/util/TypeFinderTest.java | 2 +- .../processing/CompilerInvocationInterceptor.java | 4 ++-- .../test/model/CollectionTypeModelTest.java | 8 ++++---- .../io/microsphere/test/model/MapTypeModelTest.java | 8 ++++---- .../util/ResolvableAnnotationValueVisitorTest.java | 2 +- 59 files changed, 112 insertions(+), 112 deletions(-) diff --git a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/TestConfigurationPropertyLoader.java b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/TestConfigurationPropertyLoader.java index 57fcb2014..5240c9f5f 100644 --- a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/TestConfigurationPropertyLoader.java +++ b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/TestConfigurationPropertyLoader.java @@ -40,7 +40,7 @@ public class TestConfigurationPropertyLoader implements ConfigurationPropertyLoa public List load() throws Throwable { int size = SIMPLE_TYPES.size(); - List configurationProperties = newArrayList(size); + ArrayList configurationProperties = newArrayList(size); Random random = new Random(); diff --git a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java index c109db287..c6a21896b 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java @@ -517,7 +517,7 @@ static Object toArray(Object value, Class valueType, MutableInteger resolvedD static List toList(Object value, Class valueType, MutableInteger resolvedDepth, int maxResolvedDepth) { List list = (List) value; - List newList = newArrayList(size(list)); + ArrayList newList = newArrayList(size(list)); addValues(newList, list, resolvedDepth, maxResolvedDepth); return newList; } @@ -531,14 +531,14 @@ static Set toSet(Object value, Class valueType, MutableInteger resolvedDep static Queue toQueue(Object value, Class valueType, MutableInteger resolvedDepth, int maxResolvedDepth) { Queue queue = (Queue) value; - Queue newQueue = newArrayDeque(size(queue)); + ArrayDeque newQueue = newArrayDeque(size(queue)); addValues(newQueue, queue, resolvedDepth, maxResolvedDepth); return newQueue; } static Enumeration toEnumeration(Object value, Class valueType, MutableInteger resolvedDepth, int maxResolvedDepth) { Enumeration enumeration = (Enumeration) value; - List newList = newLinkedList(); + LinkedList newList = newLinkedList(); addValues(newList, toIterable(enumeration), resolvedDepth, maxResolvedDepth); return enumeration(newList); } diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactDetector.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactDetector.java index c517e80c1..c9344d23f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactDetector.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactDetector.java @@ -115,7 +115,7 @@ public List detect(@Nullable Set classPathURLs) { if (size < 1) { return emptyList(); } - List artifactList = newArrayList(size); + ArrayList artifactList = newArrayList(size); for (URL classPathURL : classPathURLs) { Artifact artifact = detect(classPathURL); if (artifact != null) { @@ -148,7 +148,7 @@ public Artifact detect(@Nonnull URL classPathURL) { protected Set getClassPathURLs(boolean includedJdkLibraries) { Set urls = findAllClassPathURLs(classLoader); - Set classPathURLs = new LinkedHashSet<>(urls); + LinkedHashSet classPathURLs = new LinkedHashSet<>(urls); if (!includedJdkLibraries) { removeJdkClassPathURLs(classPathURLs); } diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutor.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutor.java index 9fea21eef..1b3931629 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutor.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutor.java @@ -94,7 +94,7 @@ public void execute() { } static List loadBannedArtifactConfigs(ClassLoader classLoader) { - List bannedArtifactConfigs = new LinkedList<>(); + LinkedList bannedArtifactConfigs = new LinkedList<>(); try { Enumeration configResources = classLoader.getResources(CONFIG_LOCATION); while (configResources.hasMoreElements()) { @@ -109,7 +109,7 @@ static List loadBannedArtifactConfigs(ClassLoader classLoader) { } static List loadBannedArtifactConfigs(URL configResource) throws IOException { - List bannedArtifactConfigs = new LinkedList<>(); + LinkedList bannedArtifactConfigs = new LinkedList<>(); try (InputStream inputStream = configResource.openStream(); BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream, ENCODING)) ) { diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java index 4142dee0e..d2558a795 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java @@ -284,7 +284,7 @@ public static List ofList(Iterator iterator) { if (iterator == null) { return emptyList(); } - List list = newLinkedList(); + LinkedList list = newLinkedList(); while (iterator.hasNext()) { list.add(iterator.next()); } diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java index f2607cfe2..901348bb7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java @@ -1181,7 +1181,7 @@ public static Map flattenMap(Map map) { @Nonnull @Immutable public static Map nestedMap(Map map) { - Map nestedMap = newLinkedHashMap(); + LinkedHashMap nestedMap = newLinkedHashMap(); for (Map.Entry entry : map.entrySet()) { String propertyName = entry.getKey(); @@ -1235,7 +1235,7 @@ public static Map nestedMap(Map map) { @Nonnull static Map extraProperties(Map map) { int size = size(map); - Map properties = newLinkedHashMap(size); + LinkedHashMap properties = newLinkedHashMap(size); if (size > 0) { for (Map.Entry entry : map.entrySet()) { String key = entry.getKey(); diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/PropertiesUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/PropertiesUtils.java index b64b7e0f0..0f6308b69 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/PropertiesUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/PropertiesUtils.java @@ -71,7 +71,7 @@ public static Map flatProperties(Map properties) if (isEmpty(properties)) { return properties; } - Map flattenProperties = newLinkedHashMap(); + LinkedHashMap flattenProperties = newLinkedHashMap(); flatProperties(properties, null, flattenProperties); return unmodifiableMap(flattenProperties); } diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java index c42b02af9..d20def4c8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java @@ -198,7 +198,7 @@ public static Set ofSet(Enumeration elements) { return emptySet(); } - Set set = newLinkedHashSet(); + LinkedHashSet set = newLinkedHashSet(); while (elements.hasMoreElements()) { set.add(elements.nextElement()); } diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/Converters.java b/microsphere-java-core/src/main/java/io/microsphere/convert/Converters.java index d4e34ab8e..d3507e194 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/Converters.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/Converters.java @@ -48,11 +48,11 @@ static ConcurrentMap, Class>, List> initConvertersC // sorted and cached converters List convertersList = loadConvertersList(); int size = convertersList.size(); - ConcurrentMap, Class>, List> convertersCache = newConcurrentHashMap(size); + ConcurrentHashMap, Class>, List> convertersCache = newConcurrentHashMap(size); for (int i = 0; i < size; i++) { Converter converter = convertersList.get(i); Entry, Class> key = immutableEntry(converter.getSourceType(), converter.getTargetType()); - List converters = convertersCache.computeIfAbsent(key, k -> newArrayList(4)); + ArrayList converters = convertersCache.computeIfAbsent(key, k -> newArrayList(4)); converters.add(converter); } return convertersCache; diff --git a/microsphere-java-core/src/main/java/io/microsphere/event/AbstractEventDispatcher.java b/microsphere-java-core/src/main/java/io/microsphere/event/AbstractEventDispatcher.java index 61c8da417..579cd90fe 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/event/AbstractEventDispatcher.java +++ b/microsphere-java-core/src/main/java/io/microsphere/event/AbstractEventDispatcher.java @@ -127,7 +127,7 @@ public void removeEventListener(EventListener listener) throws NullPointerExc @Override @Immutable public List> getAllEventListeners() { - List> listeners = new LinkedList<>(); + LinkedList> listeners = new LinkedList<>(); sortedListeners().forEach(listener -> { addIfAbsent(listeners, listener); @@ -192,7 +192,7 @@ protected void doInListener(EventListener listener, Consumer eventType, Consumer> consumer) { if (eventType != null) { synchronized (mutex) { - List listeners = listenersCache.computeIfAbsent(eventType, e -> new LinkedList<>()); + LinkedList listeners = listenersCache.computeIfAbsent(eventType, e -> new LinkedList<>()); // consume consumer.accept(listeners); // sort diff --git a/microsphere-java-core/src/main/java/io/microsphere/event/GenericEventListener.java b/microsphere-java-core/src/main/java/io/microsphere/event/GenericEventListener.java index 4d0179c93..7413b85bd 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/event/GenericEventListener.java +++ b/microsphere-java-core/src/main/java/io/microsphere/event/GenericEventListener.java @@ -93,10 +93,10 @@ private Method findOnEventMethod() { private Map, Set> findHandleEventMethods() { // Event class for key, the eventMethods' Set as value - Map, Set> eventMethods = newHashMap(); + HashMap, Set> eventMethods = newHashMap(); of(getClass().getMethods()).filter(this::isHandleEventMethod).forEach(method -> { Class paramType = method.getParameterTypes()[0]; - Set methods = eventMethods.computeIfAbsent(paramType, key -> new LinkedHashSet<>()); + LinkedHashSet methods = eventMethods.computeIfAbsent(paramType, key -> new LinkedHashSet<>()); methods.add(method); }); return eventMethods; diff --git a/microsphere-java-core/src/main/java/io/microsphere/event/Listenable.java b/microsphere-java-core/src/main/java/io/microsphere/event/Listenable.java index 82ceb48c3..2a954753e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/event/Listenable.java +++ b/microsphere-java-core/src/main/java/io/microsphere/event/Listenable.java @@ -111,7 +111,7 @@ static void assertListener(EventListener listener) throws IllegalArgumentExce */ default void addEventListeners(E listener, E... others) throws NullPointerException, IllegalArgumentException { - List listeners = new ArrayList<>(1 + others.length); + ArrayList listeners = new ArrayList<>(1 + others.length); listeners.add(listener); addAll(listeners, others); addEventListeners(listeners); diff --git a/microsphere-java-core/src/main/java/io/microsphere/filter/FilterUtils.java b/microsphere-java-core/src/main/java/io/microsphere/filter/FilterUtils.java index 72a78ae8b..74db432fa 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/filter/FilterUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/filter/FilterUtils.java @@ -74,7 +74,7 @@ public static List filter(Iterable iterable, Filter filter) { @Nonnull @Immutable public static List filter(Iterable iterable, FilterOperator filterOperator, Filter... filters) { - List list = new ArrayList(); + ArrayList list = new ArrayList(); Iterator iterator = iterable.iterator(); while (iterator.hasNext()) { E element = iterator.next(); diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/Deserializers.java b/microsphere-java-core/src/main/java/io/microsphere/io/Deserializers.java index fc96830e4..6c42b54f7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/Deserializers.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/Deserializers.java @@ -73,7 +73,7 @@ public void loadSPI() { for (Deserializer deserializer : loadServicesList(Deserializer.class, classLoader)) { List> typeArguments = resolveTypeArgumentClasses(deserializer.getClass()); Class targetClass = first(typeArguments); - List deserializers = typedDeserializers.computeIfAbsent(targetClass, k -> new LinkedList()); + LinkedList deserializers = typedDeserializers.computeIfAbsent(targetClass, k -> new LinkedList()); deserializers.add(deserializer); } } diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/Serializers.java b/microsphere-java-core/src/main/java/io/microsphere/io/Serializers.java index e02c16ccb..581d37425 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/Serializers.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/Serializers.java @@ -73,7 +73,7 @@ public void loadSPI() { for (Serializer serializer : loadServicesList(Serializer.class, classLoader)) { List> typeArguments = resolveTypeArgumentClasses(serializer.getClass()); Class targetClass = first(typeArguments); - List serializers = typedSerializers.computeIfAbsent(targetClass, k -> new LinkedList()); + LinkedList serializers = typedSerializers.computeIfAbsent(targetClass, k -> new LinkedList()); serializers.add(serializer); } } diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleClassScanner.java b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleClassScanner.java index 1f8c87559..14143c44e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleClassScanner.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleClassScanner.java @@ -119,11 +119,11 @@ public Set> scan(ClassLoader classLoader, String packageName, boolean r @Nonnull @Immutable public Set> scan(ClassLoader classLoader, String packageName, final boolean recursive, boolean requiredLoad) throws IllegalArgumentException, IllegalStateException { - Set> classesSet = new LinkedHashSet(); + LinkedHashSet> classesSet = new LinkedHashSet(); final String packageResourceName = PACKAGE.resolve(packageName); - Set classNames = new LinkedHashSet(); + LinkedHashSet classNames = new LinkedHashSet(); // Find in class loader Set resourceURLs = execute(() -> getResources(classLoader, PACKAGE, packageName)); @@ -168,7 +168,7 @@ public Set> scan(ClassLoader classLoader, URL resourceInArchive, boolea public Set> scan(ClassLoader classLoader, File archiveFile, boolean requiredLoad, Predicate>... classFilters) { Set classNames = findClassNamesInClassPath(archiveFile, true); - Set> classesSet = newLinkedHashSet(); + LinkedHashSet> classesSet = newLinkedHashSet(); for (String className : classNames) { Class class_ = requiredLoad ? loadClass(classLoader, className) : findLoadedClass(classLoader, className); if (class_ != null) { @@ -180,7 +180,7 @@ public Set> scan(ClassLoader classLoader, File archiveFile, boolean req private Set filterClassNames(Set classNames, String packageName, boolean recursive) { PackageNameClassNameFilter packageNameClassNameFilter = new PackageNameClassNameFilter(packageName, recursive); - Set filterClassNames = new LinkedHashSet(filter(classNames, packageNameClassNameFilter)); + LinkedHashSet filterClassNames = new LinkedHashSet(filter(classNames, packageNameClassNameFilter)); return filterClassNames; } diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleFileScanner.java b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleFileScanner.java index e92895e87..88b38f36d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleFileScanner.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleFileScanner.java @@ -85,7 +85,7 @@ public Set scan(File rootDirectory, boolean recursive) { @Immutable public Set scan(File rootDirectory, boolean recursive, IOFileFilter ioFileFilter) { - final Set filesSet = newLinkedHashSet(); + final LinkedHashSet filesSet = newLinkedHashSet(); if (ioFileFilter.accept(rootDirectory)) { filesSet.add(rootDirectory); diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleJarEntryScanner.java b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleJarEntryScanner.java index 5f5e328e1..e389345fe 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleJarEntryScanner.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleJarEntryScanner.java @@ -128,7 +128,7 @@ public Set scan(JarFile jarFile, final boolean recursive, JarEntryFilt @Nonnull @Immutable protected Set scan(JarFile jarFile, String relativePath, final boolean recursive, JarEntryFilter jarEntryFilter) throws NullPointerException, IllegalArgumentException, IOException { - Set jarEntriesSet = newLinkedHashSet(); + LinkedHashSet jarEntriesSet = newLinkedHashSet(); List jarEntriesList = filter(jarFile, jarEntryFilter); for (JarEntry jarEntry : jarEntriesList) { diff --git a/microsphere-java-core/src/main/java/io/microsphere/json/JSONUtils.java b/microsphere-java-core/src/main/java/io/microsphere/json/JSONUtils.java index 01fa1f8d0..2e4d9676c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/json/JSONUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/json/JSONUtils.java @@ -1443,13 +1443,13 @@ static Enumeration toEnumeration(JSONArray jsonArray, Class elementClass) } static List toList(JSONArray jsonArray, Class elementClass) { - List list = newArrayList(jsonArray.length()); + ArrayList list = newArrayList(jsonArray.length()); addValues(jsonArray, list, elementClass); return list; } static Queue toQueue(JSONArray jsonArray, Class elementClass) { - Queue queue = newArrayDeque(jsonArray.length()); + ArrayDeque queue = newArrayDeque(jsonArray.length()); addValues(jsonArray, queue, elementClass); return queue; } diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/ClassDataRepository.java b/microsphere-java-core/src/main/java/io/microsphere/lang/ClassDataRepository.java index adaade820..65407e287 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/ClassDataRepository.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/ClassDataRepository.java @@ -185,7 +185,7 @@ public Map> getClassPathToClassNamesMap() { @Nonnull @Immutable public Set getAllClassNamesInClassPaths() { - Set allClassNames = new LinkedHashSet(); + LinkedHashSet allClassNames = new LinkedHashSet(); for (Set classNames : classPathToClassNamesMap.values()) { allClassNames.addAll(classNames); } @@ -195,8 +195,8 @@ public Set getAllClassNamesInClassPaths() { @Nonnull @Immutable private Map> initClassPathToClassNamesMap() { - Map> classPathToClassNamesMap = newLinkedHashMap(); - Set classPaths = newLinkedHashSet(); + LinkedHashMap> classPathToClassNamesMap = newLinkedHashMap(); + LinkedHashSet classPaths = newLinkedHashSet(); classPaths.addAll(getBootstrapClassPaths()); classPaths.addAll(getClassPaths()); for (String classPath : classPaths) { @@ -209,7 +209,7 @@ private Map> initClassPathToClassNamesMap() { @Nonnull @Immutable private Map initClassNameToClassPathsMap() { - Map classNameToClassPathsMap = newLinkedHashMap(); + LinkedHashMap classNameToClassPathsMap = newLinkedHashMap(); for (Entry> entry : classPathToClassNamesMap.entrySet()) { String classPath = entry.getKey(); @@ -225,7 +225,7 @@ private Map initClassNameToClassPathsMap() { @Nonnull @Immutable private Map> initPackageNameToClassNamesMap() { - Map> packageNameToClassNamesMap = new LinkedHashMap(); + LinkedHashMap> packageNameToClassNamesMap = new LinkedHashMap(); for (Entry entry : classNameToClassPathsMap.entrySet()) { String className = entry.getKey(); String packageName = resolvePackageName(className); diff --git a/microsphere-java-core/src/main/java/io/microsphere/logging/LoggerFactory.java b/microsphere-java-core/src/main/java/io/microsphere/logging/LoggerFactory.java index 1fc7fabb7..edcdcecf6 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/logging/LoggerFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/logging/LoggerFactory.java @@ -82,7 +82,7 @@ static List loadAvailableFactories() { } static List loadFactories() { - List factories = newLinkedList(load(LoggerFactory.class, classLoader)); + LinkedList factories = newLinkedList(load(LoggerFactory.class, classLoader)); sort(factories, COMPARATOR); return factories; } diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/JmxUtils.java b/microsphere-java-core/src/main/java/io/microsphere/management/JmxUtils.java index 0568e8c93..8ed3e028e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/JmxUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/JmxUtils.java @@ -374,7 +374,7 @@ public static Map getMBeanAttributesMap(MBeanServer mBea if (length == 0) { return emptyMap(); } - Map mBeanAttributesMap = newHashMap(length); + HashMap mBeanAttributesMap = newHashMap(length); for (int i = 0; i < length; i++) { MBeanAttribute mBeanAttribute = mBeanAttributes[i]; String attributeName = mBeanAttribute.getName(); diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanInfoBuilder.java b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanInfoBuilder.java index ac61033d5..3d85597d3 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanInfoBuilder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanInfoBuilder.java @@ -54,16 +54,16 @@ public class MBeanInfoBuilder extends MBeanDescribableBuilder String className; @Nullable - List attributeBuilders = new LinkedList<>(); + LinkedList attributeBuilders = new LinkedList<>(); @Nullable - List operationBuilders = new LinkedList<>(); + LinkedList operationBuilders = new LinkedList<>(); @Nullable - List constructorBuilders = new LinkedList<>(); + LinkedList constructorBuilders = new LinkedList<>(); @Nullable - List notificationBuilders = new LinkedList<>(); + LinkedList notificationBuilders = new LinkedList<>(); public MBeanInfoBuilder attribute(String attributeName, Class attributeType, Consumer builderConsumer) { MBeanAttributeInfoBuilder builder = MBeanAttributeInfoBuilder.attribute(attributeType).name(attributeName); diff --git a/microsphere-java-core/src/main/java/io/microsphere/metadata/ClassPathResourceConfigurationPropertyLoader.java b/microsphere-java-core/src/main/java/io/microsphere/metadata/ClassPathResourceConfigurationPropertyLoader.java index 794ba9d21..e68511f90 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/metadata/ClassPathResourceConfigurationPropertyLoader.java +++ b/microsphere-java-core/src/main/java/io/microsphere/metadata/ClassPathResourceConfigurationPropertyLoader.java @@ -77,7 +77,7 @@ protected ClassPathResourceConfigurationPropertyLoader(@Nonnull String resourceN @Override public final List load() throws Throwable { - List configurationProperties = newLinkedList(); + LinkedList configurationProperties = newLinkedList(); if (loadedAll) { Enumeration urls = this.classLoader.getResources(this.resourceName); while (urls.hasMoreElements()) { diff --git a/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyLoader.java b/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyLoader.java index 1150781b8..101f80828 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyLoader.java +++ b/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyLoader.java @@ -90,7 +90,7 @@ public interface ConfigurationPropertyLoader extends Prioritized { static List loadAll() { Logger logger = getLogger(ConfigurationPropertyLoader.class); List loaders = loadServicesList(ConfigurationPropertyLoader.class); - List configurationProperties = newLinkedList(); + LinkedList configurationProperties = newLinkedList(); for (ConfigurationPropertyLoader loader : loaders) { try { List loadedProperties = loader.load(); diff --git a/microsphere-java-core/src/main/java/io/microsphere/metadata/DefaultConfigurationPropertyReader.java b/microsphere-java-core/src/main/java/io/microsphere/metadata/DefaultConfigurationPropertyReader.java index b087e462a..1b091f13d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/metadata/DefaultConfigurationPropertyReader.java +++ b/microsphere-java-core/src/main/java/io/microsphere/metadata/DefaultConfigurationPropertyReader.java @@ -41,7 +41,7 @@ public class DefaultConfigurationPropertyReader implements ConfigurationProperty public List read(String content) throws Throwable { List> configurationPropertiesMaps = readValues(content, List.class, Map.class); int size = configurationPropertiesMaps.size(); - List configurationProperties = newArrayList(size); + ArrayList configurationProperties = newArrayList(size); for (int i = 0; i < size; i++) { Map configurationPropertyMap = configurationPropertiesMaps.get(i); ConfigurationProperty configurationProperty = readConfigurationProperty(configurationPropertyMap); diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/CompositeSubProtocolURLConnectionFactory.java b/microsphere-java-core/src/main/java/io/microsphere/net/CompositeSubProtocolURLConnectionFactory.java index b9fe07d96..35c3a5705 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/CompositeSubProtocolURLConnectionFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/CompositeSubProtocolURLConnectionFactory.java @@ -81,7 +81,7 @@ public CompositeSubProtocolURLConnectionFactory() { } public CompositeSubProtocolURLConnectionFactory(Iterable factories) { - List newFactories = newLinkedList(factories); + LinkedList newFactories = newLinkedList(factories); this.factories = newFactories; sortFactories(); } diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/CompositeURLStreamHandlerFactory.java b/microsphere-java-core/src/main/java/io/microsphere/net/CompositeURLStreamHandlerFactory.java index 496eac316..5168ad791 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/CompositeURLStreamHandlerFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/CompositeURLStreamHandlerFactory.java @@ -65,7 +65,7 @@ public CompositeURLStreamHandlerFactory(Collection fact } public CompositeURLStreamHandlerFactory(Iterable factories) { - List newFactories = newLinkedList(factories); + LinkedList newFactories = newLinkedList(factories); sortFactories(newFactories); this.factories = newFactories; } diff --git a/microsphere-java-core/src/main/java/io/microsphere/process/ProcessManager.java b/microsphere-java-core/src/main/java/io/microsphere/process/ProcessManager.java index 412fa0e45..e0a03562d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/process/ProcessManager.java +++ b/microsphere-java-core/src/main/java/io/microsphere/process/ProcessManager.java @@ -44,7 +44,7 @@ public class ProcessManager { */ public static final ProcessManager INSTANCE = new ProcessManager(); - final ConcurrentMap unfinishedProcessesCache = newConcurrentHashMap(); + final ConcurrentHashMap unfinishedProcessesCache = newConcurrentHashMap(); private ProcessManager() { } diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/FieldUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/FieldUtils.java index cf33a4876..275e8fe81 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/FieldUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/FieldUtils.java @@ -301,7 +301,7 @@ public static V setStaticFieldValue(Class klass, String fieldName, V fiel @Nonnull @Immutable public static Set findAllFields(Class declaredClass, Predicate... fieldFilters) { - Set allFields = newLinkedHashSet(); + LinkedHashSet allFields = newLinkedHashSet(); addAll(allFields, declaredClass.getFields()); for (Class superType : getAllInheritedTypes(declaredClass)) { addAll(allFields, superType.getFields()); @@ -342,7 +342,7 @@ public static Set findAllFields(Class declaredClass, Predicate findAllDeclaredFields(Class declaredClass, Predicate... fieldFilters) { - Set allDeclaredFields = newLinkedHashSet(); + LinkedHashSet allDeclaredFields = newLinkedHashSet(); addAll(allDeclaredFields, declaredClass.getDeclaredFields()); for (Class superType : getAllInheritedTypes(declaredClass)) { addAll(allDeclaredFields, superType.getDeclaredFields()); diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/MethodUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/MethodUtils.java index c7d296577..f7870a141 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/MethodUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/MethodUtils.java @@ -567,7 +567,7 @@ public static List findMethods(Class targetClass, boolean includeInhe } // All methods - List allMethods = new LinkedList<>(); + LinkedList allMethods = new LinkedList<>(); if (includeInheritedTypes) { while (targetClass != null) { diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/ReflectionUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/ReflectionUtils.java index 716b89093..95d287a08 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/ReflectionUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/ReflectionUtils.java @@ -374,7 +374,7 @@ static String getCallerClassNameInSunReflectReflection() { @Nonnull public static List toList(Object array) throws IllegalArgumentException { int length = getLength(array); - List list = new ArrayList<>(length); + ArrayList list = new ArrayList<>(length); for (int i = 0; i < length; i++) { Object element = get(array, i); list.add((T) toObject(element)); @@ -442,7 +442,7 @@ public static Map readFieldsAsMap(Object object) { } Class type = object.getClass(); Field[] fields = type.getDeclaredFields(); - Map fieldsAsMap = newLinkedHashMap(fields.length); + LinkedHashMap fieldsAsMap = newLinkedHashMap(fields.length); for (Field field : fields) { if (isStatic(field)) { // To filter static fields diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/TypeUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/TypeUtils.java index 47f143b89..e53a79447 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/TypeUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/TypeUtils.java @@ -633,7 +633,7 @@ static List doResolveActualTypeArgumentsInFastPath(Type type) { if (pType != null) { Type[] actualTypeArguments = pType.getActualTypeArguments(); int actualTypeArgumentsLength = actualTypeArguments.length; - List actualTypeArgumentsList = newArrayList(actualTypeArgumentsLength); + ArrayList actualTypeArgumentsList = newArrayList(actualTypeArgumentsLength); for (int i = 0; i < actualTypeArgumentsLength; i++) { Type actualTypeArgument = actualTypeArguments[i]; if (isActualType(actualTypeArgument)) { @@ -652,7 +652,7 @@ private static Map resolveTypeArgumentsMap(Type type, Lis int size = hierarchicalTypesSize + 1; - Map typeArgumentsMap = newLinkedHashMap(size); + LinkedHashMap typeArgumentsMap = newLinkedHashMap(size); for (int i = hierarchicalTypesSize - 1; i > -1; i--) { Type hierarchicalType = hierarchicalTypes.get(i); @@ -1196,7 +1196,7 @@ public static List resolveTypeArguments(Class targetClass) { if (targetClass == null || targetClass.isPrimitive() || targetClass.isArray()) { return emptyList(); } - List typeArguments = newLinkedList(); + LinkedList typeArguments = newLinkedList(); while (targetClass != Object.class) { typeArguments.addAll(resolveTypeArguments(targetClass.getGenericSuperclass())); typeArguments.addAll(resolveTypeArguments(targetClass.getGenericInterfaces())); @@ -1210,7 +1210,7 @@ protected static List resolveTypeArguments(Type... types) { if (length < 1) { return emptyList(); } - List typeArguments = newLinkedList(); + LinkedList typeArguments = newLinkedList(); for (int i = 0; i < length; i++) { typeArguments.addAll(getActualTypeArguments(types[i])); } diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/AnnotationUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/AnnotationUtils.java index 2c6b012b9..86c663ae9 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/AnnotationUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/AnnotationUtils.java @@ -853,7 +853,7 @@ public static List findAllDeclaredAnnotations(Class type, Predica return emptyList(); } - List allAnnotations = new LinkedList<>(); + LinkedList allAnnotations = new LinkedList<>(); List> allInheritedClasses = findAllInheritedClasses(type, NON_OBJECT_CLASS_FILTER); // Add the declared annotations @@ -1812,7 +1812,7 @@ public static A findMetaAnnotation(AnnotatedElement annot @Nonnull @Immutable public static List findMetaAnnotations(AnnotatedElement annotatedElement, Class metaAnnotationType) { - List annotations = newLinkedList(); + LinkedList annotations = newLinkedList(); findMetaAnnotations(annotatedElement, metaAnnotationType, annotations); return unmodifiableList(annotations); } diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ClassLoaderUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ClassLoaderUtils.java index faf114871..02b59155b 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ClassLoaderUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ClassLoaderUtils.java @@ -390,7 +390,7 @@ public static Set> findLoadedClasses(@Nullable ClassLoader classLoader, if (size < 1) { return emptySet(); } - Set> loadedClasses = newLinkedHashSet(size); + LinkedHashSet> loadedClasses = newLinkedHashSet(size); for (String className : classNames) { Class class_ = findLoadedClass(classLoader, className); if (class_ != null) { @@ -1089,7 +1089,7 @@ public static Set getInheritableClassLoaders(@Nullable ClassLoader */ @Nonnull static Set doGetInheritableClassLoaders(ClassLoader classLoader) throws NullPointerException { - Set classLoadersSet = newLinkedHashSet(); + LinkedHashSet classLoadersSet = newLinkedHashSet(); classLoadersSet.add(classLoader); ClassLoader parentClassLoader = classLoader.getParent(); while (parentClassLoader != null) { @@ -1136,7 +1136,7 @@ static Set doGetInheritableClassLoaders(ClassLoader classLoader) th @Immutable public static Map>> getAllLoadedClassesMap(@Nullable ClassLoader classLoader) throws UnsupportedOperationException { ClassLoader actualClassLoader = nullSafeClassLoader(classLoader); - Map>> allLoadedClassesMap = new LinkedHashMap(); + LinkedHashMap>> allLoadedClassesMap = new LinkedHashMap(); Set classLoadersSet = doGetInheritableClassLoaders(actualClassLoader); for (ClassLoader loader : classLoadersSet) { allLoadedClassesMap.put(loader, getLoadedClasses(actualClassLoader)); @@ -1175,7 +1175,7 @@ public static Map>> getAllLoadedClassesMap(@Nullable C @Nonnull @Immutable public static Set> getAllLoadedClasses(@Nullable ClassLoader classLoader) throws UnsupportedOperationException { - Set> allLoadedClassesSet = newLinkedHashSet(); + LinkedHashSet> allLoadedClassesSet = newLinkedHashSet(); Map>> allLoadedClassesMap = getAllLoadedClassesMap(classLoader); for (Set> loadedClassesSet : allLoadedClassesMap.values()) { allLoadedClassesSet.addAll(loadedClassesSet); @@ -1297,7 +1297,7 @@ public static Set> findLoadedClassesInClassPath(@Nullable ClassLoader c @Nonnull @Immutable public static Set> findLoadedClassesInClassPaths(@Nullable ClassLoader classLoader, Set classPaths) throws UnsupportedOperationException { - Set> loadedClasses = newLinkedHashSet(); + LinkedHashSet> loadedClasses = newLinkedHashSet(); for (String classPath : classPaths) { loadedClasses.addAll(findLoadedClassesInClassPath(classLoader, classPath)); } @@ -1549,7 +1549,7 @@ public static Class resolveClass(@Nullable String className, @Nullable ClassL public static Set findAllClassPathURLs(@Nullable ClassLoader classLoader) { ClassLoader actualClassLoader = nullSafeClassLoader(classLoader); - Set allClassPathURLs = newLinkedHashSet(); + LinkedHashSet allClassPathURLs = newLinkedHashSet(); URL[] classPathURLs = urlClassPathHandle.getURLs(actualClassLoader); diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ClassUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ClassUtils.java index 86d22a079..ca4a50fc1 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ClassUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ClassUtils.java @@ -1214,7 +1214,7 @@ public static Set findClassNamesInDirectory(@Nullable File classesDirect return emptySet(); } - Set classNames = newLinkedHashSet(); + LinkedHashSet classNames = newLinkedHashSet(); for (File classFile : classFiles) { String className = resolveClassName(classesDirectory, classFile); diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ServiceLoaderUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ServiceLoaderUtils.java index cfc5085ea..592b83cb8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ServiceLoaderUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ServiceLoaderUtils.java @@ -883,7 +883,7 @@ static List loadServicesAsList(Class serviceType, @Nullable ClassLoade throw new IllegalArgumentException(message); } - List serviceList = newLinkedList(iterator); + LinkedList serviceList = newLinkedList(iterator); sort(serviceList, COMPARATOR); @@ -891,7 +891,7 @@ static List loadServicesAsList(Class serviceType, @Nullable ClassLoade } static Set doGetServiceClassNames(Class serviceType, @Nullable ClassLoader classLoader) { - Set serviceClassNames = newLinkedHashSet(); + LinkedHashSet serviceClassNames = newLinkedHashSet(); execute(() -> { Set serviceResoources = getServiceResoources(serviceType, classLoader); for (URL serviceResoource : serviceResoources) { diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/StringUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/StringUtils.java index 9d630c40b..7eab0b264 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/StringUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/StringUtils.java @@ -170,7 +170,7 @@ public static String[] split(@Nullable String value, @Nullable String delimiter) int delimiterLength = delimiter.length(); - List result = new ArrayList<>(); + ArrayList result = new ArrayList<>(); if (delimiterLength == 0) { for (int i = 0; i < length; i++) { diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/TypeFinder.java b/microsphere-java-core/src/main/java/io/microsphere/util/TypeFinder.java index dad5f0e15..e911bcaa6 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/TypeFinder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/TypeFinder.java @@ -205,7 +205,7 @@ public List findTypes(Predicate... typeFilters) { */ protected List doFindTypes(Predicate[] typeFilters) { - List allTypes = newLinkedList(); + LinkedList allTypes = newLinkedList(); if (includeSelf) { // add self @@ -258,7 +258,7 @@ protected List getSuperTypes(T type, boolean includeSuperclass, boolean inclu return emptyList(); } - List types = newArrayList(size); + ArrayList types = newArrayList(size); if (hasSuperclass) { types.add(superclass); diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/jar/JarUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/jar/JarUtils.java index abd7ccf82..8012a42e2 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/jar/JarUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/jar/JarUtils.java @@ -215,7 +215,7 @@ public static List filter(JarFile jarFile, JarEntryFilter jarEntryFilt @Nonnull @Immutable protected static List doFilter(Iterable jarEntries, JarEntryFilter jarEntryFilter) { - List jarEntriesList = new LinkedList<>(); + LinkedList jarEntriesList = new LinkedList<>(); for (JarEntry jarEntry : jarEntries) { if (jarEntryFilter == null || jarEntryFilter.accept(jarEntry)) { jarEntriesList.add(jarEntry); diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/CollectionUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/CollectionUtilsTest.java index cfe3a7a38..c8384328a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/CollectionUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/CollectionUtilsTest.java @@ -208,14 +208,14 @@ void testEquals() { @Test void testAddAllWithList() { - List values = newLinkedList(); + LinkedList values = newLinkedList(); assertEquals(2, addAll(values, "A", "B")); assertEquals(ofList("A", "B"), values); } @Test void testAddAllWithSet() { - Set set = newHashSet(TEST_ELEMENT); + HashSet set = newHashSet(TEST_ELEMENT); assertEquals(0, addAll(set, TEST_ELEMENT)); } @@ -232,13 +232,13 @@ void testAddAllWithNullCollection() { @Test public void testAddAllWithListAndIterable() { - List values = newLinkedList(); + LinkedList values = newLinkedList(); assertEquals(2, addAll(values, ofList("A", "B"))); } @Test public void testAddAllWithSetAndIterable() { - Set set = newHashSet(TEST_ELEMENT); + HashSet set = newHashSet(TEST_ELEMENT); assertEquals(0, addAll(set, set)); } diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/ListUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/ListUtilsTest.java index 25f5641ea..bcf473d6e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/ListUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/ListUtilsTest.java @@ -168,7 +168,7 @@ void testNewArrayListWithCollection() { @Test void testNewArrayListWithSet() { - Set source = new HashSet<>(asList("A", "B", "C")); + HashSet source = new HashSet<>(asList("A", "B", "C")); ArrayList list = newArrayList(source); assertEquals(3, list.size()); assertTrue(list.contains("A")); @@ -188,7 +188,7 @@ void testNewLinkedListWithCollection() { @Test void testNewLinkedListWithSet() { - Set source = new HashSet<>(asList("A", "B", "C")); + HashSet source = new HashSet<>(asList("A", "B", "C")); LinkedList list = newLinkedList(source); assertEquals(3, list.size()); assertTrue(list.contains("A")); @@ -250,7 +250,7 @@ void testForEach() { @Test void testAddIfAbsent() { - List values = newArrayList(); + ArrayList values = newArrayList(); assertTrue(addIfAbsent(values, "A")); assertFalse(addIfAbsent(values, "A")); assertTrue(addIfAbsent(values, "B")); diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/MapUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/MapUtilsTest.java index 0fd9d76a8..31013472d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/MapUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/MapUtilsTest.java @@ -382,7 +382,7 @@ void testFlattenMap() { @Test void testNestedMap() { - Map map = newLinkedHashMap(); + LinkedHashMap map = newLinkedHashMap(); map.put("a.b.1", "1"); map.put("a.b.2", "2"); map.put("d.e.f.1", "1"); diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/QueueUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/QueueUtilsTest.java index d165f05aa..acf098736 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/QueueUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/QueueUtilsTest.java @@ -228,19 +228,19 @@ void testOfQueue() { @Test void testNewArrayDeque() { - Deque deque = newArrayDeque(); + ArrayDeque deque = newArrayDeque(); assertNotNull(deque); } @Test void testNewArrayDequeWithCapacity() { - Deque deque = newArrayDeque(10); + ArrayDeque deque = newArrayDeque(10); assertNotNull(deque); } @Test void testNewArrayDequeWithElements() { - Deque deque = newArrayDeque("a", "b", "c"); + ArrayDeque deque = newArrayDeque("a", "b", "c"); assertNotNull(deque); assertEquals(3, deque.size()); assertTrue(deque.containsAll(asList("a", "b", "c"))); @@ -258,7 +258,7 @@ void testNewArrayDequeWithCollection() { @Test void testNewArrayDequeWithSet() { - Collection source = new HashSet<>(asList("a", "b", "c")); + HashSet source = new HashSet<>(asList("a", "b", "c")); ArrayDeque deque = newArrayDeque(source); assertNotNull(deque); assertEquals(3, deque.size()); diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/ReversedDequeTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/ReversedDequeTest.java index 93e7043b7..a725bfcb8 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/ReversedDequeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/ReversedDequeTest.java @@ -39,7 +39,7 @@ class ReversedDequeTest extends MutableDequeTest> { @Override protected Deque newInstance() { - Deque reversedDeque = of(of(new LinkedList<>())); + LinkedList reversedDeque = of(of(new LinkedList<>())); return reversedDeque; } diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/SetUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/SetUtilsTest.java index 28ff505ca..a3ea2f1b3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/SetUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/SetUtilsTest.java @@ -67,7 +67,7 @@ void testOfSet() { assertEquals(emptySet(), set); set = ofSet("A", "B", "C"); - Set expectedSet = newLinkedHashSet(); + LinkedHashSet expectedSet = newLinkedHashSet(); expectedSet.add("A"); expectedSet.add("B"); expectedSet.add("C"); @@ -125,7 +125,7 @@ void testNewHashSet() { assertEquals(iterable, newHashSet(iterable)); iterable = newHashSet(ELEMENTS); - Collection elements = newHashSet(iterable); + HashSet elements = newHashSet(iterable); assertEquals(iterable, newHashSet(iterable)); assertEquals(iterable, newHashSet(elements)); assertSet((Set) iterable); @@ -186,7 +186,7 @@ void testNewTreeSetWithComparator() { @Test void testNewTreeSetWithCollection() { - Set sourceSet = newHashSet(ELEMENTS); + HashSet sourceSet = newHashSet(ELEMENTS); TreeSet set = newTreeSet(sourceSet); assertEquals(3, set.size()); assertTrue(set.contains("a")); @@ -201,7 +201,7 @@ void testNewTreeSetWithCollection() { @Test void testNewTreeSetWithSortedSet() { - SortedSet sourceSortedSet = new TreeSet<>(java.util.Arrays.asList("z", "y", "x")); + TreeSet sourceSortedSet = new TreeSet<>(java.util.Arrays.asList("z", "y", "x")); TreeSet set = newTreeSet(sourceSortedSet); assertEquals(3, set.size()); assertTrue(set.contains("x")); diff --git a/microsphere-java-core/src/test/java/io/microsphere/concurrent/DelegatingBlockingQueueTest.java b/microsphere-java-core/src/test/java/io/microsphere/concurrent/DelegatingBlockingQueueTest.java index 959874f39..1552f4c09 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/concurrent/DelegatingBlockingQueueTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/concurrent/DelegatingBlockingQueueTest.java @@ -137,7 +137,7 @@ void test() throws Throwable { queue.offer(1); queue.offer(2); queue.offer(3); - List values = newLinkedList(); + LinkedList values = newLinkedList(); assertEquals(3, queue.drainTo(values)); assertTrue(queue.isEmpty()); assertEquals(ofList(1, 2, 3), values); diff --git a/microsphere-java-core/src/test/java/io/microsphere/json/JSONObjectTest.java b/microsphere-java-core/src/test/java/io/microsphere/json/JSONObjectTest.java index ca1e33668..0af815a9e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/json/JSONObjectTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/json/JSONObjectTest.java @@ -73,7 +73,7 @@ void testConstructorWithMap() throws JSONException { @Test void testConstructorWithMapOnNullKey() { - Map map = newHashMap(); + HashMap map = newHashMap(); map.put(null, null); assertThrows(NullPointerException.class, () -> new JSONObject(map)); } @@ -516,7 +516,7 @@ void testWrap() throws JSONException { @Test void testWrapOnException() { - Map map = newHashMap(); + HashMap map = newHashMap(); map.put(null, null); assertNull(wrap(map)); } diff --git a/microsphere-java-core/src/test/java/io/microsphere/json/JSONUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/json/JSONUtilsTest.java index 6782353a8..eb44264e6 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/json/JSONUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/json/JSONUtilsTest.java @@ -572,7 +572,7 @@ void testReadValueAsBean() { @Test void testReadValueAsBeanOnMissingKey() throws JSONException { - Map map = newHashMap(); + HashMap map = newHashMap(); map.put("name", null); map.put("test-name", "test-value"); JSONObject jsonObject = new JSONObject(map); diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/AbstractExtendableProtocolURLStreamHandlerTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/AbstractExtendableProtocolURLStreamHandlerTest.java index 8afcfb369..1aaa0d6c6 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/AbstractExtendableProtocolURLStreamHandlerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/AbstractExtendableProtocolURLStreamHandlerTest.java @@ -86,7 +86,7 @@ final void testInit() { @Test final void testInitSubProtocolURLConnectionFactories() { List factories = emptyList(); - List copy = newLinkedList(factories); + LinkedList copy = newLinkedList(factories); handler.initSubProtocolURLConnectionFactories(copy); assertEquals(copy, factories); } diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/ExtendableProtocolURLStreamHandlerTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/ExtendableProtocolURLStreamHandlerTest.java index 5b6cdabcf..ea3591086 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/ExtendableProtocolURLStreamHandlerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/ExtendableProtocolURLStreamHandlerTest.java @@ -143,7 +143,7 @@ void testInit() { @Test void testInitSubProtocolURLConnectionFactories() { List factories = emptyList(); - List copy = newLinkedList(factories); + LinkedList copy = newLinkedList(factories); handler.initSubProtocolURLConnectionFactories(copy); assertEquals(copy, factories); } diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/URLUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/URLUtilsTest.java index 8191d91c9..07f63f271 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/URLUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/URLUtilsTest.java @@ -207,7 +207,7 @@ void testResolveArchiveFileOnNotFoundJar() { void testResolveQueryParameters() { String url = TEST_HTTP_WITH_QUERY_STRING; Map> parametersMap = resolveQueryParameters(url); - Map> expectedParametersMap = newLinkedHashMap(); + LinkedHashMap> expectedParametersMap = newLinkedHashMap(); expectedParametersMap.put("q", ofList("java")); expectedParametersMap.put("oq", ofList("java")); expectedParametersMap.put("sourceid", ofList("chrome")); @@ -231,7 +231,7 @@ void testResolveQueryParameters() { void testResolveMatrixParameters() { String url = TEST_HTTP_WITH_MATRIX_STRING; Map> parametersMap = resolveMatrixParameters(url); - Map> expectedParametersMap = newLinkedHashMap(); + LinkedHashMap> expectedParametersMap = newLinkedHashMap(); expectedParametersMap.put("q", ofList("java")); expectedParametersMap.put("oq", ofList("java")); expectedParametersMap.put("sourceid", ofList("chrome")); diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectionUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectionUtilsTest.java index 1ca004de5..f3e666d60 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectionUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectionUtilsTest.java @@ -118,7 +118,7 @@ void testReadFieldsAsMap() { map = readFieldsAsMap(asList(1, 2, 3, 4)); assertFalse(map.isEmpty()); - Map value = new HashMap(3); + HashMap value = new HashMap(3); value.put("a", "a"); value.put("b", "b"); value.put("c", "c"); diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ClassLoaderUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ClassLoaderUtilsTest.java index 4c65ce620..7dad76a24 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ClassLoaderUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ClassLoaderUtilsTest.java @@ -525,11 +525,11 @@ void testFindLoadedClassesInClassPath() { Set> classesSet = getAllLoadedClasses(classLoader); - Set> remainingClasses = new LinkedHashSet<>(allLoadedClasses); + LinkedHashSet> remainingClasses = new LinkedHashSet<>(allLoadedClasses); remainingClasses.addAll(classesSet); - Set> sortedClasses = new TreeSet(new ClassComparator()); + TreeSet> sortedClasses = new TreeSet(new ClassComparator()); sortedClasses.addAll(remainingClasses); log(sortedClasses); diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/TypeFinderTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/TypeFinderTest.java index 5f461ce59..ae3258bf4 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/TypeFinderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/TypeFinderTest.java @@ -232,7 +232,7 @@ void testGenericTypeGetInterfacesFunction() { @Test void testAddSuperTypes() { TypeFinder typeFinder = genericTypeFinder(String.class, values()); - List types = newArrayList(); + ArrayList types = newArrayList(); typeFinder.addSuperTypes(types, String.class, false, false, false); assertTrue(types.isEmpty()); diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/CompilerInvocationInterceptor.java b/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/CompilerInvocationInterceptor.java index b05a10afa..5a9d77af2 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/CompilerInvocationInterceptor.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/CompilerInvocationInterceptor.java @@ -44,7 +44,7 @@ class CompilerInvocationInterceptor implements InvocationInterceptor { @Override public void interceptTestMethod(Invocation invocation, ReflectiveInvocationContext invocationContext, ExtensionContext extensionContext) throws Throwable { - Set> compiledClassesSet = newLinkedHashSet(); + LinkedHashSet> compiledClassesSet = newLinkedHashSet(); AbstractAnnotationProcessingTest test = (AbstractAnnotationProcessingTest) invocationContext.getTarget().get(); Class testClass = extensionContext.getTestClass().get(); ClassLoader classLoader = testClass.getClassLoader(); @@ -56,7 +56,7 @@ public void interceptTestMethod(Invocation invocation, ReflectiveInvocatio Compiler compiler = new Compiler(); compiler.sourcePaths(compiledClasses); - List processors = new LinkedList<>(); + LinkedList processors = new LinkedList<>(); processors.add(new AnnotationProcessingTestProcessor(test, invocation, invocationContext, extensionContext)); // Loads the SPI instances of Processor ServiceLoader loadedProcessors = load(Processor.class, classLoader); diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/CollectionTypeModelTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/CollectionTypeModelTest.java index bcbb75256..6620715ce 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/CollectionTypeModelTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/CollectionTypeModelTest.java @@ -68,7 +68,7 @@ void testSetGetColors() { @Test void testSetGetPrimitiveTypeModels() { - Queue testQueue = new LinkedList<>(); + LinkedList testQueue = new LinkedList<>(); testQueue.add(new PrimitiveTypeModel()); testQueue.add(new PrimitiveTypeModel()); @@ -81,7 +81,7 @@ void testSetGetPrimitiveTypeModels() { @Test void testSetGetModels() { - Deque testDeque = new LinkedList<>(); + LinkedList testDeque = new LinkedList<>(); testDeque.add(new Model()); testDeque.add(new Model()); @@ -94,7 +94,7 @@ void testSetGetModels() { @Test void testSetGetModelArrays() { - Set testSet = newHashSet(); + HashSet testSet = newHashSet(); testSet.add(new Model[]{new Model(), new Model()}); testSet.add(new Model[]{new Model()}); @@ -126,7 +126,7 @@ void testSetNullValues() { @Test void testCollectionMutability() { - List originalList = new ArrayList<>(asList(RED, BLUE)); + ArrayList originalList = new ArrayList<>(asList(RED, BLUE)); model.setColors(originalList); // Modify the original collection diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/MapTypeModelTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/MapTypeModelTest.java index 510650bb8..89105740d 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/MapTypeModelTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/MapTypeModelTest.java @@ -42,7 +42,7 @@ void testDefaultValues() { @Test void testSetGetStrings() { - Map testMap = newHashMap(); + HashMap testMap = newHashMap(); testMap.put("key1", "value1"); testMap.put("key2", "value2"); @@ -55,7 +55,7 @@ void testSetGetStrings() { @Test void testSetGetColors() { - SortedMap testMap = newTreeMap(); + TreeMap testMap = newTreeMap(); testMap.put("red_key", RED); testMap.put("blue_key", BLUE); @@ -68,7 +68,7 @@ void testSetGetColors() { @Test void testSetGetPrimitiveTypeModels() { - NavigableMap testMap = newTreeMap(); + TreeMap testMap = newTreeMap(); testMap.put(RED, new PrimitiveTypeModel()); testMap.put(BLUE, new PrimitiveTypeModel()); @@ -126,7 +126,7 @@ void testSetNullValues() { @Test void testMapMutability() { - Map originalMap = newHashMap(); + HashMap originalMap = newHashMap(); originalMap.put("initial", "value"); model.setStrings(originalMap); diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitorTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitorTest.java index f8cd5a698..d6a12e667 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitorTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitorTest.java @@ -182,7 +182,7 @@ void testVisitEnumConstant() { void testVisitAnnotation() { String attributeName = "since"; - Map attributesMap = newLinkedHashMap(); + LinkedHashMap attributesMap = newLinkedHashMap(); attributesMap.put("module", ""); attributesMap.put("value", "1.0.0"); From 74952b7f72d22eec731b2c418a1364cd5de674e3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 30 May 2026 04:19:20 +0000 Subject: [PATCH 2/6] Refactor: Add missing collection factory method cases (newFixedLinkedHashSet, newFixedHashSet, newFixedLinkedHashMap, newFixedHashMap) - Changed Set<> to LinkedHashSet<> where assigned with newFixedLinkedHashSet() - Changed Set<> to HashSet<> where assigned with newFixedHashSet() - Changed Map<> to LinkedHashMap<> where assigned with newFixedLinkedHashMap() - Changed Map<> to HashMap<> where assigned with newFixedHashMap() - Refactored 12 additional Java files with these factory methods" --- .../src/main/java/io/microsphere/beans/BeanMetadata.java | 2 +- .../src/main/java/io/microsphere/beans/BeanUtils.java | 6 +++--- .../src/main/java/io/microsphere/collection/MapUtils.java | 4 ++-- .../src/main/java/io/microsphere/collection/SetUtils.java | 4 ++-- .../src/main/java/io/microsphere/json/JSONUtils.java | 4 ++-- .../src/main/java/io/microsphere/management/JmxUtils.java | 2 +- .../src/main/java/io/microsphere/net/URLUtils.java | 2 +- .../src/main/java/io/microsphere/util/ClassUtils.java | 8 ++++---- .../main/java/io/microsphere/util/ServiceLoaderUtils.java | 2 +- .../test/java/io/microsphere/collection/SetUtilsTest.java | 4 ++-- .../io/microsphere/lang/model/util/AnnotationUtils.java | 4 ++-- .../lang/model/util/ResolvableAnnotationValueVisitor.java | 2 +- 12 files changed, 22 insertions(+), 22 deletions(-) diff --git a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanMetadata.java b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanMetadata.java index 7397e4406..2d32c37e6 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanMetadata.java +++ b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanMetadata.java @@ -64,7 +64,7 @@ protected BeanMetadata(BeanInfo beanInfo) { static Map buildPropertyDescriptorsMap(BeanInfo beanInfo) { PropertyDescriptor[] propertyDescriptors = beanInfo.getPropertyDescriptors(); int length = propertyDescriptors.length; - Map propertyDescriptorsMap = newFixedHashMap(length); + HashMap propertyDescriptorsMap = newFixedHashMap(length); for (int i = 0; i < length; i++) { PropertyDescriptor propertyDescriptor = propertyDescriptors[i]; String propertyName = uncapitalize(propertyDescriptor.getName()); diff --git a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java index c6a21896b..cb1439ae6 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java @@ -452,7 +452,7 @@ protected static Map resolvePropertiesAsMap(Object bean, Mutable Class beanClass = bean.getClass(); BeanMetadata beanMetadata = getBeanMetadata(beanClass); Map propertyDescriptorsMap = beanMetadata.getPropertyDescriptorsMap(); - Map propertiesMap = newFixedHashMap(propertyDescriptorsMap.size()); + HashMap propertiesMap = newFixedHashMap(propertyDescriptorsMap.size()); for (Map.Entry entry : propertyDescriptorsMap.entrySet()) { String propertyName = entry.getKey(); PropertyDescriptor propertyDescriptor = entry.getValue(); @@ -524,7 +524,7 @@ static List toList(Object value, Class valueType, MutableInteger resolvedD static Set toSet(Object value, Class valueType, MutableInteger resolvedDepth, int maxResolvedDepth) { Set set = (Set) value; - Set newSet = newFixedLinkedHashSet(size(set)); + LinkedHashSet newSet = newFixedLinkedHashSet(size(set)); addValues(newSet, set, resolvedDepth, maxResolvedDepth); return newSet; } @@ -545,7 +545,7 @@ static Enumeration toEnumeration(Object value, Class valueType, MutableInt static Object toMap(Object value, Class valueType, MutableInteger resolvedDepth, int maxResolvedDepth) { Map map = (Map) value; - Map newMap = newFixedLinkedHashMap(size(map)); + LinkedHashMap newMap = newFixedLinkedHashMap(size(map)); for (Map.Entry entry : map.entrySet()) { newMap.put(entry.getKey(), resolveProperty(entry.getValue(), resolvedDepth, maxResolvedDepth)); } diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java index 901348bb7..7a5c0c479 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java @@ -389,7 +389,7 @@ public static Map of(Map.Entry... entries if (length < 1) { return emptyMap(); } - Map map = newFixedLinkedHashMap(length); + LinkedHashMap map = newFixedLinkedHashMap(length); for (int i = 0; i < length; i++) { Map.Entry entry = entries[i]; map.put(entry.getKey(), entry.getValue()); @@ -1039,7 +1039,7 @@ public static Map toFixedMap(Collection values, return emptyMap(); } - Map fixedMap = newFixedLinkedHashMap(size); + LinkedHashMap fixedMap = newFixedLinkedHashMap(size); for (E value : values) { Map.Entry entry = entryMapper.apply(value); diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java index d20def4c8..f576a28f4 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java @@ -158,7 +158,7 @@ public static Set ofSet(E... elements) { return singleton(elements[0]); } - Set set = newFixedLinkedHashSet(size); + LinkedHashSet set = newFixedLinkedHashSet(size); for (int i = 0; i < size; i++) { set.add(elements[i]); @@ -303,7 +303,7 @@ public static Set ofSet(Collection elements, T... others) { int size = valuesSize + othersSize; - Set set = newFixedLinkedHashSet(size); + LinkedHashSet set = newFixedLinkedHashSet(size); // add elements set.addAll(elements); diff --git a/microsphere-java-core/src/main/java/io/microsphere/json/JSONUtils.java b/microsphere-java-core/src/main/java/io/microsphere/json/JSONUtils.java index 2e4d9676c..225c01451 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/json/JSONUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/json/JSONUtils.java @@ -942,7 +942,7 @@ public static V readValue(JSONObject jsonObject, Class targetType) { * @see JSONObject */ public static Map readValueAsMap(JSONObject jsonObject) { - Map map = newFixedLinkedHashMap(jsonObject.length()); + LinkedHashMap map = newFixedLinkedHashMap(jsonObject.length()); Iterator iterator = jsonObject.keys(); while (iterator.hasNext()) { String key = iterator.next(); @@ -1456,7 +1456,7 @@ static Queue toQueue(JSONArray jsonArray, Class elementClass) { static Set toSet(JSONArray jsonArray, Class elementClass) { int length = jsonArray.length(); - Set sets = newFixedLinkedHashSet(length); + LinkedHashSet sets = newFixedLinkedHashSet(length); addValues(jsonArray, sets, elementClass); return sets; } diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/JmxUtils.java b/microsphere-java-core/src/main/java/io/microsphere/management/JmxUtils.java index 8ed3e028e..5f2d1cc5c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/JmxUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/JmxUtils.java @@ -596,7 +596,7 @@ public static Descriptor descriptorForElement(AnnotatedElement annotatedElement) public static Descriptor descriptorForAnnotations(Annotation[] annotations) { int length = length(annotations); if (length > 0) { - Map descriptorMap = newFixedHashMap(length); + HashMap descriptorMap = newFixedHashMap(length); for (int i = 0; i < length; i++) { Annotation annotation = annotations[i]; Class annotationType = annotation.annotationType(); diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/URLUtils.java b/microsphere-java-core/src/main/java/io/microsphere/net/URLUtils.java index c1b98258d..72761d885 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/URLUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/URLUtils.java @@ -1668,7 +1668,7 @@ protected static Map> resolveParameters(String paramsString return emptyMap(); } - Map> parametersMap = newFixedLinkedHashMap(paramsLen); + LinkedHashMap> parametersMap = newFixedLinkedHashMap(paramsLen); for (int i = 0; i < paramsLen; i++) { String param = params[i]; diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ClassUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ClassUtils.java index ca4a50fc1..2f763bf96 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ClassUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ClassUtils.java @@ -223,7 +223,7 @@ public abstract class ClassUtils implements Utils { Date.class, Object.class); - Set> simpleTypes = newFixedLinkedHashSet(WRAPPER_TYPES_ARRAY.length + otherSimpleTypes.length); + LinkedHashSet> simpleTypes = newFixedLinkedHashSet(WRAPPER_TYPES_ARRAY.length + otherSimpleTypes.length); addAll(simpleTypes, WRAPPER_TYPES_ARRAY); addAll(simpleTypes, otherSimpleTypes); @@ -239,7 +239,7 @@ public abstract class ClassUtils implements Utils { static { int size = WRAPPER_TYPES_ARRAY.length; - Map, Class> wrapperToPrimitiveTypesMap = newFixedLinkedHashMap(size); + LinkedHashMap, Class> wrapperToPrimitiveTypesMap = newFixedLinkedHashMap(size); for (int i = 0; i < size; i++) { Class wrapperType = WRAPPER_TYPES_ARRAY[i]; @@ -259,7 +259,7 @@ public abstract class ClassUtils implements Utils { static { int size = PRIMITIVE_TYPES_ARRAY.length; - Map, Class> primitiveToWrapperTypesMap = newFixedLinkedHashMap(size); + LinkedHashMap, Class> primitiveToWrapperTypesMap = newFixedLinkedHashMap(size); for (int i = 0; i < size; i++) { Class primitiveType = PRIMITIVE_TYPES_ARRAY[i]; @@ -278,7 +278,7 @@ public abstract class ClassUtils implements Utils { private static final Map> NAME_TO_TYPE_PRIMITIVE_MAP; static { - Map> primitiveTypeNameMap = newFixedLinkedHashMap(PRIMITIVE_TYPES.size() + PRIMITIVE_ARRAY_TYPES.size()); + LinkedHashMap> primitiveTypeNameMap = newFixedLinkedHashMap(PRIMITIVE_TYPES.size() + PRIMITIVE_ARRAY_TYPES.size()); PRIMITIVE_TYPES.forEach(type -> { primitiveTypeNameMap.put(type.getName(), type); diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ServiceLoaderUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ServiceLoaderUtils.java index 592b83cb8..6282afb0f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ServiceLoaderUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ServiceLoaderUtils.java @@ -259,7 +259,7 @@ public static Set> getServiceClasses(Class serviceType, @Nullabl @Immutable public static Set> getServiceClasses(Class serviceType, @Nullable ClassLoader classLoader, boolean failFast) { Set serviceClassNames = doGetServiceClassNames(serviceType, classLoader); - Set> serviceClasses = newFixedLinkedHashSet(serviceClassNames.size()); + LinkedHashSet> serviceClasses = newFixedLinkedHashSet(serviceClassNames.size()); for (String serviceClassName : serviceClassNames) { Class serviceClass = loadClass(classLoader, serviceClassName); if (serviceClass == null) { diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/SetUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/SetUtilsTest.java index a3ea2f1b3..547d463da 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/SetUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/SetUtilsTest.java @@ -146,7 +146,7 @@ void testNewLinkedHashSet() { @Test void testNewFixedHashSet() { - Set set = newFixedHashSet(3); + HashSet set = newFixedHashSet(3); set.add("a"); set.add("b"); set.add("c"); @@ -155,7 +155,7 @@ void testNewFixedHashSet() { @Test void testNewFixedLinkedHashSet() { - Set set = newFixedLinkedHashSet(3); + LinkedHashSet set = newFixedLinkedHashSet(3); set.add("a"); set.add("b"); set.add("c"); diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/AnnotationUtils.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/AnnotationUtils.java index fa8ebaad9..6925ab55d 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/AnnotationUtils.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/AnnotationUtils.java @@ -1317,7 +1317,7 @@ static Map getAttributesMap(AnnotationMirror annotation, boolean if (size < 1) { return emptyMap(); } - Map attributesMap = newFixedLinkedHashMap(size); + LinkedHashMap attributesMap = newFixedLinkedHashMap(size); for (Entry entry : attributes.entrySet()) { ExecutableElement attributeMethod = entry.getKey(); String attributeName = getAttributeName(attributeMethod); @@ -1512,7 +1512,7 @@ static Map getElementValues(AnnotationMirror DeclaredType annotationType = annotation.getAnnotationType(); List attributeMethods = getDeclaredMethods(annotationType); int size = attributeMethods.size(); - Map attributes = newFixedLinkedHashMap(size); + LinkedHashMap attributes = newFixedLinkedHashMap(size); Map elementValues = annotation.getElementValues(); for (int i = 0; i < size; i++) { ExecutableElement attributeMethod = attributeMethods.get(i); diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitor.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitor.java index fb3962cbb..b31cd1aad 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitor.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitor.java @@ -156,7 +156,7 @@ public Object visitEnumConstant(VariableElement c, ExecutableElement attributeMe @Override public Object visitAnnotation(AnnotationMirror a, ExecutableElement attributeMethod) { Map elementValues = getElementValues(a); - Map attributesMap = newFixedLinkedHashMap(elementValues.size()); + LinkedHashMap attributesMap = newFixedLinkedHashMap(elementValues.size()); for (Entry entry : elementValues.entrySet()) { ExecutableElement method = entry.getKey(); String attributeName = getAttributeName(method); From 6d120bf24490ec78e51697e6cfc75a27a082b146 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 30 May 2026 04:21:11 +0000 Subject: [PATCH 3/6] Fix: Revert class field changes and correct type mismatch in ReversedDequeTest - Reverted ProcessManager.unfinishedProcessesCache from ConcurrentHashMap to ConcurrentMap (class field should use interface type) - Reverted MBeanInfoBuilder fields from LinkedList to List (class fields should use interface types) - Corrected ReversedDequeTest.newInstance() return variable from LinkedList to Deque (the 'of()' method returns ReversedDeque, not LinkedList)" --- .../microsphere/management/builder/MBeanInfoBuilder.java | 8 ++++---- .../main/java/io/microsphere/process/ProcessManager.java | 2 +- .../java/io/microsphere/collection/ReversedDequeTest.java | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanInfoBuilder.java b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanInfoBuilder.java index 3d85597d3..ac61033d5 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanInfoBuilder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanInfoBuilder.java @@ -54,16 +54,16 @@ public class MBeanInfoBuilder extends MBeanDescribableBuilder String className; @Nullable - LinkedList attributeBuilders = new LinkedList<>(); + List attributeBuilders = new LinkedList<>(); @Nullable - LinkedList operationBuilders = new LinkedList<>(); + List operationBuilders = new LinkedList<>(); @Nullable - LinkedList constructorBuilders = new LinkedList<>(); + List constructorBuilders = new LinkedList<>(); @Nullable - LinkedList notificationBuilders = new LinkedList<>(); + List notificationBuilders = new LinkedList<>(); public MBeanInfoBuilder attribute(String attributeName, Class attributeType, Consumer builderConsumer) { MBeanAttributeInfoBuilder builder = MBeanAttributeInfoBuilder.attribute(attributeType).name(attributeName); diff --git a/microsphere-java-core/src/main/java/io/microsphere/process/ProcessManager.java b/microsphere-java-core/src/main/java/io/microsphere/process/ProcessManager.java index e0a03562d..412fa0e45 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/process/ProcessManager.java +++ b/microsphere-java-core/src/main/java/io/microsphere/process/ProcessManager.java @@ -44,7 +44,7 @@ public class ProcessManager { */ public static final ProcessManager INSTANCE = new ProcessManager(); - final ConcurrentHashMap unfinishedProcessesCache = newConcurrentHashMap(); + final ConcurrentMap unfinishedProcessesCache = newConcurrentHashMap(); private ProcessManager() { } diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/ReversedDequeTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/ReversedDequeTest.java index a725bfcb8..93e7043b7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/ReversedDequeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/ReversedDequeTest.java @@ -39,7 +39,7 @@ class ReversedDequeTest extends MutableDequeTest> { @Override protected Deque newInstance() { - LinkedList reversedDeque = of(of(new LinkedList<>())); + Deque reversedDeque = of(of(new LinkedList<>())); return reversedDeque; } From 11b98e245c0a0875492f54ee2af0ed245f95def6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 30 May 2026 04:28:56 +0000 Subject: [PATCH 4/6] Add missing collection type imports to refactored Java files - Added ArrayList import where ArrayList<> is used - Added HashMap import where HashMap<> is used - Added HashSet import where HashSet<> is used - Added LinkedList import where LinkedList<> is used - Added LinkedHashMap import where LinkedHashMap<> is used - Added LinkedHashSet import where LinkedHashSet<> is used - Added TreeMap import where TreeMap<> is used - Added TreeSet import where TreeSet<> is used - Added ArrayDeque import where ArrayDeque<> is used - Added ConcurrentHashMap import where ConcurrentHashMap<> is used - Cleaned up import section formatting across all Java files" --- ...figurationPropertyAnnotationProcessor.java | 2 -- ...nfigurationPropertyJSONElementVisitor.java | 2 -- .../annotation/processor/FilerProcessor.java | 2 -- .../processor/ResourceProcessor.java | 2 -- ...rationPropertyAnnotationProcessorTest.java | 1 - ...urationPropertyJSONElementVisitorTest.java | 2 -- .../processor/FilerProcessorTest.java | 2 -- .../processor/ResourceProcessorTest.java | 2 -- .../TestConfigurationPropertyLoader.java | 3 +- .../annotation/ConfigurationProperty.java | 1 - .../microsphere/annotation/Experimental.java | 1 - .../io/microsphere/annotation/Immutable.java | 1 - .../io/microsphere/annotation/Nonnull.java | 1 - .../io/microsphere/annotation/Nullable.java | 1 - .../java/io/microsphere/annotation/Since.java | 1 - .../annotation/concurrent/NotThreadSafe.java | 1 - .../annotation/concurrent/ThreadSafe.java | 1 - .../annotation/ConfigurationPropertyTest.java | 1 - .../annotation/ExperimentalTest.java | 1 - .../microsphere/annotation/ImmutableTest.java | 1 - .../microsphere/annotation/NonnullTest.java | 1 - .../microsphere/annotation/NullableTest.java | 1 - .../io/microsphere/annotation/SinceTest.java | 1 - .../io/microsphere/beans/BeanMetadata.java | 3 +- .../io/microsphere/beans/BeanProperty.java | 2 -- .../java/io/microsphere/beans/BeanUtils.java | 8 +++-- .../beans/ConfigurationProperty.java | 2 -- .../AbstractArtifactResourceResolver.java | 1 - .../AbstractURLClassPathHandle.java | 2 -- .../ArchiveFileArtifactResourceResolver.java | 1 - .../io/microsphere/classloading/Artifact.java | 2 -- .../classloading/ArtifactDetector.java | 3 +- .../ArtifactResourceResolver.java | 2 -- .../BannedArtifactClassLoadingExecutor.java | 2 -- .../ManifestArtifactResourceResolver.java | 2 -- .../classloading/MavenArtifact.java | 2 -- .../MavenArtifactResourceResolver.java | 1 - .../classloading/NoOpURLClassPathHandle.java | 1 - .../ServiceLoadingURLClassPathHandle.java | 1 - .../StreamArtifactResourceResolver.java | 2 -- .../classloading/URLClassPathHandle.java | 2 -- .../microsphere/collection/AbstractDeque.java | 2 +- .../collection/ArrayEnumeration.java | 1 - .../io/microsphere/collection/ArrayStack.java | 1 - .../collection/CollectionUtils.java | 3 +- .../microsphere/collection/DefaultEntry.java | 1 - .../collection/DelegatingDeque.java | 1 - .../collection/DelegatingIterator.java | 2 -- .../collection/DelegatingQueue.java | 2 -- .../io/microsphere/collection/EmptyDeque.java | 2 -- .../microsphere/collection/EmptyIterable.java | 1 - .../microsphere/collection/EmptyIterator.java | 2 -- .../EnumerationIteratorAdapter.java | 1 - .../collection/EnumerationUtils.java | 2 -- .../collection/ImmutableEntry.java | 2 -- .../collection/IterableAdapter.java | 1 - .../io/microsphere/collection/Iterators.java | 2 -- .../io/microsphere/collection/ListUtils.java | 3 +- .../java/io/microsphere/collection/Lists.java | 2 -- .../io/microsphere/collection/MapUtils.java | 3 +- .../java/io/microsphere/collection/Maps.java | 2 -- .../collection/PropertiesUtils.java | 3 +- .../io/microsphere/collection/QueueUtils.java | 5 +-- .../collection/ReadOnlyIterator.java | 2 -- .../microsphere/collection/ReversedDeque.java | 1 - .../io/microsphere/collection/SetUtils.java | 2 -- .../java/io/microsphere/collection/Sets.java | 2 -- .../collection/SingletonDeque.java | 2 -- .../collection/SingletonEnumeration.java | 2 -- .../collection/SingletonIterator.java | 2 -- .../collection/UnmodifiableDeque.java | 3 +- .../collection/UnmodifiableIterator.java | 2 -- .../collection/UnmodifiableQueue.java | 3 +- .../concurrent/CustomizedThreadFactory.java | 1 - .../concurrent/DelegatingBlockingQueue.java | 2 -- .../DelegatingScheduledExecutorService.java | 1 - .../microsphere/concurrent/ExecutorUtils.java | 2 -- .../microsphere/constants/FileConstants.java | 2 +- .../constants/ProtocolConstants.java | 2 +- .../constants/ResourceConstants.java | 1 - .../constants/SeparatorConstants.java | 1 - .../convert/AbstractConverter.java | 2 -- .../convert/ByteArrayToObjectConverter.java | 2 -- .../io/microsphere/convert/Converter.java | 1 - .../io/microsphere/convert/Converters.java | 4 +-- .../convert/MapToPropertiesConverter.java | 1 - .../convert/NumberToCharacterConverter.java | 2 +- .../convert/ObjectToBooleanConverter.java | 2 +- .../convert/ObjectToByteArrayConverter.java | 2 -- .../convert/ObjectToByteConverter.java | 2 +- .../convert/ObjectToCharacterConverter.java | 2 +- .../convert/ObjectToDoubleConverter.java | 2 +- .../convert/ObjectToFloatConverter.java | 2 +- .../convert/ObjectToIntegerConverter.java | 2 +- .../convert/ObjectToLongConverter.java | 2 +- .../convert/ObjectToOptionalConverter.java | 1 - .../convert/ObjectToShortConverter.java | 2 +- .../convert/PropertiesToStringConverter.java | 1 - .../convert/StringToBooleanConverter.java | 2 +- .../convert/StringToByteConverter.java | 2 +- .../convert/StringToCharacterConverter.java | 2 +- .../convert/StringToClassConverter.java | 2 +- .../convert/StringToDoubleConverter.java | 2 +- .../convert/StringToDurationConverter.java | 1 - .../convert/StringToFloatConverter.java | 2 +- .../convert/StringToInputStreamConverter.java | 2 -- .../convert/StringToIntegerConverter.java | 2 +- .../convert/StringToLongConverter.java | 2 +- .../convert/StringToShortConverter.java | 2 +- .../convert/StringToStringConverter.java | 2 +- .../convert/multiple/MultiValueConverter.java | 2 -- .../multiple/StringToArrayConverter.java | 1 - .../StringToBlockingDequeConverter.java | 1 - .../StringToBlockingQueueConverter.java | 1 - .../multiple/StringToCollectionConverter.java | 1 - .../multiple/StringToDequeConverter.java | 1 - .../multiple/StringToIterableConverter.java | 2 -- .../multiple/StringToListConverter.java | 1 - .../multiple/StringToMultiValueConverter.java | 2 +- .../StringToNavigableSetConverter.java | 1 - .../multiple/StringToQueueConverter.java | 1 - .../multiple/StringToSetConverter.java | 1 - .../multiple/StringToSortedSetConverter.java | 1 - .../StringToTransferQueueConverter.java | 1 - .../event/AbstractEventDispatcher.java | 2 -- .../event/DirectEventDispatcher.java | 1 - .../main/java/io/microsphere/event/Event.java | 1 - .../io/microsphere/event/EventDispatcher.java | 1 - .../io/microsphere/event/EventListener.java | 2 -- .../event/GenericEventListener.java | 3 +- .../java/io/microsphere/event/Listenable.java | 2 -- .../event/ParallelEventDispatcher.java | 1 - .../filter/ClassFileJarEntryFilter.java | 1 - .../java/io/microsphere/filter/Filter.java | 1 - .../io/microsphere/filter/FilterOperator.java | 2 +- .../io/microsphere/filter/FilterUtils.java | 2 -- .../io/microsphere/filter/JarEntryFilter.java | 1 - .../filter/PackageNameClassFilter.java | 2 +- .../filter/PackageNameClassNameFilter.java | 2 +- .../microsphere/invoke/MethodHandleUtils.java | 2 -- .../invoke/MethodHandlesLookupUtils.java | 2 -- .../microsphere/io/DefaultDeserializer.java | 1 - .../io/microsphere/io/DefaultSerializer.java | 1 - .../java/io/microsphere/io/Deserializer.java | 1 - .../java/io/microsphere/io/Deserializers.java | 2 -- .../io/FastByteArrayInputStream.java | 1 - .../io/FastByteArrayOutputStream.java | 1 - .../java/io/microsphere/io/FileUtils.java | 2 -- .../io/microsphere/io/FileWatchService.java | 2 -- .../main/java/io/microsphere/io/IOUtils.java | 2 -- .../java/io/microsphere/io/Serializer.java | 1 - .../java/io/microsphere/io/Serializers.java | 2 -- .../io/StandardFileWatchService.java | 2 -- .../microsphere/io/StringBuilderWriter.java | 1 - .../io/microsphere/io/StringDeserializer.java | 1 - .../io/microsphere/io/StringSerializer.java | 1 - .../io/event/FileChangedEvent.java | 2 -- .../io/event/FileChangedListener.java | 1 - .../io/event/LoggingFileChangedListener.java | 1 - .../io/filter/DirectoryFileFilter.java | 1 - .../io/filter/FileExtensionFilter.java | 2 -- .../microsphere/io/filter/IOFileFilter.java | 2 -- .../microsphere/io/filter/NameFileFilter.java | 1 - .../microsphere/io/filter/TrueFileFilter.java | 1 - .../io/microsphere/io/scanner/Scanner.java | 2 -- .../io/scanner/SimpleClassScanner.java | 2 -- .../io/scanner/SimpleFileScanner.java | 3 +- .../io/scanner/SimpleJarEntryScanner.java | 3 +- .../main/java/io/microsphere/json/JSON.java | 2 +- .../java/io/microsphere/json/JSONArray.java | 2 -- .../java/io/microsphere/json/JSONObject.java | 2 -- .../io/microsphere/json/JSONStringer.java | 1 - .../java/io/microsphere/json/JSONTokener.java | 2 +- .../java/io/microsphere/json/JSONUtils.java | 6 ++-- .../microsphere/lang/ClassDataRepository.java | 2 -- .../microsphere/lang/DelegatingWrapper.java | 2 +- .../java/io/microsphere/lang/Deprecation.java | 2 -- .../java/io/microsphere/lang/Prioritized.java | 2 +- .../microsphere/lang/function/Predicates.java | 2 -- .../io/microsphere/lang/function/Streams.java | 2 -- .../lang/function/ThrowableAction.java | 1 - .../lang/function/ThrowableBiConsumer.java | 1 - .../lang/function/ThrowableBiFunction.java | 1 - .../lang/function/ThrowableConsumer.java | 1 - .../lang/function/ThrowableFunction.java | 1 - .../lang/function/ThrowableSupplier.java | 1 - .../microsphere/logging/AbstractLogger.java | 1 - .../microsphere/logging/JDKLoggerFactory.java | 2 -- .../io/microsphere/logging/LoggerFactory.java | 3 +- .../io/microsphere/logging/NoOpLogger.java | 2 +- .../logging/Sfl4jLoggerFactory.java | 1 - .../io/microsphere/management/JmxUtils.java | 33 +++++++++---------- .../management/MBeanAttribute.java | 2 -- .../management/ManagementUtils.java | 2 -- .../builder/MBeanAttributeInfoBuilder.java | 2 -- .../builder/MBeanConstructorInfoBuilder.java | 1 - .../builder/MBeanDescribableBuilder.java | 2 -- .../builder/MBeanExecutableInfoBuilder.java | 2 -- .../builder/MBeanFeatureInfoBuilder.java | 2 -- .../management/builder/MBeanInfoBuilder.java | 2 -- .../builder/MBeanNotificationInfoBuilder.java | 2 -- .../builder/MBeanOperationInfoBuilder.java | 2 -- .../builder/MBeanParameterInfoBuilder.java | 2 -- ...taResourceConfigurationPropertyLoader.java | 1 - ...thResourceConfigurationPropertyLoader.java | 3 +- .../ConfigurationPropertyGenerator.java | 2 +- .../metadata/ConfigurationPropertyLoader.java | 3 +- .../metadata/ConfigurationPropertyReader.java | 2 -- ...DefaultConfigurationPropertyGenerator.java | 2 -- .../DefaultConfigurationPropertyReader.java | 3 +- ...taResourceConfigurationPropertyLoader.java | 1 - ...lectiveConfigurationPropertyGenerator.java | 1 - ...positeSubProtocolURLConnectionFactory.java | 3 +- .../net/CompositeURLStreamHandlerFactory.java | 3 +- .../net/DelegatingURLConnection.java | 1 - .../DelegatingURLStreamHandlerFactory.java | 1 - .../ExtendableProtocolURLStreamHandler.java | 2 -- .../net/MutableURLStreamHandlerFactory.java | 1 - .../ServiceLoaderURLStreamHandlerFactory.java | 2 -- .../net/StandardURLStreamHandlerFactory.java | 2 -- .../net/SubProtocolURLConnectionFactory.java | 1 - .../java/io/microsphere/net/URLUtils.java | 3 +- .../io/microsphere/net/classpath/Handler.java | 2 -- .../net/console/ConsoleURLConnection.java | 1 - .../io/microsphere/net/console/Handler.java | 2 -- .../microsphere/nio/charset/CharsetUtils.java | 2 -- .../process/ClassicProcessIdResolver.java | 1 - .../process/ModernProcessIdResolver.java | 1 - .../microsphere/process/ProcessExecutor.java | 2 -- .../process/ProcessIdResolver.java | 1 - .../microsphere/process/ProcessManager.java | 2 -- .../VirtualMachineProcessIdResolver.java | 2 -- .../reflect/AccessibleObjectUtils.java | 2 -- .../microsphere/reflect/ClassDefinition.java | 1 - .../reflect/ConstructorDefinition.java | 2 -- .../microsphere/reflect/ConstructorUtils.java | 2 -- .../reflect/ExecutableDefinition.java | 2 -- .../microsphere/reflect/ExecutableUtils.java | 2 -- .../microsphere/reflect/FieldDefinition.java | 2 -- .../io/microsphere/reflect/FieldUtils.java | 3 +- .../java/io/microsphere/reflect/JavaType.java | 4 +-- .../microsphere/reflect/MemberDefinition.java | 2 -- .../io/microsphere/reflect/MemberUtils.java | 2 -- .../microsphere/reflect/MethodDefinition.java | 2 -- .../io/microsphere/reflect/MethodUtils.java | 2 -- .../io/microsphere/reflect/MultipleType.java | 2 -- .../io/microsphere/reflect/ProxyUtils.java | 2 -- .../microsphere/reflect/ReflectionUtils.java | 3 +- .../reflect/ReflectiveDefinition.java | 2 -- .../io/microsphere/reflect/TypeUtils.java | 6 ++-- .../generics/ParameterizedTypeImpl.java | 1 - .../reflect/generics/TypeArgument.java | 1 - .../microsphere/security/SecurityUtils.java | 2 -- .../java/io/microsphere/text/FormatUtils.java | 1 - .../io/microsphere/util/AnnotationUtils.java | 2 -- .../java/io/microsphere/util/ArrayUtils.java | 2 -- .../main/java/io/microsphere/util/Assert.java | 2 -- .../util/CharSequenceComparator.java | 1 - .../microsphere/util/CharSequenceUtils.java | 1 - .../io/microsphere/util/ClassLoaderUtils.java | 4 +-- .../io/microsphere/util/ClassPathUtils.java | 2 -- .../java/io/microsphere/util/ClassUtils.java | 5 +-- .../java/io/microsphere/util/Compatible.java | 2 -- .../java/io/microsphere/util/Configurer.java | 2 -- .../io/microsphere/util/ExceptionUtils.java | 2 -- .../java/io/microsphere/util/Functional.java | 1 - .../util/HierarchicalClassComparator.java | 1 - .../io/microsphere/util/IterableUtils.java | 2 -- .../java/io/microsphere/util/ObjectUtils.java | 2 -- .../microsphere/util/PriorityComparator.java | 2 +- .../util/PropertyResourceBundleControl.java | 1 - .../util/PropertyResourceBundleUtils.java | 2 -- .../microsphere/util/ServiceLoaderUtils.java | 4 +-- .../util/ShutdownHookCallbacksThread.java | 1 - .../microsphere/util/ShutdownHookUtils.java | 2 -- .../io/microsphere/util/StackTraceUtils.java | 1 - .../java/io/microsphere/util/StopWatch.java | 1 - .../java/io/microsphere/util/StringUtils.java | 2 -- .../java/io/microsphere/util/SystemUtils.java | 2 -- .../java/io/microsphere/util/TypeFinder.java | 4 +-- .../java/io/microsphere/util/ValueHolder.java | 1 - .../java/io/microsphere/util/Version.java | 2 -- .../io/microsphere/util/VersionUtils.java | 1 - .../io/microsphere/util/jar/JarUtils.java | 2 -- .../java/io/microsphere/AbstractTestCase.java | 2 -- .../java/io/microsphere/JSONTestUtils.java | 1 - .../test/java/io/microsphere/Loggable.java | 1 - .../test/java/io/microsphere/LoggingTest.java | 1 - .../microsphere/beans/BeanMetadataTest.java | 2 -- .../microsphere/beans/BeanPropertyTest.java | 1 - .../io/microsphere/beans/BeanUtilsTest.java | 2 -- .../beans/ConfigurationPropertyTest.java | 1 - .../AbstractArtifactResourceResolverTest.java | 2 -- .../AbstractURLClassPathHandleTest.java | 1 - ...chiveFileArtifactResourceResolverTest.java | 2 -- .../classloading/ArtifactDetectorTest.java | 2 -- .../classloading/ArtifactTest.java | 2 -- ...annedArtifactClassLoadingExecutorTest.java | 2 -- .../BaseURLClassPathHandleTest.java | 2 -- .../ClassicURLClassPathHandleTest.java | 2 -- .../ErrorArtifactResourceResolver.java | 1 - .../ErrorArtifactResourceResolverTest.java | 2 +- .../ManifestArtifactResourceResolverTest.java | 2 -- .../MavenArtifactResourceResolverTest.java | 2 +- .../classloading/MavenArtifactTest.java | 2 -- .../ModernURLClassPathHandleTest.java | 1 - .../NoOpURLClassPathHandleTest.java | 1 - .../ServiceLoadingURLClassPathHandleTest.java | 2 -- .../StreamArtifactResourceResolverTest.java | 2 -- .../classloading/URLClassPathHandleTest.java | 2 -- .../collection/AbstractDequeTest.java | 2 -- .../collection/AbstractEnumerationTest.java | 2 -- .../collection/ArrayEnumerationTest.java | 1 - .../collection/ArrayStackTest.java | 2 -- .../collection/CollectionUtilsTest.java | 6 ++-- .../collection/DefaultEntryTest.java | 1 - .../collection/DelegatingDequeTest.java | 2 -- .../collection/DelegatingIteratorTest.java | 2 -- .../collection/DelegatingQueueTest.java | 2 -- .../collection/EmptyDequeTest.java | 2 -- .../collection/EmptyIterableTest.java | 1 - .../collection/EmptyIteratorTest.java | 2 -- .../collection/EmptyQueueTest.java | 2 -- .../EnumerationIteratorAdapterTest.java | 1 - .../collection/EnumerationUtilsTest.java | 2 -- .../collection/ImmutableEntryTest.java | 1 - .../collection/IterableAdapterTest.java | 2 -- .../microsphere/collection/IteratorsTest.java | 2 -- .../collection/LinkedListTest.java | 1 - .../microsphere/collection/ListUtilsTest.java | 2 -- .../collection/ListsBenchmark.java | 1 - .../io/microsphere/collection/ListsTest.java | 2 -- .../microsphere/collection/MapUtilsTest.java | 2 -- .../io/microsphere/collection/MapsTest.java | 2 -- .../collection/MutableCollectionTest.java | 2 -- .../collection/MutableDequeTest.java | 2 -- .../collection/MutableQueueTest.java | 2 -- .../collection/PropertiesUtilsTest.java | 2 -- .../collection/QueueUtilsTest.java | 2 -- .../collection/ReadOnlyIteratorTest.java | 2 -- .../collection/ReversedDequeTest.java | 2 -- .../microsphere/collection/SetUtilsTest.java | 5 ++- .../io/microsphere/collection/SetsTest.java | 2 -- .../collection/SingletonDequeTest.java | 2 -- .../collection/SingletonEnumerationTest.java | 1 - .../collection/SingletonIteratorTest.java | 1 - .../io/microsphere/collection/TestDeque.java | 1 - .../collection/UnmodifiableDequeTest.java | 1 - .../collection/UnmodifiableIteratorTest.java | 1 - .../collection/UnmodifiableQueueTest.java | 1 - .../CustomizedThreadFactoryTest.java | 2 -- .../DelegatingBlockingQueueTest.java | 5 ++- ...elegatingScheduledExecutorServiceTest.java | 2 -- .../concurrent/ExecutorUtilsTest.java | 2 -- .../microsphere/constants/ConstantsTest.java | 1 - .../constants/FileConstantsTest.java | 1 - .../constants/PathConstantsTest.java | 1 - .../constants/PropertyConstantsTest.java | 1 - .../constants/ProtocolConstantsTest.java | 1 - .../constants/ResourceConstantsTest.java | 1 - .../constants/SeparatorConstantsTest.java | 1 - .../constants/SymbolConstantsTest.java | 1 - .../convert/AbstractConverterTest.java | 1 - .../convert/BaseConverterTest.java | 1 - .../ByteArrayToObjectConverterTest.java | 1 - .../io/microsphere/convert/ConverterTest.java | 2 -- .../convert/MapToPropertiesConverterTest.java | 2 -- .../convert/NumberToByteConverterTest.java | 1 - .../NumberToCharacterConverterTest.java | 1 - .../convert/NumberToDoubleConverterTest.java | 1 - .../convert/NumberToFloatConverterTest.java | 1 - .../convert/NumberToIntegerConverterTest.java | 1 - .../convert/NumberToLongConverterTest.java | 1 - .../convert/NumberToShortConverterTest.java | 1 - .../convert/ObjectToBooleanConverterTest.java | 1 - .../ObjectToByteArrayConverterTest.java | 1 - .../convert/ObjectToByteConverterTest.java | 1 - .../ObjectToCharacterConverterTest.java | 1 - .../convert/ObjectToDoubleConverterTest.java | 1 - .../convert/ObjectToFloatConverterTest.java | 1 - .../convert/ObjectToIntegerConverterTest.java | 1 - .../convert/ObjectToLongConverterTest.java | 1 - .../ObjectToOptionalConverterTest.java | 2 -- .../convert/ObjectToShortConverterTest.java | 1 - .../convert/ObjectToStringConverterTest.java | 1 - .../PropertiesToStringConverterTest.java | 2 -- .../convert/StringToBooleanConverterTest.java | 1 - .../convert/StringToByteConverterTest.java | 1 - .../StringToCharArrayConverterTest.java | 2 +- .../StringToCharacterConverterTest.java | 1 - .../convert/StringToClassConverterTest.java | 2 +- .../convert/StringToDoubleConverterTest.java | 1 - .../StringToDurationConverterTest.java | 1 - .../convert/StringToFloatConverterTest.java | 1 - .../StringToInputStreamConverterTest.java | 2 -- .../convert/StringToIntegerConverterTest.java | 1 - .../convert/StringToLongConverterTest.java | 1 - .../convert/StringToShortConverterTest.java | 1 - .../convert/StringToStringConverterTest.java | 2 +- .../multiple/MultiValueConverterTest.java | 2 -- .../multiple/StringToArrayConverterTest.java | 1 - .../StringToBlockingDequeConverterTest.java | 2 -- .../StringToBlockingQueueConverterTest.java | 2 -- .../StringToCollectionConverterTest.java | 2 -- .../multiple/StringToDequeConverterTest.java | 2 -- .../StringToIterableConverterTest.java | 2 -- .../multiple/StringToListConverterTest.java | 2 -- .../StringToMultiValueConverterTest.java | 1 - .../StringToNavigableSetConverterTest.java | 2 -- .../multiple/StringToQueueConverterTest.java | 2 -- .../multiple/StringToSetConverterTest.java | 2 -- .../StringToSortedSetConverterTest.java | 2 -- .../StringToTransferQueueConverterTest.java | 2 -- .../event/AbstractEventDispatcherTest.java | 2 -- .../event/AbstractEventListener.java | 2 -- .../event/ConditionalEventListenerTest.java | 1 - .../event/DirectEventDispatcherTest.java | 1 - .../microsphere/event/EchoEventListener.java | 1 - .../microsphere/event/EchoEventListener2.java | 1 - .../event/EventDispatcherTest.java | 2 -- .../microsphere/event/EventListenerTest.java | 1 - .../event/GenericEventListenerTest.java | 1 - .../microsphere/event/GenericEventTest.java | 2 -- .../io/microsphere/event/ListenableTest.java | 1 - .../event/ParallelEventDispatcherTest.java | 2 -- .../filter/ClassFileJarEntryFilterTest.java | 2 -- .../filter/FilterOperatorTest.java | 1 - .../io/microsphere/filter/FilterTest.java | 1 - .../microsphere/filter/FilterUtilsTest.java | 2 -- .../filter/PackageNameClassFilterTest.java | 1 - .../PackageNameClassNameFilterTest.java | 1 - .../filter/TrueClassFilterTest.java | 1 - .../invoke/MethodHandleUtilsBenchmark.java | 2 -- .../invoke/MethodHandleUtilsTest.java | 2 -- .../invoke/MethodHandlesLookupUtilsTest.java | 2 -- .../io/DefaultDeserializerTest.java | 2 -- .../DefaultSerializerAndDeserializerTest.java | 2 -- .../io/microsphere/io/DeserializersTest.java | 1 - .../io/FastByteArrayInputStreamTest.java | 2 -- .../io/FastByteArrayOutputStreamTest.java | 2 -- .../java/io/microsphere/io/FileUtilsTest.java | 2 -- .../microsphere/io/FileWatchServiceTest.java | 2 -- .../java/io/microsphere/io/IOUtilsTest.java | 2 -- .../io/SerializersAndDeserializersTest.java | 2 -- .../io/microsphere/io/SerializersTest.java | 1 - .../io/StandardFileWatchServiceTest.java | 2 -- .../io/StringBuilderWriterTest.java | 1 - .../StringSerializerAndDeserializerTest.java | 2 -- .../io/event/FileChangedEventTest.java | 2 -- .../io/event/FileChangedListenerTest.java | 2 -- .../event/LoggingFileChangedListenerTest.java | 2 -- .../io/filter/DirectoryFileFilterTest.java | 2 -- .../io/filter/FileExtensionFilterTest.java | 2 -- .../io/filter/IOFileFilterTest.java | 2 -- .../io/filter/NameFileFilterTest.java | 2 -- .../io/filter/TrueFileFilterTest.java | 1 - .../io/scanner/SimpleClassScannerTest.java | 2 -- .../io/scanner/SimpleFileScannerTest.java | 2 -- .../io/scanner/SimpleJarEntryScannerTest.java | 2 -- .../io/microsphere/json/JSONArrayTest.java | 2 -- .../microsphere/json/JSONExceptionTest.java | 1 - .../io/microsphere/json/JSONObjectTest.java | 7 ++-- .../io/microsphere/json/JSONStringerTest.java | 1 - .../java/io/microsphere/json/JSONTest.java | 1 - .../io/microsphere/json/JSONTokenerTest.java | 1 - .../io/microsphere/json/JSONUtilsTest.java | 2 -- .../UtilsTestBeforeAllExtension.java | 2 -- .../annotation/UtilsTestExtension.java | 2 -- .../lang/ClassDataRepositoryTest.java | 2 -- .../lang/DelegatingWrapperTest.java | 1 - .../io/microsphere/lang/DeprecationTest.java | 1 - .../microsphere/lang/MutableIntegerTest.java | 1 - .../io/microsphere/lang/PrioritizedTest.java | 1 - .../java/io/microsphere/lang/WrapperTest.java | 1 - .../lang/function/PredicatesTest.java | 2 -- .../lang/function/StreamsTest.java | 2 -- .../lang/function/ThrowableActionTest.java | 1 - .../function/ThrowableBiConsumerTest.java | 1 - .../function/ThrowableBiFunctionTest.java | 1 - .../lang/function/ThrowableConsumerTest.java | 1 - .../lang/function/ThrowableFunctionTest.java | 1 - .../lang/function/ThrowableSupplierTest.java | 1 - .../logging/AbstractLoggerTest.java | 1 - .../logging/JDKLoggerFactoryTest.java | 2 -- .../logging/LoggerFactoryTest.java | 2 -- .../logging/NoOpLoggerFactoryTest.java | 2 -- .../microsphere/management/JmxUtilsTest.java | 2 -- .../management/MBeanAttributeTest.java | 2 -- .../management/ManagementUtilsTest.java | 1 - .../java/io/microsphere/management/Units.java | 1 - .../AbstractMBeanDescribableBuilderTest.java | 2 -- .../AbstractMBeanFeatureInfoBuilderTest.java | 2 -- .../MBeanAttributeInfoBuilderTest.java | 2 -- .../MBeanConstructorInfoBuilderTest.java | 2 -- .../builder/MBeanInfoBuilderTest.java | 2 -- .../MBeanNotificationInfoBuilderTest.java | 2 -- .../MBeanOperationInfoBuilderTest.java | 2 -- .../MBeanParameterInfoBuilderTest.java | 1 - ...sourceConfigurationPropertyLoaderTest.java | 2 -- ...sourceConfigurationPropertyLoaderTest.java | 2 -- ...ConfigurationPropertiesJSONReaderTest.java | 2 -- .../ConfigurationPropertyLoaderTest.java | 2 -- ...ultConfigurationPropertyGeneratorTest.java | 1 - .../DefaultConfigurationPropertyLoader.java | 2 -- ...efaultConfigurationPropertyReaderTest.java | 2 -- .../EmptyConfigurationPropertyLoader.java | 2 -- .../ErrorConfigurationPropertyLoader.java | 2 -- ...sourceConfigurationPropertyLoaderTest.java | 2 -- .../NullConfigurationPropertyLoader.java | 2 -- ...iveConfigurationPropertyGeneratorTest.java | 1 - ...xtendableProtocolURLStreamHandlerTest.java | 9 +++-- ...teSubProtocolURLConnectionFactoryTest.java | 2 -- .../CompositeURLStreamHandlerFactoryTest.java | 2 -- ...onsoleSubProtocolURLConnectionFactory.java | 2 -- .../net/DelegatingURLConnectionTest.java | 2 -- ...DelegatingURLStreamHandlerFactoryTest.java | 1 - ...xtendableProtocolURLStreamHandlerTest.java | 9 +++-- .../FalseSubProtocolURLConnectionFactory.java | 1 - .../MutableURLStreamHandlerFactoryTest.java | 1 - .../NullSubProtocolURLConnectionFactory.java | 1 - ...viceLoaderURLStreamHandlerFactoryTest.java | 2 -- .../StandardURLStreamHandlerFactoryTest.java | 1 - .../SubProtocolURLConnectionFactoryTest.java | 2 -- .../java/io/microsphere/net/URLUtilsTest.java | 2 -- .../net/classpath/HandlerTest.java | 2 -- .../net/console/ConsoleURLConnectionTest.java | 2 -- .../microsphere/net/console/HandlerTest.java | 2 -- .../java/io/microsphere/net/test/Handler.java | 1 - .../io/microsphere/net/test/HandlerTest.java | 2 -- .../nio/charset/CharsetUtilsTest.java | 1 - .../performance/AbstractPerformanceTest.java | 1 - .../process/ClassicProcessIdResolverTest.java | 1 - .../process/ModernProcessIdResolverTest.java | 1 - .../process/ProcessExecutorTest.java | 2 -- .../process/ProcessManagerTest.java | 2 -- .../VirtualMachineProcessIdResolverTest.java | 1 - .../AbstractExecutableDefinitionTest.java | 1 - .../reflect/AbstractJavaTypeTest.java | 2 -- .../reflect/AbstractMemberDefinitionTest.java | 1 - .../AbstractReflectiveDefinitionTest.java | 2 -- .../reflect/AccessibleObjectUtilsTest.java | 2 -- .../reflect/ClassDefinitionTest.java | 1 - .../reflect/ConstructorDefinitionTest.java | 2 -- .../reflect/ConstructorUtilsTest.java | 1 - .../reflect/ExecutableUtilsTest.java | 2 -- .../reflect/FieldDefinitionTest.java | 2 -- .../microsphere/reflect/FieldUtilsTest.java | 2 -- .../microsphere/reflect/JavaTypeKindTest.java | 2 -- .../reflect/JavaTypeKindTestForClass.java | 2 -- .../JavaTypeKindTestForGenericArrayType.java | 2 -- .../JavaTypeKindTestForParameterizedType.java | 2 -- .../JavaTypeKindTestForTypeVariable.java | 2 -- .../reflect/JavaTypeKindTestForUnknown.java | 1 - .../JavaTypeKindTestForWildcardType.java | 2 -- .../io/microsphere/reflect/JavaTypeTest.java | 2 -- .../reflect/JavaTypeTestForClass.java | 2 -- .../JavaTypeTestForGenericArrayType.java | 2 -- .../reflect/JavaTypeTestForObjectClass.java | 1 - .../JavaTypeTestForParameterizedType.java | 2 -- .../reflect/JavaTypeTestForTypeVariable.java | 2 -- .../reflect/JavaTypeTestForUnknown.java | 2 -- .../reflect/JavaTypeTestForWildcardType.java | 2 -- .../microsphere/reflect/MemberUtilsTest.java | 2 -- .../reflect/MethodDefinitionTest.java | 2 -- .../microsphere/reflect/MethodUtilsTest.java | 2 -- .../io/microsphere/reflect/ModifierTest.java | 2 -- .../microsphere/reflect/MultipleTypeTest.java | 1 - .../microsphere/reflect/ProxyUtilsTest.java | 1 - .../reflect/ReflectionUtilsBenchmark.java | 1 - .../reflect/ReflectionUtilsTest.java | 2 -- .../reflect/ReflectiveDefinitionImpl.java | 1 - .../reflect/ReflectiveDefinitionTest.java | 2 -- .../io/microsphere/reflect/TypeUtilsTest.java | 2 -- .../generics/ParameterizedTypeImplTest.java | 2 -- .../reflect/generics/TypeArgumentTest.java | 1 - .../security/SecurityUtilsTest.java | 2 -- .../security/TestSecurityManager.java | 1 - .../src/test/java/io/microsphere/test/A.java | 1 - .../test/java/io/microsphere/test/BF3.java | 1 - .../src/test/java/io/microsphere/test/C.java | 1 - .../test/java/io/microsphere/test/Data.java | 1 - .../src/test/java/io/microsphere/test/E.java | 1 - .../microsphere/test/MultipleValueData.java | 2 -- .../java/io/microsphere/test/MyHashMap.java | 1 - .../test/StringIntegerHashMap.java | 1 - .../io/microsphere/text/FormatUtilsTest.java | 1 - .../microsphere/util/AnnotationUtilsTest.java | 2 -- .../io/microsphere/util/ArrayUtilsTest.java | 2 -- .../java/io/microsphere/util/AssertTest.java | 2 -- .../io/microsphere/util/BaseUtilsTest.java | 1 - .../util/CharSequenceComparatorTest.java | 1 - .../util/CharSequenceUtilsTest.java | 1 - .../util/ClassLoaderUtilsPerformanceTest.java | 1 - .../util/ClassLoaderUtilsTest.java | 2 -- .../microsphere/util/ClassPathUtilsTest.java | 2 -- .../microsphere/util/ClassUtilsBenchmark.java | 1 - .../io/microsphere/util/ClassUtilsTest.java | 2 -- .../io/microsphere/util/CompatibleTest.java | 1 - .../io/microsphere/util/ConfigurerTest.java | 1 - .../microsphere/util/ExceptionUtilsTest.java | 2 -- .../io/microsphere/util/FunctionalTest.java | 2 -- .../util/HierarchicalClassComparatorTest.java | 2 -- .../microsphere/util/IterableUtilsTest.java | 2 -- .../io/microsphere/util/ObjectUtilsTest.java | 1 - .../util/PriorityComparatorTest.java | 2 -- .../PropertyResourceBundleControlTest.java | 2 -- .../util/PropertyResourceBundleUtilsTest.java | 2 -- .../io/microsphere/util/ResourceTypeTest.java | 2 -- .../util/ServiceLoaderUtilsTest.java | 2 -- .../util/ShutdownHookCallback.java | 1 - .../util/ShutdownHookCallbacksThreadTest.java | 1 - .../util/ShutdownHookUtilsTest.java | 2 -- .../microsphere/util/StackTraceUtilsTest.java | 1 - .../io/microsphere/util/StopWatchTest.java | 1 - .../io/microsphere/util/StringUtilsTest.java | 1 - .../io/microsphere/util/SystemUtilsTest.java | 2 -- .../microsphere/util/ThrowableUtilsTest.java | 1 - .../io/microsphere/util/TypeFinderTest.java | 5 ++- .../io/microsphere/util/ValueHolderTest.java | 1 - .../microsphere/util/VersionOperatorTest.java | 1 - .../java/io/microsphere/util/VersionTest.java | 2 -- .../io/microsphere/util/VersionUtilsTest.java | 1 - .../io/microsphere/util/jar/JarUtilsTest.java | 2 -- .../test/annotation/TestAnnotation.java | 2 -- .../AbstractAnnotationProcessingTest.java | 2 -- .../AnnotationProcessingTestProcessor.java | 2 -- .../CompilerInvocationInterceptor.java | 2 -- .../io/microsphere/test/model/Ancestor.java | 1 - .../test/model/CollectionTypeModel.java | 1 - .../model/ConfigurationPropertyModel.java | 1 - .../microsphere/test/model/MapTypeModel.java | 1 - .../java/io/microsphere/test/model/Model.java | 1 - .../test/model/SimpleTypeModel.java | 1 - .../test/model/StringArrayList.java | 1 - .../test/service/DefaultTestService.java | 2 -- .../test/service/GenericTestService.java | 1 - .../microsphere/test/service/TestService.java | 2 -- .../test/service/TestServiceImpl.java | 2 -- .../processing/AnnotationProcessingTest.java | 2 -- .../microsphere/test/model/AncestorTest.java | 1 - .../test/model/ArrayTypeModelTest.java | 1 - .../test/model/CollectionTypeModelTest.java | 2 -- .../io/microsphere/test/model/ColorTest.java | 1 - .../model/ConfigurationPropertyModelTest.java | 1 - .../test/model/MapTypeModelTest.java | 2 -- .../io/microsphere/test/model/ModelTest.java | 2 -- .../io/microsphere/test/model/ParentTest.java | 1 - .../test/model/PrimitiveTypeModelTest.java | 1 - .../test/model/SimpleTypeModelTest.java | 2 -- .../test/model/StringArrayListTest.java | 2 -- .../test/service/DefaultTestServiceTest.java | 2 -- .../test/service/GenericTestServiceTest.java | 1 - .../test/service/TestServiceImplTest.java | 1 - .../jdk/tools/compiler/Compiler.java | 2 -- .../jdk/tools/compiler/CompilerTest.java | 2 -- .../model/element/StringAnnotationValue.java | 2 -- .../AnnotatedElementJSONElementVisitor.java | 2 -- .../lang/model/util/AnnotationUtils.java | 23 +++++++------ .../lang/model/util/ClassUtils.java | 2 -- .../lang/model/util/ConstructorUtils.java | 2 -- .../lang/model/util/ElementUtils.java | 2 -- .../util/ExecutableElementComparator.java | 2 -- .../lang/model/util/FieldUtils.java | 2 -- .../util/JSONAnnotationValueVisitor.java | 1 - .../lang/model/util/JSONElementVisitor.java | 1 - .../lang/model/util/LoggerUtils.java | 1 - .../lang/model/util/MemberUtils.java | 2 -- .../lang/model/util/MessagerUtils.java | 2 -- .../lang/model/util/MethodUtils.java | 2 -- .../ResolvableAnnotationValueVisitor.java | 10 +++--- .../lang/model/util/TypeUtils.java | 2 -- .../element/StringAnnotationValueTest.java | 1 - ...nnotatedElementJSONElementVisitorTest.java | 2 -- .../lang/model/util/AnnotationUtilsTest.java | 2 -- .../lang/model/util/ClassUtilsTest.java | 1 - .../lang/model/util/ConstructorUtilsTest.java | 2 -- .../lang/model/util/ElementUtilsTest.java | 2 -- .../util/ExecutableElementComparatorTest.java | 2 -- .../lang/model/util/FieldUtilsTest.java | 2 -- .../util/JSONAnnotationValueVisitorTest.java | 2 -- .../model/util/JSONElementVisitorTest.java | 2 -- .../lang/model/util/LoggerUtilsTest.java | 1 - .../lang/model/util/MemberUtilsTest.java | 2 -- .../lang/model/util/MessagerUtilsTest.java | 2 -- .../lang/model/util/MethodUtilsTest.java | 2 -- .../ResolvableAnnotationValueVisitorTest.java | 2 -- .../lang/model/util/TypeUtilsTest.java | 2 -- .../microsphere/lang/model/util/UtilTest.java | 2 -- 688 files changed, 141 insertions(+), 1106 deletions(-) diff --git a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessor.java b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessor.java index 0b8c0f0d3..7060d61e5 100644 --- a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessor.java +++ b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessor.java @@ -21,7 +21,6 @@ import io.microsphere.constants.ResourceConstants; import io.microsphere.json.JSONArray; import io.microsphere.metadata.ConfigurationPropertyGenerator; - import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.Messager; import javax.annotation.processing.ProcessingEnvironment; @@ -44,7 +43,6 @@ import static io.microsphere.metadata.ConfigurationPropertyLoader.loadAll; import static javax.lang.model.SourceVersion.latestSupported; import static javax.tools.StandardLocation.CLASS_OUTPUT; - /** * The {@link Processor} for the {@link ConfigurationProperty} annotation * diff --git a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitor.java b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitor.java index e30972026..3f4a82acb 100644 --- a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitor.java +++ b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitor.java @@ -21,7 +21,6 @@ import io.microsphere.beans.ConfigurationProperty.Metadata; import io.microsphere.lang.model.util.AnnotatedElementJSONElementVisitor; import io.microsphere.metadata.ConfigurationPropertyGenerator; - import javax.annotation.processing.ProcessingEnvironment; import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.AnnotationValue; @@ -42,7 +41,6 @@ import static io.microsphere.lang.model.util.TypeUtils.getTypeName; import static io.microsphere.util.ServiceLoaderUtils.loadFirstService; import static io.microsphere.util.StringUtils.isBlank; - /** * {@link ConfigurationProperty @ConfigurationProperty}'s {@link AnnotatedElementJSONElementVisitor} based on * {@link ConfigurationPropertyGenerator} generating the JSON representation of the configuration property metadata. diff --git a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/FilerProcessor.java b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/FilerProcessor.java index 97b2c0768..9122e4bb6 100644 --- a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/FilerProcessor.java +++ b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/FilerProcessor.java @@ -18,7 +18,6 @@ package io.microsphere.annotation.processor; import io.microsphere.lang.function.ThrowableFunction; - import javax.annotation.processing.Filer; import javax.annotation.processing.ProcessingEnvironment; import javax.tools.JavaFileManager; @@ -26,7 +25,6 @@ import static io.microsphere.lang.model.util.MessagerUtils.printMandatoryWarning; import static io.microsphere.reflect.FieldUtils.getFieldValue; - /** * A processor class that provides safe and exception-handled operations for interacting with the {@link Filer} * in an annotation processing environment. This class wraps calls to the underlying {@link Filer} instance diff --git a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ResourceProcessor.java b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ResourceProcessor.java index 3bf0d895a..f8215d8b7 100644 --- a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ResourceProcessor.java +++ b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ResourceProcessor.java @@ -19,7 +19,6 @@ import io.microsphere.lang.function.ThrowableConsumer; import io.microsphere.lang.function.ThrowableFunction; - import javax.annotation.processing.ProcessingEnvironment; import javax.tools.FileObject; import javax.tools.JavaFileManager.Location; @@ -40,7 +39,6 @@ import static io.microsphere.util.ExceptionUtils.wrap; import static java.util.Optional.empty; import static java.util.Optional.of; - /** * A processor class that provides a comprehensive and exception-safe mechanism for handling resources during annotation processing. * It extends the capabilities of the {@link FilerProcessor} to manage both reading from and writing to resources using various I/O operations. diff --git a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessorTest.java b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessorTest.java index 2e2806fa0..dca1e2812 100644 --- a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessorTest.java +++ b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessorTest.java @@ -22,7 +22,6 @@ import static io.microsphere.util.Assert.assertNotNull; import static java.util.Collections.emptySet; - /** * {@link ConfigurationPropertyAnnotationProcessor} Test * diff --git a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitorTest.java b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitorTest.java index b039fc140..ad2117c5a 100644 --- a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitorTest.java +++ b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitorTest.java @@ -26,14 +26,12 @@ import io.microsphere.test.annotation.processing.AbstractAnnotationProcessingTest; import io.microsphere.util.ServiceLoaderUtils; import org.junit.jupiter.api.Test; - import java.util.Set; import static io.microsphere.annotation.processor.ConfigurationPropertyJSONElementVisitor.CONFIGURATION_PROPERTY_ANNOTATION_CLASS_NAME; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ConfigurationPropertyJSONElementVisitor} Test * diff --git a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/FilerProcessorTest.java b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/FilerProcessorTest.java index 112d739f2..c040ddd5e 100644 --- a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/FilerProcessorTest.java +++ b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/FilerProcessorTest.java @@ -21,7 +21,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; - import javax.tools.JavaFileManager; import javax.tools.JavaFileObject; import java.lang.reflect.Method; @@ -30,7 +29,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link FilerProcessor} Test * diff --git a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ResourceProcessorTest.java b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ResourceProcessorTest.java index c34ac032a..ac21ea3f4 100644 --- a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ResourceProcessorTest.java +++ b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ResourceProcessorTest.java @@ -21,7 +21,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; - import javax.tools.FileObject; import java.lang.reflect.Method; import java.util.Optional; @@ -43,7 +42,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ResourceProcessor} Test * diff --git a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/TestConfigurationPropertyLoader.java b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/TestConfigurationPropertyLoader.java index 5240c9f5f..4ccc04c26 100644 --- a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/TestConfigurationPropertyLoader.java +++ b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/TestConfigurationPropertyLoader.java @@ -20,13 +20,12 @@ import io.microsphere.beans.ConfigurationProperty; import io.microsphere.beans.ConfigurationProperty.Metadata; import io.microsphere.metadata.ConfigurationPropertyLoader; - +import java.util.ArrayList; import java.util.List; import java.util.Random; import static io.microsphere.collection.ListUtils.newArrayList; import static io.microsphere.util.ClassUtils.SIMPLE_TYPES; - /** * {@link ConfigurationPropertyLoader} for testing * diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/ConfigurationProperty.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/ConfigurationProperty.java index 10203087e..802495250 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/ConfigurationProperty.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/ConfigurationProperty.java @@ -22,7 +22,6 @@ import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.RetentionPolicy.RUNTIME; - /** * The metadata annotation used to declare on the Java field whose modifiers usually are static and final * for the configuration property. diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Experimental.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Experimental.java index e3780f909..7be0e7406 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Experimental.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Experimental.java @@ -26,7 +26,6 @@ import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.SOURCE; - /** * The marker annotation indicates a feature is experimental, it could be changed or even be removed in the future. * diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Immutable.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Immutable.java index 0ae81044f..a8c1f29d2 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Immutable.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Immutable.java @@ -20,7 +20,6 @@ import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.RUNTIME; - /** * Marker annotation to indicate that the annotated element is immutable, this means that its state cannot be seen to * change by callers. diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nonnull.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nonnull.java index 99ebc668b..399c0d6c9 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nonnull.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nonnull.java @@ -21,7 +21,6 @@ import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.RUNTIME; - /** * A common Microsphere annotation to declare that annotated elements cannot be {@code null}. * diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nullable.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nullable.java index 9b708f889..631194b49 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nullable.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nullable.java @@ -22,7 +22,6 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME; import static javax.annotation.meta.When.MAYBE; - /** * A common Microsphere annotation to declare that annotated elements can be {@code null} under * some circumstance. diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Since.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Since.java index c2ec0c22d..bc2b81a58 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Since.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Since.java @@ -31,7 +31,6 @@ import static java.lang.annotation.ElementType.TYPE_PARAMETER; import static java.lang.annotation.ElementType.TYPE_USE; import static java.lang.annotation.RetentionPolicy.RUNTIME; - /** * The annotation that indicates the API is introduced in the first time. * diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/NotThreadSafe.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/NotThreadSafe.java index 71d7abb4c..f67d253c1 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/NotThreadSafe.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/NotThreadSafe.java @@ -13,7 +13,6 @@ import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.CLASS; - /** * The class to which this annotation is applied is not thread-safe. This * annotation primarily exists for clarifying the non-thread-safety of a class diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/ThreadSafe.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/ThreadSafe.java index 06e80ad0b..c541e83fe 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/ThreadSafe.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/ThreadSafe.java @@ -13,7 +13,6 @@ import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.CLASS; - /** * The class to which this annotation is applied is thread-safe. This means that * no sequences of accesses (reads and writes to public fields, calls to public diff --git a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ConfigurationPropertyTest.java b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ConfigurationPropertyTest.java index 6c330d813..ff36a1471 100644 --- a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ConfigurationPropertyTest.java +++ b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ConfigurationPropertyTest.java @@ -23,7 +23,6 @@ import static io.microsphere.annotation.ConfigurationProperty.ENVIRONMENT_VARIABLES_SOURCE; import static io.microsphere.annotation.ConfigurationProperty.SYSTEM_PROPERTIES_SOURCE; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ConfigurationProperty @ConfigurationProperty} Test * diff --git a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ExperimentalTest.java b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ExperimentalTest.java index 70c4adbed..057c15aff 100644 --- a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ExperimentalTest.java +++ b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ExperimentalTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link Experimental @Experimental} Test * diff --git a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ImmutableTest.java b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ImmutableTest.java index 083967249..70808cba8 100644 --- a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ImmutableTest.java +++ b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ImmutableTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * {@link Immutable @Immutable} Test * diff --git a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NonnullTest.java b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NonnullTest.java index cea51bd42..42064e84d 100644 --- a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NonnullTest.java +++ b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NonnullTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * {@link Nonnull @Nonnull} Test * diff --git a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NullableTest.java b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NullableTest.java index 25a6625fe..46a3542f9 100644 --- a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NullableTest.java +++ b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NullableTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * {@link Nullable @Nullable} Test * diff --git a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/SinceTest.java b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/SinceTest.java index 1e6314b95..aea234a7b 100644 --- a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/SinceTest.java +++ b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/SinceTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link Since @Since} Test * diff --git a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanMetadata.java b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanMetadata.java index 2d32c37e6..ea52a6a39 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanMetadata.java +++ b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanMetadata.java @@ -19,11 +19,11 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; - import java.beans.BeanInfo; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.util.Collection; +import java.util.HashMap; import java.util.Map; import java.util.Objects; @@ -32,7 +32,6 @@ import static io.microsphere.util.ClassUtils.getTypeName; import static io.microsphere.util.StringUtils.uncapitalize; import static java.util.Collections.unmodifiableMap; - /** * The metadata class of Bean, which is used to represent a Java Bean. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanProperty.java b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanProperty.java index 7488a88c9..bc17dcd9a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanProperty.java +++ b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanProperty.java @@ -18,7 +18,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; - import java.beans.PropertyDescriptor; import java.lang.reflect.Method; import java.util.Objects; @@ -27,7 +26,6 @@ import static io.microsphere.lang.function.ThrowableSupplier.execute; import static io.microsphere.reflect.MethodUtils.invokeMethod; import static io.microsphere.util.Assert.assertNotNull; - /** * The class presenting the Property of Bean * diff --git a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java index cb1439ae6..143e20bce 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java @@ -23,11 +23,16 @@ import io.microsphere.lang.MutableInteger; import io.microsphere.logging.Logger; import io.microsphere.util.Utils; - import java.beans.PropertyDescriptor; import java.lang.reflect.Method; +import java.util.ArrayDeque; +import java.util.ArrayList; import java.util.Collection; import java.util.Enumeration; +import java.util.HashMap; +import java.util.LinkedHashMap; +import java.util.LinkedHashSet; +import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Queue; @@ -69,7 +74,6 @@ import static java.util.Collections.emptyMap; import static java.util.Collections.enumeration; import static java.util.Collections.unmodifiableMap; - /** * The utilities class for Java Beans * diff --git a/microsphere-java-core/src/main/java/io/microsphere/beans/ConfigurationProperty.java b/microsphere-java-core/src/main/java/io/microsphere/beans/ConfigurationProperty.java index d77b7111c..f818557ec 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/beans/ConfigurationProperty.java +++ b/microsphere-java-core/src/main/java/io/microsphere/beans/ConfigurationProperty.java @@ -18,7 +18,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; - import java.util.Objects; import java.util.Set; @@ -26,7 +25,6 @@ import static io.microsphere.util.Assert.assertNotEmpty; import static io.microsphere.util.Assert.assertNotNull; import static io.microsphere.util.ClassUtils.getTypeName; - /** * {@code ConfigurationProperty} is a class that represents a configuration property * with its name, type, value, default value, requirement status, description, and metadata. diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractArtifactResourceResolver.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractArtifactResourceResolver.java index 0b2b90829..e67ad5f9c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractArtifactResourceResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractArtifactResourceResolver.java @@ -21,7 +21,6 @@ import static io.microsphere.logging.LoggerFactory.getLogger; import static io.microsphere.util.ClassLoaderUtils.getDefaultClassLoader; - /** * An abstract base class for implementing {@link ArtifactResourceResolver}. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractURLClassPathHandle.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractURLClassPathHandle.java index eb1720270..52a29b4e6 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractURLClassPathHandle.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractURLClassPathHandle.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.lang.Prioritized; import io.microsphere.logging.Logger; - import java.lang.reflect.Field; import java.net.URL; import java.util.Collection; @@ -34,7 +33,6 @@ import static io.microsphere.reflect.MethodUtils.invokeMethod; import static io.microsphere.util.ClassLoaderUtils.resolveClass; import static java.lang.ClassLoader.getSystemClassLoader; - /** * Abstract implementation of {@link URLClassPathHandle} that provides a base for handling URL Class-Path entries. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArchiveFileArtifactResourceResolver.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArchiveFileArtifactResourceResolver.java index ffb9b4369..2eb8f74df 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArchiveFileArtifactResourceResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArchiveFileArtifactResourceResolver.java @@ -26,7 +26,6 @@ import static io.microsphere.util.ArrayUtils.length; import static io.microsphere.util.StringUtils.split; import static io.microsphere.util.StringUtils.substringBeforeLast; - /** * A concrete implementation of {@link ArtifactResourceResolver} that resolves artifacts based on archive files. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/Artifact.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/Artifact.java index cfc74f087..ddac5f7d8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/Artifact.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/Artifact.java @@ -4,14 +4,12 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.constants.SymbolConstants; - import java.net.URL; import java.util.Objects; import java.util.function.Function; import static io.microsphere.constants.SymbolConstants.QUOTE_CHAR; import static java.util.Objects.hash; - /** * Represents a software artifact with attributes such as artifact ID, version, and location. * This class is used to identify and match artifacts based on their properties. diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactDetector.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactDetector.java index c9344d23f..c766c7012 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactDetector.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactDetector.java @@ -5,8 +5,8 @@ import io.microsphere.annotation.Nullable; import io.microsphere.lang.Prioritized; import io.microsphere.logging.Logger; - import java.net.URL; +import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; @@ -24,7 +24,6 @@ import static io.microsphere.util.SystemUtils.JAVA_HOME; import static java.util.Collections.emptyList; import static java.util.Collections.unmodifiableList; - /** * The {@code ArtifactDetector} class is responsible for detecting and resolving artifacts from the classpath. * It uses a list of registered {@link ArtifactResourceResolver} implementations to resolve each URL in the classpath diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactResourceResolver.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactResourceResolver.java index 57b7904ad..07498856d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactResourceResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactResourceResolver.java @@ -18,9 +18,7 @@ import io.microsphere.annotation.Nullable; import io.microsphere.lang.Prioritized; - import java.net.URL; - /** * {@code ArtifactResourceResolver} interface is responsible for resolving resources related to an * {@link Artifact}. Implementations of this interface are expected to handle the resolution of diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutor.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutor.java index 1b3931629..4e0a8a0c7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutor.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutor.java @@ -2,7 +2,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.logging.Logger; - import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; @@ -18,7 +17,6 @@ import static io.microsphere.util.StringUtils.isBlank; import static io.microsphere.util.StringUtils.split; import static io.microsphere.util.SystemUtils.FILE_ENCODING; - /** * The executor for the banned artifacts that are loading by {@link ClassLoader}. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ManifestArtifactResourceResolver.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ManifestArtifactResourceResolver.java index d340fbbeb..7346e9ce0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ManifestArtifactResourceResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ManifestArtifactResourceResolver.java @@ -17,7 +17,6 @@ package io.microsphere.classloading; import io.microsphere.annotation.ConfigurationProperty; - import java.io.IOException; import java.io.InputStream; import java.net.URL; @@ -33,7 +32,6 @@ import static io.microsphere.util.jar.JarUtils.MANIFEST_RESOURCE_PATH; import static java.lang.System.getProperty; import static java.util.stream.Stream.of; - /** * {@link ArtifactResourceResolver} implementation that reads artifact metadata from JAR manifest files. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifact.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifact.java index 74d39f17c..958929879 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifact.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifact.java @@ -3,13 +3,11 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; - import java.net.URL; import java.util.Objects; import static io.microsphere.constants.SymbolConstants.QUOTE_CHAR; import static java.util.Objects.hash; - /** * Represents a Maven software artifact with attributes such as group ID, artifact ID, version, and location. * This class extends the basic {@link Artifact} by adding Maven-specific identification through group ID. diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifactResourceResolver.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifactResourceResolver.java index baefe95de..70f711c9c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifactResourceResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifactResourceResolver.java @@ -22,7 +22,6 @@ import java.util.Properties; import static io.microsphere.classloading.MavenArtifact.create; - /** * A resolver implementation for Maven artifact metadata, extracting information from Maven POM properties files. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/NoOpURLClassPathHandle.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/NoOpURLClassPathHandle.java index a1970d075..feb4e09cd 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/NoOpURLClassPathHandle.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/NoOpURLClassPathHandle.java @@ -19,7 +19,6 @@ import java.net.URL; import static io.microsphere.net.URLUtils.EMPTY_URL_ARRAY; - /** * No-Operation {@link URLClassPathHandle} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ServiceLoadingURLClassPathHandle.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ServiceLoadingURLClassPathHandle.java index bf2361bd7..e540426e9 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ServiceLoadingURLClassPathHandle.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ServiceLoadingURLClassPathHandle.java @@ -22,7 +22,6 @@ import static io.microsphere.util.ArrayUtils.isEmpty; import static io.microsphere.util.ServiceLoaderUtils.loadServicesList; import static java.util.Objects.nonNull; - /** * {@link URLClassPathHandle} implementation based on the Service Loading mechanism * diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/StreamArtifactResourceResolver.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/StreamArtifactResourceResolver.java index 9171d9b9f..78b9bbaa6 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/StreamArtifactResourceResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/StreamArtifactResourceResolver.java @@ -18,7 +18,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.io.FastByteArrayInputStream; - import java.io.File; import java.io.FileInputStream; import java.io.IOException; @@ -38,7 +37,6 @@ import static io.microsphere.net.URLUtils.resolveArchiveFile; import static io.microsphere.util.Assert.assertNotNull; import static io.microsphere.util.jar.JarUtils.filter; - /** * An abstract base class for implementing {@link ArtifactResourceResolver} that provides a * skeletal implementation to resolve artifact resources from either a streamable resource (like a URL) diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/URLClassPathHandle.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/URLClassPathHandle.java index 02f6be25b..7bfe22617 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/URLClassPathHandle.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/URLClassPathHandle.java @@ -19,13 +19,11 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.lang.Prioritized; - import java.net.URL; import java.net.URLClassLoader; import static io.microsphere.net.URLUtils.EMPTY_URL_ARRAY; import static io.microsphere.util.ClassLoaderUtils.findURLClassLoader; - /** * A strategy interface for handling URL Class-Path entries in a {@link ClassLoader}. * Implementations of this interface can provide custom logic for interacting with diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/AbstractDeque.java b/microsphere-java-core/src/main/java/io/microsphere/collection/AbstractDeque.java index 213ecd4b0..ca2375f4c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/AbstractDeque.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/AbstractDeque.java @@ -17,9 +17,9 @@ package io.microsphere.collection; import java.util.AbstractQueue; +import java.util.ArrayList; import java.util.Deque; import java.util.NoSuchElementException; - /** * Abstract {@link Deque} implementation that provides default implementations for some of the * operations in the {@link Deque} interface. diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayEnumeration.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayEnumeration.java index 105eb5226..c1afb2fce 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayEnumeration.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayEnumeration.java @@ -27,7 +27,6 @@ import static io.microsphere.util.ArrayUtils.arrayEquals; import static java.lang.String.valueOf; import static java.util.Objects.hash; - /** *

{@code ArrayEnumeration} is an implementation of enumeration based on an array, * used to sequentially access elements in the array.

diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayStack.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayStack.java index 598ff3a19..e9117c265 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayStack.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayStack.java @@ -20,7 +20,6 @@ import java.util.ArrayList; import java.util.EmptyStackException; import java.util.Stack; - /** * The {@code Stack} class represents a last-in-first-out * (LIFO) stack of objects. It extends class {@code Vector} with five diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/CollectionUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/CollectionUtils.java index 224a1294a..a644b4c95 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/CollectionUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/CollectionUtils.java @@ -20,7 +20,7 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; - +import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Deque; @@ -33,7 +33,6 @@ import static io.microsphere.collection.ListUtils.isList; import static io.microsphere.util.ArrayUtils.length; import static io.microsphere.util.ObjectUtils.defaultIfNull; - /** * The utilities class for Java Collection * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/DefaultEntry.java b/microsphere-java-core/src/main/java/io/microsphere/collection/DefaultEntry.java index f468bce0c..78453d624 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/DefaultEntry.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/DefaultEntry.java @@ -19,7 +19,6 @@ import java.util.Map; import java.util.Objects; - /** * A default implementation of the {@link Map.Entry} interface, representing a key-value pair. * This class provides an immutable key and a mutable value, allowing for updates to the value diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingDeque.java b/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingDeque.java index 27a4e1d80..a44e98f41 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingDeque.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingDeque.java @@ -23,7 +23,6 @@ import static io.microsphere.collection.QueueUtils.reversedDeque; import static io.microsphere.invoke.MethodHandlesLookupUtils.findPublicVirtual; import static io.microsphere.lang.function.ThrowableSupplier.execute; - /** * Delegating {@link Deque} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingIterator.java b/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingIterator.java index 3975f19ab..91e6acd7f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingIterator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingIterator.java @@ -17,10 +17,8 @@ package io.microsphere.collection; import io.microsphere.lang.DelegatingWrapper; - import java.util.Iterator; import java.util.function.Consumer; - /** * A delegating implementation of the {@link Iterator} interface that forwards all method calls to a delegate iterator. * This class is useful when you want to wrap an existing iterator and potentially override some of its behavior. diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingQueue.java b/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingQueue.java index 53a5f3f96..0afa5362b 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingQueue.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingQueue.java @@ -18,7 +18,6 @@ package io.microsphere.collection; import io.microsphere.lang.DelegatingWrapper; - import java.util.Collection; import java.util.Iterator; import java.util.Queue; @@ -28,7 +27,6 @@ import java.util.stream.Stream; import static io.microsphere.util.Assert.assertNotNull; - /** * Delegating {@link Queue} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyDeque.java b/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyDeque.java index 2c3609b6b..6c8b488b7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyDeque.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyDeque.java @@ -18,14 +18,12 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; - import java.io.Serializable; import java.util.Deque; import java.util.Iterator; import java.util.NoSuchElementException; import static io.microsphere.collection.CollectionUtils.emptyIterator; - /** * An empty and immutable {@link Deque} implementation that throws {@link UnsupportedOperationException} * for methods that attempt to modify the deque, and returns appropriate default values for read-only operations. diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterable.java b/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterable.java index 8b49bb7ea..e7bb8cd4f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterable.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterable.java @@ -17,7 +17,6 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; - /** * An empty {@link Iterable} implementation that always returns an empty iterator. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterator.java b/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterator.java index d4d52f8cf..f4ed37e5e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterator.java @@ -17,12 +17,10 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; - import java.util.Collections; import java.util.Iterator; import static java.util.Collections.emptyIterator; - /** * An empty and immutable implementation of the {@link Iterator} interface. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationIteratorAdapter.java b/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationIteratorAdapter.java index 05458d8d0..f545c3336 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationIteratorAdapter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationIteratorAdapter.java @@ -21,7 +21,6 @@ import static io.microsphere.util.ObjectUtils.defaultIfNull; import static java.util.Collections.emptyEnumeration; - /** * An {@link Iterator} that adapts an {@link Enumeration} instance, providing a forward-only, * read-only view of the elements. diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationUtils.java index 5f67dfc59..1806be302 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationUtils.java @@ -19,12 +19,10 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; - import java.util.Collections; import java.util.Enumeration; import static io.microsphere.util.ClassUtils.isAssignableFrom; - /** * The utilities class for Java {@link Enumeration} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ImmutableEntry.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ImmutableEntry.java index 37f1c0759..77891f7e1 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ImmutableEntry.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ImmutableEntry.java @@ -18,9 +18,7 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; - import java.util.Map; - /** * An immutable implementation of {@link Map.Entry} that stores a fixed key-value pair. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/IterableAdapter.java b/microsphere-java-core/src/main/java/io/microsphere/collection/IterableAdapter.java index 54979cd15..6937fa124 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/IterableAdapter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/IterableAdapter.java @@ -20,7 +20,6 @@ import static io.microsphere.collection.EmptyIterator.INSTANCE; import static io.microsphere.util.ObjectUtils.defaultIfNull; - /** * An adapter that wraps an {@link Iterator} and provides an {@link Iterable} interface. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/Iterators.java b/microsphere-java-core/src/main/java/io/microsphere/collection/Iterators.java index 4e16e201a..f5a10966d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/Iterators.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/Iterators.java @@ -18,10 +18,8 @@ package io.microsphere.collection; import io.microsphere.util.Utils; - import java.util.Iterator; import java.util.Objects; - /** * The utilties class for {@link Iterator} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java index d2558a795..e1e3a2cec 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java @@ -20,10 +20,10 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; - import java.util.ArrayList; import java.util.Collection; import java.util.Enumeration; +import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; @@ -40,7 +40,6 @@ import static java.util.Arrays.asList; import static java.util.Collections.emptyList; import static java.util.Collections.unmodifiableList; - /** * The utilities class for Java {@link List} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/Lists.java b/microsphere-java-core/src/main/java/io/microsphere/collection/Lists.java index 78a7c459f..e9655a397 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/Lists.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/Lists.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.util.Utils; - import java.lang.invoke.MethodHandle; import java.util.List; import java.util.RandomAccess; @@ -29,7 +28,6 @@ import static io.microsphere.util.ArrayUtils.length; import static java.util.Collections.emptyList; import static java.util.Collections.singletonList; - /** * The utility class for {@link List} for Modern JDK(9+), which supports the feedback if Java Runtime is below JDK 9. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java index 7a5c0c479..d99969c08 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java @@ -19,7 +19,7 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.util.Utils; - +import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.HashMap; @@ -44,7 +44,6 @@ import static java.util.Collections.emptyMap; import static java.util.Collections.singletonMap; import static java.util.Collections.unmodifiableMap; - /** * The utilities class for Java {@link Map} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/Maps.java b/microsphere-java-core/src/main/java/io/microsphere/collection/Maps.java index ba3bb5b83..8de015100 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/Maps.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/Maps.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.util.Utils; - import java.lang.invoke.MethodHandle; import java.util.Map; @@ -28,7 +27,6 @@ import static io.microsphere.util.ArrayUtils.length; import static java.util.Collections.emptyMap; import static java.util.Collections.singletonMap; - /** * The utility class for {@link Map} for Modern JDK(9+), which supports the feedback if Java Runtime is below JDK 9. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/PropertiesUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/PropertiesUtils.java index 0f6308b69..417c480f3 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/PropertiesUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/PropertiesUtils.java @@ -19,7 +19,7 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.util.Utils; - +import java.util.LinkedHashMap; import java.util.Map; import java.util.Properties; @@ -27,7 +27,6 @@ import static io.microsphere.collection.MapUtils.newLinkedHashMap; import static io.microsphere.constants.SymbolConstants.DOT; import static java.util.Collections.unmodifiableMap; - /** * The utilities class for {@link Properties} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/QueueUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/QueueUtils.java index 98360347b..fde91ab53 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/QueueUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/QueueUtils.java @@ -20,16 +20,17 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; - import java.util.ArrayDeque; +import java.util.ArrayList; import java.util.Collection; import java.util.Deque; +import java.util.HashSet; +import java.util.LinkedList; import java.util.Queue; import static io.microsphere.collection.ReversedDeque.of; import static io.microsphere.util.ArrayUtils.length; import static io.microsphere.util.ClassUtils.isAssignableFrom; - /** * The utilities class for Java {@link Queue} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ReadOnlyIterator.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ReadOnlyIterator.java index 4e3904c27..6e53aa857 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ReadOnlyIterator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ReadOnlyIterator.java @@ -17,9 +17,7 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; - import java.util.Iterator; - /** * A skeletal implementation of the {@link Iterator} interface, designed to support * read-only iteration. This class provides a default implementation for the diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ReversedDeque.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ReversedDeque.java index 6dc48f64f..bd36c947a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ReversedDeque.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ReversedDeque.java @@ -28,7 +28,6 @@ import static io.microsphere.util.ArrayUtils.reverse; import static io.microsphere.util.ArrayUtils.toArrayReversed; import static java.util.Spliterator.ORDERED; - /** * Reverse ordered {@link Deque} based on JDK 21 {@link java.util.ReverseOrderDequeView} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java index f576a28f4..b947570a6 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java @@ -20,7 +20,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; - import java.util.Collection; import java.util.Comparator; import java.util.Enumeration; @@ -38,7 +37,6 @@ import static java.util.Collections.emptySet; import static java.util.Collections.singleton; import static java.util.Collections.unmodifiableSet; - /** * The utilities class for Java {@link Set} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/Sets.java b/microsphere-java-core/src/main/java/io/microsphere/collection/Sets.java index a3cfda6c3..9d11fd16d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/Sets.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/Sets.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.util.Utils; - import java.lang.invoke.MethodHandle; import java.util.Set; @@ -28,7 +27,6 @@ import static io.microsphere.util.ArrayUtils.length; import static java.util.Collections.emptySet; import static java.util.Collections.singleton; - /** * The utility class for {@link Set} for Modern JDK(9+), which supports the feedback if Java Runtime is below JDK 9. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonDeque.java b/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonDeque.java index db50c82ea..7b9f6bb28 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonDeque.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonDeque.java @@ -18,14 +18,12 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; - import java.io.Serializable; import java.util.Deque; import java.util.Iterator; import java.util.Objects; import static io.microsphere.collection.CollectionUtils.singletonIterator; - /** * A {@link Deque} implementation that holds a single, immutable element. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonEnumeration.java b/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonEnumeration.java index 62fa0536a..670965bdd 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonEnumeration.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonEnumeration.java @@ -17,10 +17,8 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; - import java.util.Enumeration; import java.util.NoSuchElementException; - /** * A simple implementation of the {@link Enumeration} interface that contains a single element. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonIterator.java b/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonIterator.java index 7060c88ae..b92dc2056 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonIterator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonIterator.java @@ -17,13 +17,11 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; - import java.util.Iterator; import java.util.NoSuchElementException; import java.util.function.Consumer; import static java.util.Objects.requireNonNull; - /** * A specialized read-only {@link Iterator} implementation that iterates over a single element. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableDeque.java b/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableDeque.java index 283dc9bd3..2ca0d722b 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableDeque.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableDeque.java @@ -18,13 +18,12 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; - import java.io.Serializable; import java.util.Deque; import java.util.Iterator; +import java.util.LinkedList; import static io.microsphere.collection.CollectionUtils.unmodifiableIterator; - /** * An unmodifiable view of a {@link Deque}. This implementation decorates a given deque and prevents any * modification operations from succeeding. All mutation methods, such as {@link #addFirst}, {@link #addLast}, diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableIterator.java b/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableIterator.java index 203ca348d..71bdb8444 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableIterator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableIterator.java @@ -17,10 +17,8 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; - import java.util.Iterator; import java.util.function.Consumer; - /** * An {@link Iterator} that is unmodifiable, meaning the elements cannot be removed. * This class extends the {@link ReadOnlyIterator}, which throws an exception when the diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableQueue.java b/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableQueue.java index adffc673f..7b4677b72 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableQueue.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableQueue.java @@ -18,10 +18,10 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; - import java.io.Serializable; import java.util.Collection; import java.util.Iterator; +import java.util.LinkedList; import java.util.Queue; import java.util.Spliterator; import java.util.function.Consumer; @@ -29,7 +29,6 @@ import java.util.stream.Stream; import static io.microsphere.collection.CollectionUtils.unmodifiableIterator; - /** * An unmodifiable view of a {@link Queue}. This implementation decorates a given queue and prevents any * modification operations from succeeding. All mutation methods, such as {@link #add}, {@link #remove}, diff --git a/microsphere-java-core/src/main/java/io/microsphere/concurrent/CustomizedThreadFactory.java b/microsphere-java-core/src/main/java/io/microsphere/concurrent/CustomizedThreadFactory.java index e1308d53f..e89ad10a8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/concurrent/CustomizedThreadFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/concurrent/CustomizedThreadFactory.java @@ -20,7 +20,6 @@ import java.util.concurrent.atomic.AtomicInteger; import static java.lang.Thread.currentThread; - /** * A {@link ThreadFactory} implementation that creates threads with customized attributes, * including name prefix, daemon status, priority, and stack size. diff --git a/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingBlockingQueue.java b/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingBlockingQueue.java index e06c5cbfb..abc44c091 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingBlockingQueue.java +++ b/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingBlockingQueue.java @@ -17,7 +17,6 @@ package io.microsphere.concurrent; import io.microsphere.lang.DelegatingWrapper; - import java.util.Collection; import java.util.Iterator; import java.util.Spliterator; @@ -29,7 +28,6 @@ import static io.microsphere.lang.Wrapper.tryUnwrap; import static io.microsphere.util.ObjectUtils.defaultIfNull; - /** * A delegating implementation of {@link BlockingQueue} that wraps another * {@link BlockingQueue} instance and forwards all method calls to it. diff --git a/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingScheduledExecutorService.java b/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingScheduledExecutorService.java index a973e45fa..51e5f16aa 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingScheduledExecutorService.java +++ b/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingScheduledExecutorService.java @@ -25,7 +25,6 @@ import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; - /** * A delegating implementation of {@link ScheduledExecutorService} that forwards all method calls to a provided * delegate instance. This class can be extended or used directly to wrap an existing {@link ScheduledExecutorService}, diff --git a/microsphere-java-core/src/main/java/io/microsphere/concurrent/ExecutorUtils.java b/microsphere-java-core/src/main/java/io/microsphere/concurrent/ExecutorUtils.java index b49c49e93..41a81d8f3 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/concurrent/ExecutorUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/concurrent/ExecutorUtils.java @@ -19,7 +19,6 @@ import io.microsphere.logging.Logger; import io.microsphere.util.ShutdownHookUtils; import io.microsphere.util.Utils; - import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; @@ -27,7 +26,6 @@ import static io.microsphere.logging.LoggerFactory.getLogger; import static io.microsphere.util.ArrayUtils.forEach; import static io.microsphere.util.ShutdownHookUtils.addShutdownHookCallback; - /** * {@link Executor} Utilities class * diff --git a/microsphere-java-core/src/main/java/io/microsphere/constants/FileConstants.java b/microsphere-java-core/src/main/java/io/microsphere/constants/FileConstants.java index cdd993e24..3145c332f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/constants/FileConstants.java +++ b/microsphere-java-core/src/main/java/io/microsphere/constants/FileConstants.java @@ -3,9 +3,9 @@ */ package io.microsphere.constants; + import static io.microsphere.constants.SymbolConstants.DOT; import static io.microsphere.constants.SymbolConstants.DOT_CHAR; - /** * File Constants * diff --git a/microsphere-java-core/src/main/java/io/microsphere/constants/ProtocolConstants.java b/microsphere-java-core/src/main/java/io/microsphere/constants/ProtocolConstants.java index ff566a55e..04e459330 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/constants/ProtocolConstants.java +++ b/microsphere-java-core/src/main/java/io/microsphere/constants/ProtocolConstants.java @@ -3,11 +3,11 @@ */ package io.microsphere.constants; + import static io.microsphere.constants.FileConstants.EAR; import static io.microsphere.constants.FileConstants.JAR; import static io.microsphere.constants.FileConstants.WAR; import static io.microsphere.constants.FileConstants.ZIP; - /** * Protocol Constants Definition * diff --git a/microsphere-java-core/src/main/java/io/microsphere/constants/ResourceConstants.java b/microsphere-java-core/src/main/java/io/microsphere/constants/ResourceConstants.java index 002ef3d24..7f796f3ba 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/constants/ResourceConstants.java +++ b/microsphere-java-core/src/main/java/io/microsphere/constants/ResourceConstants.java @@ -18,7 +18,6 @@ package io.microsphere.constants; import io.microsphere.annotation.ConfigurationProperty; - /** * The Constants for Microsphere Resource * diff --git a/microsphere-java-core/src/main/java/io/microsphere/constants/SeparatorConstants.java b/microsphere-java-core/src/main/java/io/microsphere/constants/SeparatorConstants.java index 6a9b73587..dc6011cf7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/constants/SeparatorConstants.java +++ b/microsphere-java-core/src/main/java/io/microsphere/constants/SeparatorConstants.java @@ -10,7 +10,6 @@ import static java.io.File.pathSeparator; import static java.io.File.separator; import static java.lang.System.lineSeparator; - /** * Separator Constants *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/AbstractConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/AbstractConverter.java index 105a48ccb..80a57b939 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/AbstractConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/AbstractConverter.java @@ -21,7 +21,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.lang.Prioritized; import io.microsphere.logging.Logger; - import java.util.List; import java.util.Objects; @@ -30,7 +29,6 @@ import static io.microsphere.util.ClassUtils.getTypeName; import static io.microsphere.util.ExceptionUtils.wrap; import static java.util.Objects.hash; - /** * An abstract base class for implementing the {@link Converter} interface. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/ByteArrayToObjectConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/ByteArrayToObjectConverter.java index 403f839af..b0711c27e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/ByteArrayToObjectConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/ByteArrayToObjectConverter.java @@ -17,10 +17,8 @@ package io.microsphere.convert; import io.microsphere.io.DefaultDeserializer; - import java.io.IOException; import java.io.Serializable; - /** * The class coverts the {@link byte[] byte array} object to be a {@link Object} instance . * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/Converter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/Converter.java index 63b13eeef..cc2a0114f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/Converter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/Converter.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.Converters.findConverter; import static io.microsphere.reflect.TypeUtils.resolveActualTypeArgumentClass; import static io.microsphere.util.ClassUtils.isAssignableFrom; - /** * A functional interface that defines a strategy for converting values from one type ({@code S}) to another type ({@code T}). *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/Converters.java b/microsphere-java-core/src/main/java/io/microsphere/convert/Converters.java index d3507e194..a240a0b44 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/Converters.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/Converters.java @@ -18,9 +18,10 @@ package io.microsphere.convert; import io.microsphere.util.Utils; - +import java.util.ArrayList; import java.util.List; import java.util.Map.Entry; +import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.stream.Collectors; @@ -30,7 +31,6 @@ import static io.microsphere.collection.MapUtils.newConcurrentHashMap; import static io.microsphere.util.ClassLoaderUtils.getClassLoader; import static io.microsphere.util.ServiceLoaderUtils.loadServicesList; - /** * The utility class of {@link Converter} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/MapToPropertiesConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/MapToPropertiesConverter.java index a84af1cf2..5b64b4d86 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/MapToPropertiesConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/MapToPropertiesConverter.java @@ -18,7 +18,6 @@ import java.util.Map; import java.util.Properties; - /** * The {@link Map} To {@link Properties} {@link Converter} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/NumberToCharacterConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/NumberToCharacterConverter.java index 58006a55c..322c44db7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/NumberToCharacterConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/NumberToCharacterConverter.java @@ -18,8 +18,8 @@ package io.microsphere.convert; -import static java.lang.Character.valueOf; +import static java.lang.Character.valueOf; /** * The {@link Converter} for {@link Number} to {@link Character} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToBooleanConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToBooleanConverter.java index 843a2997a..7327afa55 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToBooleanConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToBooleanConverter.java @@ -17,8 +17,8 @@ package io.microsphere.convert; -import static io.microsphere.convert.Converter.convertIfPossible; +import static io.microsphere.convert.Converter.convertIfPossible; /** * The {@link Converter} for {@link Object} to {@link Boolean} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToByteArrayConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToByteArrayConverter.java index 0d2cea06f..0a20dec2e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToByteArrayConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToByteArrayConverter.java @@ -17,9 +17,7 @@ package io.microsphere.convert; import io.microsphere.io.DefaultSerializer; - import java.io.Serializable; - /** * The class coverts the {@link Object} instance to be {@link byte[] byte array} object. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToByteConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToByteConverter.java index d6cd4777c..908d7177e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToByteConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToByteConverter.java @@ -18,8 +18,8 @@ package io.microsphere.convert; -import static io.microsphere.convert.Converter.convertIfPossible; +import static io.microsphere.convert.Converter.convertIfPossible; /** * The {@link Converter} for {@link Object} to {@link Byte} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToCharacterConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToCharacterConverter.java index c3e125be7..d63aea6de 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToCharacterConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToCharacterConverter.java @@ -18,8 +18,8 @@ package io.microsphere.convert; -import static io.microsphere.convert.Converter.convertIfPossible; +import static io.microsphere.convert.Converter.convertIfPossible; /** * The {@link Converter} for {@link Object} to {@link Character} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToDoubleConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToDoubleConverter.java index d04a328dc..f49b47d34 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToDoubleConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToDoubleConverter.java @@ -17,8 +17,8 @@ package io.microsphere.convert; -import static io.microsphere.convert.Converter.convertIfPossible; +import static io.microsphere.convert.Converter.convertIfPossible; /** * The {@link Converter} for {@link Object} to {@link Double} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToFloatConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToFloatConverter.java index 72725fd63..fd06496b0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToFloatConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToFloatConverter.java @@ -17,8 +17,8 @@ package io.microsphere.convert; -import static io.microsphere.convert.Converter.convertIfPossible; +import static io.microsphere.convert.Converter.convertIfPossible; /** * The {@link Converter} for {@link Object} to {@link Float} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToIntegerConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToIntegerConverter.java index c1a798ddc..9c20c5def 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToIntegerConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToIntegerConverter.java @@ -17,8 +17,8 @@ package io.microsphere.convert; -import static io.microsphere.convert.Converter.convertIfPossible; +import static io.microsphere.convert.Converter.convertIfPossible; /** * The {@link Converter} for {@link Object} to {@link Integer} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToLongConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToLongConverter.java index 3d1d5e94b..9aa6ee1f2 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToLongConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToLongConverter.java @@ -17,8 +17,8 @@ package io.microsphere.convert; -import static io.microsphere.convert.Converter.convertIfPossible; +import static io.microsphere.convert.Converter.convertIfPossible; /** * The {@link Converter} for {@link Object} to {@link Long} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToOptionalConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToOptionalConverter.java index 7ecb8e241..0f5e51c3e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToOptionalConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToOptionalConverter.java @@ -19,7 +19,6 @@ import java.util.Optional; import static java.util.Optional.ofNullable; - /** * The class to convert {@link Object} to {@link Optional} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToShortConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToShortConverter.java index 15e0216dc..795ac30a0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToShortConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/ObjectToShortConverter.java @@ -18,8 +18,8 @@ package io.microsphere.convert; -import static io.microsphere.convert.Converter.convertIfPossible; +import static io.microsphere.convert.Converter.convertIfPossible; /** * The {@link Converter} for {@link Object} to {@link Short} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/PropertiesToStringConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/PropertiesToStringConverter.java index c33ce8e5b..1120c8d8b 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/PropertiesToStringConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/PropertiesToStringConverter.java @@ -18,7 +18,6 @@ import java.io.StringWriter; import java.util.Properties; - /** * The {@link Properties} To {@link String} {@link Converter} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToBooleanConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToBooleanConverter.java index 1639cc5e1..8fa0ac031 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToBooleanConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToBooleanConverter.java @@ -16,9 +16,9 @@ */ package io.microsphere.convert; + import static io.microsphere.util.CharSequenceUtils.isNotEmpty; import static java.lang.Boolean.valueOf; - /** * The class to convert {@link String} to {@link Boolean} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToByteConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToByteConverter.java index 3a9b03502..a845d35df 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToByteConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToByteConverter.java @@ -16,8 +16,8 @@ */ package io.microsphere.convert; -import static java.lang.Byte.valueOf; +import static java.lang.Byte.valueOf; /** * The class to convert {@link String} to {@link Byte} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToCharacterConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToCharacterConverter.java index 371e77391..ac786c99b 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToCharacterConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToCharacterConverter.java @@ -16,8 +16,8 @@ */ package io.microsphere.convert; -import static io.microsphere.util.CharSequenceUtils.length; +import static io.microsphere.util.CharSequenceUtils.length; /** * The class to convert {@link String} to {@link Character} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToClassConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToClassConverter.java index d6d1f273d..02f4a18bb 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToClassConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToClassConverter.java @@ -16,9 +16,9 @@ */ package io.microsphere.convert; + import static io.microsphere.util.ClassLoaderUtils.getDefaultClassLoader; import static io.microsphere.util.ClassLoaderUtils.resolveClass; - /** * The class to convert {@link String} to {@link Class} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDoubleConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDoubleConverter.java index bde25805a..000103eb7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDoubleConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDoubleConverter.java @@ -16,8 +16,8 @@ */ package io.microsphere.convert; -import static java.lang.Double.valueOf; +import static java.lang.Double.valueOf; /** * The class to convert {@link String} to {@link Double} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDurationConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDurationConverter.java index ef2396a20..3ec77bbaf 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDurationConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDurationConverter.java @@ -19,7 +19,6 @@ import java.time.Duration; import static java.time.Duration.parse; - /** * The class to convert {@link String} to {@link Duration} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToFloatConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToFloatConverter.java index c5e084abf..c6bbccb47 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToFloatConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToFloatConverter.java @@ -16,8 +16,8 @@ */ package io.microsphere.convert; -import static java.lang.Float.valueOf; +import static java.lang.Float.valueOf; /** * The class to convert {@link String} to {@link Float} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToInputStreamConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToInputStreamConverter.java index bef3371b0..e4d3a6c0b 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToInputStreamConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToInputStreamConverter.java @@ -18,13 +18,11 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.io.FastByteArrayInputStream; - import java.io.InputStream; import java.nio.charset.Charset; import static io.microsphere.nio.charset.CharsetUtils.DEFAULT_CHARSET; import static java.nio.charset.Charset.forName; - /** * The class to convert {@link String} to {@link InputStream} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToIntegerConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToIntegerConverter.java index f52ce578f..4340455bc 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToIntegerConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToIntegerConverter.java @@ -16,8 +16,8 @@ */ package io.microsphere.convert; -import static java.lang.Integer.valueOf; +import static java.lang.Integer.valueOf; /** * The class to convert {@link String} to {@link Integer} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToLongConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToLongConverter.java index 0f88e455f..284c0a2b8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToLongConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToLongConverter.java @@ -16,8 +16,8 @@ */ package io.microsphere.convert; -import static java.lang.Long.valueOf; +import static java.lang.Long.valueOf; /** * The class to convert {@link String} to {@link Long} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToShortConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToShortConverter.java index c65c3f9c5..fba96aab8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToShortConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToShortConverter.java @@ -16,8 +16,8 @@ */ package io.microsphere.convert; -import static java.lang.Short.valueOf; +import static java.lang.Short.valueOf; /** * The class to convert {@link String} to {@link Short} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToStringConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToStringConverter.java index 7bb26421d..5c6112861 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToStringConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToStringConverter.java @@ -16,8 +16,8 @@ */ package io.microsphere.convert; -import static java.lang.String.valueOf; +import static java.lang.String.valueOf; /** * The class to convert {@link String} to {@link String} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/MultiValueConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/MultiValueConverter.java index e8a27c065..75015377f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/MultiValueConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/MultiValueConverter.java @@ -17,14 +17,12 @@ package io.microsphere.convert.multiple; import io.microsphere.lang.Prioritized; - import java.util.Collection; import java.util.ServiceLoader; import static io.microsphere.reflect.TypeUtils.resolveActualTypeArgumentClass; import static io.microsphere.util.ClassLoaderUtils.getClassLoader; import static io.microsphere.util.ServiceLoaderUtils.loadServicesList; - /** * An interface to convert the source-typed value to multiple value, e.g , Java array, {@link Collection} or * sub-interfaces diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToArrayConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToArrayConverter.java index e0537ea81..ce6ede1d6 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToArrayConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToArrayConverter.java @@ -20,7 +20,6 @@ import static java.lang.reflect.Array.newInstance; import static java.lang.reflect.Array.set; - /** * The class to convert {@link String} to array-type object * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingDequeConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingDequeConverter.java index d8ccb6910..50e883d76 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingDequeConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingDequeConverter.java @@ -18,7 +18,6 @@ import java.util.concurrent.BlockingDeque; import java.util.concurrent.LinkedBlockingDeque; - /** * The class to convert {@link String} to {@link BlockingDeque}-based value * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingQueueConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingQueueConverter.java index 5fe866896..c7989996a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingQueueConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingQueueConverter.java @@ -19,7 +19,6 @@ import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingDeque; import java.util.concurrent.BlockingQueue; - /** * The class to convert {@link String} to {@link BlockingDeque}-based value * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToCollectionConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToCollectionConverter.java index 508a28191..35428fe08 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToCollectionConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToCollectionConverter.java @@ -18,7 +18,6 @@ import java.util.ArrayList; import java.util.Collection; - /** * The class to convert {@link String} to {@link Collection}-based value * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToDequeConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToDequeConverter.java index cdaacd860..c4d50a6b2 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToDequeConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToDequeConverter.java @@ -18,7 +18,6 @@ import java.util.ArrayDeque; import java.util.Deque; - /** * The class to convert {@link String} to {@link Deque}-based value * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToIterableConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToIterableConverter.java index a79604f0a..9b370e838 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToIterableConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToIterableConverter.java @@ -17,7 +17,6 @@ package io.microsphere.convert.multiple; import io.microsphere.convert.StringConverter; - import java.util.Collection; import java.util.Optional; @@ -25,7 +24,6 @@ import static io.microsphere.reflect.TypeUtils.resolveActualTypeArgumentClass; import static io.microsphere.util.ClassUtils.findAllInterfaces; import static io.microsphere.util.ClassUtils.isAssignableFrom; - /** * The class to convert {@link String} to {@link Iterable}-based value * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToListConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToListConverter.java index 358aeea30..0947595ab 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToListConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToListConverter.java @@ -18,7 +18,6 @@ import java.util.ArrayList; import java.util.List; - /** * The class to convert {@link String} to {@link List}-based value * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToMultiValueConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToMultiValueConverter.java index 61f8f614d..360614558 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToMultiValueConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToMultiValueConverter.java @@ -16,10 +16,10 @@ */ package io.microsphere.convert.multiple; + import static io.microsphere.constants.SymbolConstants.COMMA_CHAR; import static io.microsphere.util.ArrayUtils.length; import static io.microsphere.util.StringUtils.split; - /** * The class to convert {@link String} to multiple value object * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToNavigableSetConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToNavigableSetConverter.java index d7d9564f1..4ed9c8640 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToNavigableSetConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToNavigableSetConverter.java @@ -19,7 +19,6 @@ import java.util.NavigableSet; import java.util.SortedSet; import java.util.TreeSet; - /** * The class to convert {@link String} to {@link SortedSet}-based value * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToQueueConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToQueueConverter.java index c4929cf4f..7e5b669f4 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToQueueConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToQueueConverter.java @@ -19,7 +19,6 @@ import java.util.ArrayDeque; import java.util.Deque; import java.util.Queue; - /** * The class to convert {@link String} to {@link Deque}-based value * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToSetConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToSetConverter.java index 74b85962c..d93be79ea 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToSetConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToSetConverter.java @@ -18,7 +18,6 @@ import java.util.HashSet; import java.util.Set; - /** * The class to convert {@link String} to {@link Set}-based value * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToSortedSetConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToSortedSetConverter.java index 3ffe80f06..90ffd3687 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToSortedSetConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToSortedSetConverter.java @@ -18,7 +18,6 @@ import java.util.SortedSet; import java.util.TreeSet; - /** * The class to convert {@link String} to {@link SortedSet}-based value * diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToTransferQueueConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToTransferQueueConverter.java index 67e279e18..07f06ccb7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToTransferQueueConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToTransferQueueConverter.java @@ -18,7 +18,6 @@ import java.util.concurrent.LinkedTransferQueue; import java.util.concurrent.TransferQueue; - /** * The class to convert {@link String} to {@link TransferQueue}-based value * diff --git a/microsphere-java-core/src/main/java/io/microsphere/event/AbstractEventDispatcher.java b/microsphere-java-core/src/main/java/io/microsphere/event/AbstractEventDispatcher.java index 579cd90fe..b9109d9ff 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/event/AbstractEventDispatcher.java +++ b/microsphere-java-core/src/main/java/io/microsphere/event/AbstractEventDispatcher.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.Immutable; import io.microsphere.lang.Prioritized; import io.microsphere.logging.Logger; - import java.util.Collection; import java.util.LinkedList; import java.util.List; @@ -40,7 +39,6 @@ import static io.microsphere.util.ServiceLoaderUtils.loadServicesList; import static java.util.Collections.sort; import static java.util.Collections.unmodifiableList; - /** * Abstract implementation of {@link EventDispatcher} that provides common functionality for dispatching events to * registered listeners. diff --git a/microsphere-java-core/src/main/java/io/microsphere/event/DirectEventDispatcher.java b/microsphere-java-core/src/main/java/io/microsphere/event/DirectEventDispatcher.java index d1a5455ea..84a94844f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/event/DirectEventDispatcher.java +++ b/microsphere-java-core/src/main/java/io/microsphere/event/DirectEventDispatcher.java @@ -17,7 +17,6 @@ package io.microsphere.event; import io.microsphere.lang.Prioritized; - /** * A concrete implementation of {@link AbstractEventDispatcher} that uses a direct (synchronous) execution model. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/event/Event.java b/microsphere-java-core/src/main/java/io/microsphere/event/Event.java index 175e326f1..fd7892b50 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/event/Event.java +++ b/microsphere-java-core/src/main/java/io/microsphere/event/Event.java @@ -19,7 +19,6 @@ import java.util.EventObject; import static java.lang.System.currentTimeMillis; - /** * An event object is based on the Java standard {@link EventObject event} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/event/EventDispatcher.java b/microsphere-java-core/src/main/java/io/microsphere/event/EventDispatcher.java index 029896b79..a678bbe00 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/event/EventDispatcher.java +++ b/microsphere-java-core/src/main/java/io/microsphere/event/EventDispatcher.java @@ -17,7 +17,6 @@ package io.microsphere.event; import java.util.concurrent.Executor; - /** * An interface that defines the contract for dispatching events to registered listeners. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/event/EventListener.java b/microsphere-java-core/src/main/java/io/microsphere/event/EventListener.java index c85f1a5f2..c4ab61b9d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/event/EventListener.java +++ b/microsphere-java-core/src/main/java/io/microsphere/event/EventListener.java @@ -17,7 +17,6 @@ package io.microsphere.event; import io.microsphere.lang.Prioritized; - import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.Objects; @@ -25,7 +24,6 @@ import static io.microsphere.reflect.TypeUtils.asClass; import static io.microsphere.reflect.TypeUtils.getAllParameterizedTypes; import static io.microsphere.reflect.TypeUtils.isAssignableFrom; - /** * The {@link Event Event} Listener that is based on Java standard {@link java.util.EventListener} interface supports * the generic {@link Event}. diff --git a/microsphere-java-core/src/main/java/io/microsphere/event/GenericEventListener.java b/microsphere-java-core/src/main/java/io/microsphere/event/GenericEventListener.java index 7413b85bd..922778921 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/event/GenericEventListener.java +++ b/microsphere-java-core/src/main/java/io/microsphere/event/GenericEventListener.java @@ -18,8 +18,8 @@ import io.microsphere.lang.Prioritized; import io.microsphere.lang.function.ThrowableFunction; - import java.lang.reflect.Method; +import java.util.HashMap; import java.util.LinkedHashSet; import java.util.Map; import java.util.Set; @@ -28,7 +28,6 @@ import static io.microsphere.lang.function.ThrowableConsumer.execute; import static java.util.Collections.emptySet; import static java.util.stream.Stream.of; - /** * A generic implementation of the {@link EventListener} interface that supports multiple event handling methods. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/event/Listenable.java b/microsphere-java-core/src/main/java/io/microsphere/event/Listenable.java index 2a954753e..ef674f913 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/event/Listenable.java +++ b/microsphere-java-core/src/main/java/io/microsphere/event/Listenable.java @@ -17,7 +17,6 @@ package io.microsphere.event; import io.microsphere.annotation.Nonnull; - import java.util.ArrayList; import java.util.List; @@ -27,7 +26,6 @@ import static io.microsphere.util.ClassUtils.getTypeName; import static java.lang.reflect.Modifier.isFinal; import static java.util.stream.StreamSupport.stream; - /** * A component that allows registration and management of {@link EventListener} instances. * Implementations of this interface provide methods to add, remove, and retrieve event listeners, diff --git a/microsphere-java-core/src/main/java/io/microsphere/event/ParallelEventDispatcher.java b/microsphere-java-core/src/main/java/io/microsphere/event/ParallelEventDispatcher.java index 9ce772969..0919cc65f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/event/ParallelEventDispatcher.java +++ b/microsphere-java-core/src/main/java/io/microsphere/event/ParallelEventDispatcher.java @@ -20,7 +20,6 @@ import java.util.concurrent.ForkJoinPool; import static java.util.concurrent.ForkJoinPool.commonPool; - /** * Parallel {@link EventDispatcher} implementation. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/filter/ClassFileJarEntryFilter.java b/microsphere-java-core/src/main/java/io/microsphere/filter/ClassFileJarEntryFilter.java index 01cc772b4..286a5ce9e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/filter/ClassFileJarEntryFilter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/filter/ClassFileJarEntryFilter.java @@ -6,7 +6,6 @@ import java.util.jar.JarEntry; import static io.microsphere.constants.FileConstants.CLASS_EXTENSION; - /** * A {@link JarEntryFilter} implementation that filters only Java class files in a JAR. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/filter/Filter.java b/microsphere-java-core/src/main/java/io/microsphere/filter/Filter.java index 5850f5118..25e42a72c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/filter/Filter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/filter/Filter.java @@ -4,7 +4,6 @@ package io.microsphere.filter; import java.util.function.Predicate; - /** * The {@code Filter} interface represents a generic filtering mechanism that can be applied to objects of type {@code T}. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/filter/FilterOperator.java b/microsphere-java-core/src/main/java/io/microsphere/filter/FilterOperator.java index 7aabd613d..38824e1f0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/filter/FilterOperator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/filter/FilterOperator.java @@ -1,7 +1,7 @@ package io.microsphere.filter; -import static io.microsphere.util.ArrayUtils.length; +import static io.microsphere.util.ArrayUtils.length; /** * Enumeration representing various logical operations for combining multiple {@link Filter} instances. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/filter/FilterUtils.java b/microsphere-java-core/src/main/java/io/microsphere/filter/FilterUtils.java index 74db432fa..96365bb39 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/filter/FilterUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/filter/FilterUtils.java @@ -6,13 +6,11 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.util.Utils; - import java.util.ArrayList; import java.util.Iterator; import java.util.List; import static java.util.Collections.unmodifiableList; - /** * Utility class for working with {@link Filter} instances. * Provides static helper methods to apply filters to collections and iterate over filtered results. diff --git a/microsphere-java-core/src/main/java/io/microsphere/filter/JarEntryFilter.java b/microsphere-java-core/src/main/java/io/microsphere/filter/JarEntryFilter.java index c1bb2953b..e9f0198cb 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/filter/JarEntryFilter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/filter/JarEntryFilter.java @@ -4,7 +4,6 @@ package io.microsphere.filter; import java.util.jar.JarEntry; - /** * A filter for {@link JarEntry} objects. Implementations of this interface can be used to * selectively process or ignore entries within a JAR file. diff --git a/microsphere-java-core/src/main/java/io/microsphere/filter/PackageNameClassFilter.java b/microsphere-java-core/src/main/java/io/microsphere/filter/PackageNameClassFilter.java index d4dd524f6..199d21cda 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/filter/PackageNameClassFilter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/filter/PackageNameClassFilter.java @@ -3,8 +3,8 @@ */ package io.microsphere.filter; -import static io.microsphere.constants.SymbolConstants.DOT; +import static io.microsphere.constants.SymbolConstants.DOT; /** * {@link ClassFilter} implementation that filters classes based on their package name. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/filter/PackageNameClassNameFilter.java b/microsphere-java-core/src/main/java/io/microsphere/filter/PackageNameClassNameFilter.java index 1b91ffa11..5499dc584 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/filter/PackageNameClassNameFilter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/filter/PackageNameClassNameFilter.java @@ -3,10 +3,10 @@ */ package io.microsphere.filter; + import static io.microsphere.constants.SymbolConstants.DOT_CHAR; import static io.microsphere.util.ClassUtils.resolvePackageName; import static io.microsphere.util.StringUtils.isBlank; - /** * {@link PackageNameClassNameFilter} is a {@link Filter} implementation that filters class names based on their package name. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/invoke/MethodHandleUtils.java b/microsphere-java-core/src/main/java/io/microsphere/invoke/MethodHandleUtils.java index 950984621..b94508266 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/invoke/MethodHandleUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/invoke/MethodHandleUtils.java @@ -19,7 +19,6 @@ import io.microsphere.lang.function.ThrowableBiFunction; import io.microsphere.logging.Logger; import io.microsphere.util.Utils; - import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodHandles.Lookup; @@ -49,7 +48,6 @@ import static java.lang.invoke.MethodHandles.Lookup.PUBLIC; import static java.lang.invoke.MethodHandles.publicLookup; import static java.util.Objects.hash; - /** * Utility class for working with {@link MethodHandle}. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/invoke/MethodHandlesLookupUtils.java b/microsphere-java-core/src/main/java/io/microsphere/invoke/MethodHandlesLookupUtils.java index f0fcceed7..7ddb72110 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/invoke/MethodHandlesLookupUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/invoke/MethodHandlesLookupUtils.java @@ -19,7 +19,6 @@ import io.microsphere.lang.function.ThrowableBiFunction; import io.microsphere.logging.Logger; import io.microsphere.util.Utils; - import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; @@ -31,7 +30,6 @@ import static io.microsphere.util.ArrayUtils.isEmpty; import static java.lang.invoke.MethodHandles.publicLookup; import static java.lang.invoke.MethodType.methodType; - /** * Utilities class providing convenient methods for working with {@link MethodHandles.Lookup}. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/DefaultDeserializer.java b/microsphere-java-core/src/main/java/io/microsphere/io/DefaultDeserializer.java index 8bf257c3b..4b0754c7e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/DefaultDeserializer.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/DefaultDeserializer.java @@ -21,7 +21,6 @@ import java.io.Serializable; import static io.microsphere.util.ArrayUtils.isEmpty; - /** * Default implementation of the {@link Deserializer} interface using Java's built-in serialization mechanism. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/DefaultSerializer.java b/microsphere-java-core/src/main/java/io/microsphere/io/DefaultSerializer.java index a39e7cade..12d53e469 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/DefaultSerializer.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/DefaultSerializer.java @@ -19,7 +19,6 @@ import java.io.IOException; import java.io.ObjectOutputStream; import java.io.Serializable; - /** * A default implementation of the {@link Serializer} interface that uses Java's standard serialization mechanism. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/Deserializer.java b/microsphere-java-core/src/main/java/io/microsphere/io/Deserializer.java index 5803bec87..ecdadb7ec 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/Deserializer.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/Deserializer.java @@ -17,7 +17,6 @@ package io.microsphere.io; import java.io.IOException; - /** * A functional interface for deserializing byte arrays into objects of type {@code T}. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/Deserializers.java b/microsphere-java-core/src/main/java/io/microsphere/io/Deserializers.java index 6c42b54f7..492119994 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/Deserializers.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/Deserializers.java @@ -17,7 +17,6 @@ package io.microsphere.io; import io.microsphere.annotation.Nonnull; - import java.util.LinkedList; import java.util.List; import java.util.Map; @@ -29,7 +28,6 @@ import static io.microsphere.util.ClassLoaderUtils.getDefaultClassLoader; import static io.microsphere.util.ServiceLoaderUtils.loadServicesList; import static java.util.Collections.emptyList; - /** * A utility class for managing and retrieving {@link Deserializer} instances based on the deserialized type. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/FastByteArrayInputStream.java b/microsphere-java-core/src/main/java/io/microsphere/io/FastByteArrayInputStream.java index 87356b3f0..2660a3aa8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/FastByteArrayInputStream.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/FastByteArrayInputStream.java @@ -21,7 +21,6 @@ import static io.microsphere.util.ArrayUtils.arrayEquals; import static java.lang.System.arraycopy; import static java.util.Objects.hash; - /** * A fast, non-thread-safe implementation of {@link ByteArrayInputStream}. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/FastByteArrayOutputStream.java b/microsphere-java-core/src/main/java/io/microsphere/io/FastByteArrayOutputStream.java index f04bcff56..e811e6a48 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/FastByteArrayOutputStream.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/FastByteArrayOutputStream.java @@ -24,7 +24,6 @@ import static java.lang.Integer.MAX_VALUE; import static java.lang.System.arraycopy; import static java.util.Arrays.copyOf; - /** * A fast, non-thread-safe implementation of {@link ByteArrayOutputStream}. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/FileUtils.java b/microsphere-java-core/src/main/java/io/microsphere/io/FileUtils.java index 5e413a16b..a2eb67cea 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/FileUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/FileUtils.java @@ -8,7 +8,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.util.ArrayUtils; import io.microsphere.util.Utils; - import java.io.File; import java.io.IOException; import java.nio.file.NoSuchFileException; @@ -23,7 +22,6 @@ import static java.io.File.separatorChar; import static java.nio.file.Files.delete; import static java.nio.file.Files.isSymbolicLink; - /** * {@link File} Utility * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/FileWatchService.java b/microsphere-java-core/src/main/java/io/microsphere/io/FileWatchService.java index 0b16e26e1..7462e7229 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/FileWatchService.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/FileWatchService.java @@ -18,9 +18,7 @@ import io.microsphere.io.event.FileChangedEvent; import io.microsphere.io.event.FileChangedListener; - import java.io.File; - /** * A service that watches files or directories for changes and notifies registered listeners. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/IOUtils.java b/microsphere-java-core/src/main/java/io/microsphere/io/IOUtils.java index e504a0a4f..b650b4fb9 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/IOUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/IOUtils.java @@ -21,7 +21,6 @@ import io.microsphere.nio.charset.CharsetUtils; import io.microsphere.util.StringUtils; import io.microsphere.util.Utils; - import java.io.Closeable; import java.io.IOException; import java.io.InputStream; @@ -45,7 +44,6 @@ import static java.lang.Integer.parseInt; import static java.nio.charset.Charset.forName; import static java.util.Objects.requireNonNull; - /** * The utilities class for I/O * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/Serializer.java b/microsphere-java-core/src/main/java/io/microsphere/io/Serializer.java index 828666bde..c47be20c6 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/Serializer.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/Serializer.java @@ -17,7 +17,6 @@ package io.microsphere.io; import java.io.IOException; - /** * A strategy interface for serializing objects of type {@code S} into a byte array. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/Serializers.java b/microsphere-java-core/src/main/java/io/microsphere/io/Serializers.java index 581d37425..acaa6bf6b 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/Serializers.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/Serializers.java @@ -17,7 +17,6 @@ package io.microsphere.io; import io.microsphere.annotation.Nonnull; - import java.util.LinkedList; import java.util.List; import java.util.Map; @@ -29,7 +28,6 @@ import static io.microsphere.util.ClassLoaderUtils.getDefaultClassLoader; import static io.microsphere.util.ServiceLoaderUtils.loadServicesList; import static java.util.Collections.emptyList; - /** * A utility class for managing and retrieving {@link Serializer} instances. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/StandardFileWatchService.java b/microsphere-java-core/src/main/java/io/microsphere/io/StandardFileWatchService.java index 80b334813..ebb409d9d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/StandardFileWatchService.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/StandardFileWatchService.java @@ -23,7 +23,6 @@ import io.microsphere.io.event.FileChangedEvent.Kind; import io.microsphere.io.event.FileChangedListener; import io.microsphere.logging.Logger; - import java.io.File; import java.nio.file.FileSystem; import java.nio.file.Path; @@ -63,7 +62,6 @@ import static java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY; import static java.util.concurrent.Executors.newSingleThreadExecutor; import static java.util.concurrent.TimeUnit.MILLISECONDS; - /** * /** * Standard implementation of the {@link FileWatchService} interface using JDK 7's diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/StringBuilderWriter.java b/microsphere-java-core/src/main/java/io/microsphere/io/StringBuilderWriter.java index 4efc8a200..533e5f996 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/StringBuilderWriter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/StringBuilderWriter.java @@ -22,7 +22,6 @@ import static io.microsphere.util.ArrayUtils.isNotEmpty; import static io.microsphere.util.CharSequenceUtils.isNotEmpty; - /** * {@link Writer} implementation that outputs to a {@link StringBuilder}. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/StringDeserializer.java b/microsphere-java-core/src/main/java/io/microsphere/io/StringDeserializer.java index 1b61088ff..6f9127892 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/StringDeserializer.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/StringDeserializer.java @@ -20,7 +20,6 @@ import java.nio.charset.Charset; import static java.nio.charset.StandardCharsets.UTF_8; - /** * A {@link Deserializer} implementation for converting byte arrays into {@link String} instances. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/StringSerializer.java b/microsphere-java-core/src/main/java/io/microsphere/io/StringSerializer.java index 6f6dee9d2..277406b5a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/StringSerializer.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/StringSerializer.java @@ -20,7 +20,6 @@ import java.nio.charset.Charset; import static java.nio.charset.StandardCharsets.UTF_8; - /** * A {@link Serializer} implementation for converting {@link String} objects into byte arrays using a specified charset. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/event/FileChangedEvent.java b/microsphere-java-core/src/main/java/io/microsphere/io/event/FileChangedEvent.java index 3a27521d0..16b3d911e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/event/FileChangedEvent.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/event/FileChangedEvent.java @@ -18,11 +18,9 @@ import io.microsphere.annotation.Immutable; import io.microsphere.event.Event; - import java.io.File; import static io.microsphere.util.Assert.assertNotNull; - /** * The event raised when the {@link File file} is changed * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/event/FileChangedListener.java b/microsphere-java-core/src/main/java/io/microsphere/io/event/FileChangedListener.java index 6f387f3c1..13d437d80 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/event/FileChangedListener.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/event/FileChangedListener.java @@ -19,7 +19,6 @@ import io.microsphere.event.Event; import io.microsphere.event.EventListener; import io.microsphere.io.event.FileChangedEvent.Kind; - /** * A listener interface for receiving file change events. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/event/LoggingFileChangedListener.java b/microsphere-java-core/src/main/java/io/microsphere/io/event/LoggingFileChangedListener.java index 00befdff1..531a53877 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/event/LoggingFileChangedListener.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/event/LoggingFileChangedListener.java @@ -19,7 +19,6 @@ import io.microsphere.logging.Logger; import static io.microsphere.logging.LoggerFactory.getLogger; - /** * A {@link FileChangedListener} implementation that logs file change events at the debug level. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/filter/DirectoryFileFilter.java b/microsphere-java-core/src/main/java/io/microsphere/io/filter/DirectoryFileFilter.java index a33722ea4..783384140 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/filter/DirectoryFileFilter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/filter/DirectoryFileFilter.java @@ -17,7 +17,6 @@ package io.microsphere.io.filter; import java.io.File; - /** * This filter accepts {@link File} objects that are directories. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/filter/FileExtensionFilter.java b/microsphere-java-core/src/main/java/io/microsphere/io/filter/FileExtensionFilter.java index 6115094f6..513dea064 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/filter/FileExtensionFilter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/filter/FileExtensionFilter.java @@ -17,14 +17,12 @@ package io.microsphere.io.filter; import io.microsphere.io.FileUtils; - import java.io.File; import static io.microsphere.constants.SymbolConstants.DOT; import static io.microsphere.io.FileUtils.getFileExtension; import static io.microsphere.util.StringUtils.isBlank; import static io.microsphere.util.SystemUtils.IS_OS_WINDOWS; - /** * A filter that matches files based on their extensions. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/filter/IOFileFilter.java b/microsphere-java-core/src/main/java/io/microsphere/io/filter/IOFileFilter.java index c030c5406..578bf1340 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/filter/IOFileFilter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/filter/IOFileFilter.java @@ -17,11 +17,9 @@ package io.microsphere.io.filter; import io.microsphere.filter.Filter; - import java.io.File; import java.io.FileFilter; import java.io.FilenameFilter; - /** * A compound interface that combines the functionalities of {@link FileFilter} and * {@link FilenameFilter}. Implementations of this interface can be used to filter both diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/filter/NameFileFilter.java b/microsphere-java-core/src/main/java/io/microsphere/io/filter/NameFileFilter.java index c71c2032d..e2d2c42bc 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/filter/NameFileFilter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/filter/NameFileFilter.java @@ -17,7 +17,6 @@ package io.microsphere.io.filter; import java.io.File; - /** * Filters filenames for a certain name. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/filter/TrueFileFilter.java b/microsphere-java-core/src/main/java/io/microsphere/io/filter/TrueFileFilter.java index d57deba17..11b252027 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/filter/TrueFileFilter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/filter/TrueFileFilter.java @@ -17,7 +17,6 @@ package io.microsphere.io.filter; import java.io.File; - /** * {@link IOFileFilter} implementation always returns true * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/Scanner.java b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/Scanner.java index 3a802484d..35a63a050 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/Scanner.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/Scanner.java @@ -5,9 +5,7 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.filter.Filter; - import java.util.Set; - /** * A component that scans elements of type {@code S} and produces a set of results of type {@code R}. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleClassScanner.java b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleClassScanner.java index 14143c44e..90a7765b9 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleClassScanner.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleClassScanner.java @@ -7,7 +7,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.filter.PackageNameClassNameFilter; import io.microsphere.lang.ClassDataRepository; - import java.io.File; import java.net.URL; import java.util.Collection; @@ -29,7 +28,6 @@ import static io.microsphere.util.ClassUtils.findClassNamesInClassPath; import static io.microsphere.util.StringUtils.substringBefore; import static java.util.Collections.unmodifiableSet; - /** * A simple scanner for scanning {@link Class} objects under a specified package or archive. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleFileScanner.java b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleFileScanner.java index 88b38f36d..96ff70c1c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleFileScanner.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleFileScanner.java @@ -4,13 +4,12 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.io.filter.IOFileFilter; import io.microsphere.io.filter.TrueFileFilter; - import java.io.File; +import java.util.LinkedHashSet; import java.util.Set; import static io.microsphere.collection.SetUtils.newLinkedHashSet; import static java.util.Collections.unmodifiableSet; - /** * Simple File Scanner (Single-Thread) * diff --git a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleJarEntryScanner.java b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleJarEntryScanner.java index e389345fe..4719e0df9 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleJarEntryScanner.java +++ b/microsphere-java-core/src/main/java/io/microsphere/io/scanner/SimpleJarEntryScanner.java @@ -7,9 +7,9 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.filter.JarEntryFilter; import io.microsphere.util.jar.JarUtils; - import java.io.IOException; import java.net.URL; +import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import java.util.jar.JarEntry; @@ -22,7 +22,6 @@ import static io.microsphere.util.jar.JarUtils.resolveRelativePath; import static io.microsphere.util.jar.JarUtils.toJarFile; import static java.util.Collections.unmodifiableSet; - /** * A simple scanner for {@link JarEntry} that provides methods to scan and filter entries within a JAR file. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/json/JSON.java b/microsphere-java-core/src/main/java/io/microsphere/json/JSON.java index 75f23f252..75b615f8f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/json/JSON.java +++ b/microsphere-java-core/src/main/java/io/microsphere/json/JSON.java @@ -16,11 +16,11 @@ package io.microsphere.json; + import static java.lang.Double.isInfinite; import static java.lang.Double.isNaN; import static java.lang.Double.parseDouble; import static java.lang.Double.valueOf; - class JSON { static double checkDouble(double d) throws JSONException { diff --git a/microsphere-java-core/src/main/java/io/microsphere/json/JSONArray.java b/microsphere-java-core/src/main/java/io/microsphere/json/JSONArray.java index 237b71f5e..27215d974 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/json/JSONArray.java +++ b/microsphere-java-core/src/main/java/io/microsphere/json/JSONArray.java @@ -17,7 +17,6 @@ package io.microsphere.json; import io.microsphere.json.JSONStringer.Scope; - import java.lang.reflect.Array; import java.util.ArrayList; import java.util.Enumeration; @@ -37,7 +36,6 @@ import static java.lang.Double.NaN; import static java.lang.Math.min; import static java.lang.reflect.Array.getLength; - /** * A dense indexed sequence of values. Values may be any mix of {@link JSONObject JSONObjects}, * other {@link JSONArray JSONArrays}, Strings, Booleans, Integers, Longs, Doubles, diff --git a/microsphere-java-core/src/main/java/io/microsphere/json/JSONObject.java b/microsphere-java-core/src/main/java/io/microsphere/json/JSONObject.java index 8f58147d2..3ea83cf7f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/json/JSONObject.java +++ b/microsphere-java-core/src/main/java/io/microsphere/json/JSONObject.java @@ -17,7 +17,6 @@ package io.microsphere.json; import io.microsphere.json.JSONStringer.Scope; - import java.util.ArrayList; import java.util.Enumeration; import java.util.Iterator; @@ -43,7 +42,6 @@ import static io.microsphere.util.ClassUtils.isEnum; import static io.microsphere.util.ClassUtils.isNumber; import static io.microsphere.util.ClassUtils.isWrapperType; - /** * A modifiable set of name/value mappings. Names are unique, non-null strings. Values may * be any mix of {@link JSONObject JSONObjects}, {@link JSONArray JSONArrays}, Strings, diff --git a/microsphere-java-core/src/main/java/io/microsphere/json/JSONStringer.java b/microsphere-java-core/src/main/java/io/microsphere/json/JSONStringer.java index 79bfd6380..4c3b51fc4 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/json/JSONStringer.java +++ b/microsphere-java-core/src/main/java/io/microsphere/json/JSONStringer.java @@ -29,7 +29,6 @@ import static io.microsphere.util.ClassUtils.getTypeName; import static java.lang.String.format; import static java.util.Arrays.fill; - /** * Implements {@link JSONObject#toString} and {@link JSONArray#toString}. Most application * developers should use those methods directly and disregard this API. diff --git a/microsphere-java-core/src/main/java/io/microsphere/json/JSONTokener.java b/microsphere-java-core/src/main/java/io/microsphere/json/JSONTokener.java index f17066c58..7e5f0478e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/json/JSONTokener.java +++ b/microsphere-java-core/src/main/java/io/microsphere/json/JSONTokener.java @@ -16,6 +16,7 @@ package io.microsphere.json; + import static io.microsphere.json.JSONObject.NULL; import static java.lang.Boolean.FALSE; import static java.lang.Boolean.TRUE; @@ -23,7 +24,6 @@ import static java.lang.Integer.MAX_VALUE; import static java.lang.Integer.MIN_VALUE; import static java.lang.Long.parseLong; - /** * Parses a JSON (RFC 4627) encoded * string into the corresponding object. Most clients of this class will use only need the diff --git a/microsphere-java-core/src/main/java/io/microsphere/json/JSONUtils.java b/microsphere-java-core/src/main/java/io/microsphere/json/JSONUtils.java index 225c01451..e45024e86 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/json/JSONUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/json/JSONUtils.java @@ -23,13 +23,16 @@ import io.microsphere.util.CharSequenceUtils; import io.microsphere.util.ClassUtils; import io.microsphere.util.Utils; - import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; +import java.util.ArrayDeque; +import java.util.ArrayList; import java.util.Collection; import java.util.Enumeration; import java.util.Iterator; +import java.util.LinkedHashMap; +import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; @@ -72,7 +75,6 @@ import static java.lang.reflect.Array.getLength; import static java.lang.reflect.Array.newInstance; import static java.lang.reflect.Array.set; - /** * Utility class for generating and manipulating JSON strings. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/ClassDataRepository.java b/microsphere-java-core/src/main/java/io/microsphere/lang/ClassDataRepository.java index 65407e287..51687779c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/ClassDataRepository.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/ClassDataRepository.java @@ -20,7 +20,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.ClassPathUtils; - import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util.Map; @@ -38,7 +37,6 @@ import static java.util.Collections.emptySet; import static java.util.Collections.unmodifiableMap; import static java.util.Collections.unmodifiableSet; - /** * A repository class that manages and provides access to classpath and class-related metadata. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/DelegatingWrapper.java b/microsphere-java-core/src/main/java/io/microsphere/lang/DelegatingWrapper.java index fca5a7192..cc0bdf4a5 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/DelegatingWrapper.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/DelegatingWrapper.java @@ -16,8 +16,8 @@ */ package io.microsphere.lang; -import static io.microsphere.constants.SymbolConstants.QUOTE; +import static io.microsphere.constants.SymbolConstants.QUOTE; /** * A delegating {@link Wrapper} interface that provides default implementations for unwrapping and checking * wrapped object types. This interface is designed to be extended by classes that want to provide a delegated diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/Deprecation.java b/microsphere-java-core/src/main/java/io/microsphere/lang/Deprecation.java index 6b88f5762..038c1e548 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/Deprecation.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/Deprecation.java @@ -20,7 +20,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Version; - import java.io.Serializable; import java.util.Objects; @@ -29,7 +28,6 @@ import static io.microsphere.util.Assert.assertNotNull; import static io.microsphere.util.ObjectUtils.defaultIfNull; import static java.util.Objects.hash; - /** * A serializable class that provides detailed information about deprecation. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/Prioritized.java b/microsphere-java-core/src/main/java/io/microsphere/lang/Prioritized.java index 067e87ce8..5fd303c16 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/Prioritized.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/Prioritized.java @@ -16,12 +16,12 @@ */ package io.microsphere.lang; +import java.util.ArrayList; import java.util.Comparator; import static java.lang.Integer.MAX_VALUE; import static java.lang.Integer.MIN_VALUE; import static java.lang.Integer.compare; - /** * {@code Prioritized} interface can be implemented by objects that * should be sorted, for example the tasks in executable queue. diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/function/Predicates.java b/microsphere-java-core/src/main/java/io/microsphere/lang/function/Predicates.java index 36800969b..23cbb0720 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/function/Predicates.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/function/Predicates.java @@ -18,11 +18,9 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; - import java.util.function.Predicate; import static io.microsphere.util.ArrayUtils.length; - /** * The utilities class for Java {@link Predicate} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/function/Streams.java b/microsphere-java-core/src/main/java/io/microsphere/lang/function/Streams.java index 33745022d..e5eec5083 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/function/Streams.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/function/Streams.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.collection.SetUtils; - import java.util.LinkedHashSet; import java.util.List; import java.util.Set; @@ -34,7 +33,6 @@ import static java.util.Arrays.asList; import static java.util.stream.Collectors.toList; import static java.util.stream.Stream.of; - /** * The utilities class for {@link Stream} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableAction.java b/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableAction.java index 3b40ecde8..bf5f72f85 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableAction.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableAction.java @@ -19,7 +19,6 @@ import java.util.function.Consumer; import static io.microsphere.util.Assert.assertNotNull; - /** * A functional interface for actions that may throw a {@link Throwable}. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableBiConsumer.java b/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableBiConsumer.java index 03f2cbfd0..c5af80af5 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableBiConsumer.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableBiConsumer.java @@ -20,7 +20,6 @@ import java.util.function.BiConsumer; import static java.util.Objects.requireNonNull; - /** * Represents an operation that accepts two input arguments and returns no result, * potentially throwing a {@link Throwable}. This is the two-arity specialization of diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableBiFunction.java b/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableBiFunction.java index 1838ac85f..763d3eda8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableBiFunction.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableBiFunction.java @@ -20,7 +20,6 @@ import static io.microsphere.text.FormatUtils.format; import static io.microsphere.util.Assert.assertNotNull; - /** * Represents a function that accepts two arguments and produces a result, which may throw a {@link Throwable}. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableConsumer.java b/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableConsumer.java index 6f4c1ce7d..603820d0c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableConsumer.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableConsumer.java @@ -21,7 +21,6 @@ import java.util.function.Function; import static io.microsphere.util.Assert.assertNotNull; - /** * Represents an operation that accepts a single input argument and returns no * result, which may throw a {@link Throwable}. diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableFunction.java b/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableFunction.java index fff8b9ac8..04aa695d2 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableFunction.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableFunction.java @@ -20,7 +20,6 @@ import java.util.function.Function; import static io.microsphere.util.Assert.assertNotNull; - /** * Represents a function that accepts one argument and produces a result, which may throw a checked exception. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableSupplier.java b/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableSupplier.java index fbf9d8011..cc47f6fb0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableSupplier.java +++ b/microsphere-java-core/src/main/java/io/microsphere/lang/function/ThrowableSupplier.java @@ -4,7 +4,6 @@ import java.util.function.Supplier; import static io.microsphere.util.Assert.assertNotNull; - /** * A functional interface similar to {@link Supplier}, but allows the {@code get()} method to throw a * {@link Throwable}. This is useful for functional constructs where operations may throw checked exceptions that need diff --git a/microsphere-java-core/src/main/java/io/microsphere/logging/AbstractLogger.java b/microsphere-java-core/src/main/java/io/microsphere/logging/AbstractLogger.java index 2bdfd606b..89245a973 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/logging/AbstractLogger.java +++ b/microsphere-java-core/src/main/java/io/microsphere/logging/AbstractLogger.java @@ -21,7 +21,6 @@ import static io.microsphere.text.FormatUtils.format; import static io.microsphere.util.ArrayUtils.length; - /** * An abstract implementation of the {@link Logger} interface, providing common functionality for concrete logger implementations. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/logging/JDKLoggerFactory.java b/microsphere-java-core/src/main/java/io/microsphere/logging/JDKLoggerFactory.java index 2827d0b49..415f539f2 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/logging/JDKLoggerFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/logging/JDKLoggerFactory.java @@ -17,7 +17,6 @@ package io.microsphere.logging; import io.microsphere.lang.Prioritized; - import java.util.logging.Level; import static java.util.logging.Level.ALL; @@ -25,7 +24,6 @@ import static java.util.logging.Level.INFO; import static java.util.logging.Level.SEVERE; import static java.util.logging.Level.WARNING; - /** * A {@link LoggerFactory} implementation that creates and manages instances of JDK logging ({@link java.util.logging.Logger}). * diff --git a/microsphere-java-core/src/main/java/io/microsphere/logging/LoggerFactory.java b/microsphere-java-core/src/main/java/io/microsphere/logging/LoggerFactory.java index edcdcecf6..aa3a2d30e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/logging/LoggerFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/logging/LoggerFactory.java @@ -19,7 +19,7 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.lang.Prioritized; - +import java.util.LinkedList; import java.util.List; import java.util.function.Predicate; @@ -27,7 +27,6 @@ import static java.util.Collections.sort; import static java.util.Objects.nonNull; import static java.util.ServiceLoader.load; - /** * The {@code LoggerFactory} serves as an abstract base class for creating and managing * instances of the {@link Logger} type. It also implements the {@link Prioritized} diff --git a/microsphere-java-core/src/main/java/io/microsphere/logging/NoOpLogger.java b/microsphere-java-core/src/main/java/io/microsphere/logging/NoOpLogger.java index 9f5cc1f66..b04e10ce0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/logging/NoOpLogger.java +++ b/microsphere-java-core/src/main/java/io/microsphere/logging/NoOpLogger.java @@ -16,8 +16,8 @@ */ package io.microsphere.logging; -import static io.microsphere.util.StringUtils.isBlank; +import static io.microsphere.util.StringUtils.isBlank; /** * A no-operation implementation of the {@link Logger} interface. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/logging/Sfl4jLoggerFactory.java b/microsphere-java-core/src/main/java/io/microsphere/logging/Sfl4jLoggerFactory.java index db8831489..edd9424c0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/logging/Sfl4jLoggerFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/logging/Sfl4jLoggerFactory.java @@ -17,7 +17,6 @@ package io.microsphere.logging; import io.microsphere.lang.Prioritized; - /** * The {@link LoggerFactory} implementation for creating and managing SLF4J-based {@link Logger} instances. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/JmxUtils.java b/microsphere-java-core/src/main/java/io/microsphere/management/JmxUtils.java index 5f2d1cc5c..7d58fc518 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/JmxUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/JmxUtils.java @@ -22,22 +22,6 @@ import io.microsphere.logging.Logger; import io.microsphere.management.builder.MBeanParameterInfoBuilder; import io.microsphere.util.Utils; - -import javax.management.AttributeNotFoundException; -import javax.management.Descriptor; -import javax.management.DescriptorKey; -import javax.management.ImmutableDescriptor; -import javax.management.InstanceNotFoundException; -import javax.management.IntrospectionException; -import javax.management.MBeanAttributeInfo; -import javax.management.MBeanConstructorInfo; -import javax.management.MBeanInfo; -import javax.management.MBeanNotificationInfo; -import javax.management.MBeanOperationInfo; -import javax.management.MBeanParameterInfo; -import javax.management.MBeanServer; -import javax.management.ObjectName; -import javax.management.ReflectionException; import java.lang.annotation.Annotation; import java.lang.management.ClassLoadingMXBean; import java.lang.management.CompilationMXBean; @@ -52,10 +36,26 @@ import java.lang.reflect.AnnotatedElement; import java.lang.reflect.Method; import java.lang.reflect.Parameter; +import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; +import javax.management.AttributeNotFoundException; +import javax.management.Descriptor; +import javax.management.DescriptorKey; +import javax.management.ImmutableDescriptor; +import javax.management.InstanceNotFoundException; +import javax.management.IntrospectionException; +import javax.management.MBeanAttributeInfo; +import javax.management.MBeanConstructorInfo; +import javax.management.MBeanInfo; +import javax.management.MBeanNotificationInfo; +import javax.management.MBeanOperationInfo; +import javax.management.MBeanParameterInfo; +import javax.management.MBeanServer; +import javax.management.ObjectName; +import javax.management.ReflectionException; import static io.microsphere.collection.MapUtils.newFixedHashMap; import static io.microsphere.collection.MapUtils.newHashMap; @@ -70,7 +70,6 @@ import static java.util.Optional.ofNullable; import static java.util.stream.Stream.of; import static javax.management.ImmutableDescriptor.EMPTY_DESCRIPTOR; - /** * The utilities class for JMX operations, providing convenient methods to interact with MBeans and MXBeans. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/MBeanAttribute.java b/microsphere-java-core/src/main/java/io/microsphere/management/MBeanAttribute.java index f74c87978..c13061327 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/MBeanAttribute.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/MBeanAttribute.java @@ -18,13 +18,11 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; - import javax.management.Attribute; import javax.management.MBeanAttributeInfo; import javax.management.MBeanInfo; import static java.util.Objects.requireNonNull; - /** * Represents an MBean attribute, encapsulating the {@link MBeanAttributeInfo} and its optional value. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/ManagementUtils.java b/microsphere-java-core/src/main/java/io/microsphere/management/ManagementUtils.java index 7ebaa8243..6c11be1a0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/ManagementUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/ManagementUtils.java @@ -3,12 +3,10 @@ import io.microsphere.process.ProcessIdResolver; import io.microsphere.util.ServiceLoaderUtils; import io.microsphere.util.Utils; - import java.util.Objects; import static io.microsphere.process.ProcessIdResolver.UNKNOWN_PROCESS_ID; import static io.microsphere.util.ServiceLoaderUtils.loadServicesList; - /** * Utility class for management-related operations * diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanAttributeInfoBuilder.java b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanAttributeInfoBuilder.java index 80b29c817..384a32c57 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanAttributeInfoBuilder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanAttributeInfoBuilder.java @@ -18,12 +18,10 @@ package io.microsphere.management.builder; import io.microsphere.annotation.Nonnull; - import javax.management.MBeanAttributeInfo; import static io.microsphere.util.Assert.assertNotNull; import static io.microsphere.util.ClassUtils.getTypeName; - /** * {@link MBeanAttributeInfo} Builder * diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanConstructorInfoBuilder.java b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanConstructorInfoBuilder.java index 8f84bfa17..066dda4b0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanConstructorInfoBuilder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanConstructorInfoBuilder.java @@ -20,7 +20,6 @@ import javax.management.MBeanConstructorInfo; import javax.management.MBeanFeatureInfo; import java.lang.reflect.Constructor; - /** * {@link MBeanConstructorInfo} Builder * diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanDescribableBuilder.java b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanDescribableBuilder.java index 602b3f1aa..4d8b66bd1 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanDescribableBuilder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanDescribableBuilder.java @@ -18,11 +18,9 @@ package io.microsphere.management.builder; import io.microsphere.annotation.Nullable; - import javax.management.Descriptor; import javax.management.DescriptorRead; import javax.management.MBeanFeatureInfo; - /** * MBean Describable Builder * diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanExecutableInfoBuilder.java b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanExecutableInfoBuilder.java index d195544b2..60daca038 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanExecutableInfoBuilder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanExecutableInfoBuilder.java @@ -19,7 +19,6 @@ package io.microsphere.management.builder; import io.microsphere.management.JmxUtils; - import javax.management.Descriptor; import javax.management.MBeanConstructorInfo; import javax.management.MBeanFeatureInfo; @@ -33,7 +32,6 @@ import static io.microsphere.management.JmxUtils.descriptorForElement; import static io.microsphere.management.builder.MBeanParameterInfoBuilder.parameter; import static java.util.Collections.addAll; - /** * MBean {@link Executable} Info Builder * diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanFeatureInfoBuilder.java b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanFeatureInfoBuilder.java index b572d3be9..93c31c3b0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanFeatureInfoBuilder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanFeatureInfoBuilder.java @@ -18,9 +18,7 @@ package io.microsphere.management.builder; import io.microsphere.annotation.Nullable; - import javax.management.MBeanFeatureInfo; - /** * {@link MBeanFeatureInfo} Builder * diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanInfoBuilder.java b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanInfoBuilder.java index ac61033d5..8070ef8c0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanInfoBuilder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanInfoBuilder.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; - import javax.management.MBeanAttributeInfo; import javax.management.MBeanConstructorInfo; import javax.management.MBeanInfo; @@ -37,7 +36,6 @@ import static io.microsphere.reflect.MethodUtils.isIsMethod; import static io.microsphere.util.ClassUtils.getTypeName; import static java.util.Objects.nonNull; - /** * The {@link MBeanInfo} Builder * diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanNotificationInfoBuilder.java b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanNotificationInfoBuilder.java index 7a9b98089..4e3612714 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanNotificationInfoBuilder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanNotificationInfoBuilder.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.util.ClassUtils; - import javax.management.MBeanFeatureInfo; import javax.management.MBeanNotificationInfo; import java.util.Objects; @@ -27,7 +26,6 @@ import static io.microsphere.util.ArrayUtils.EMPTY_STRING_ARRAY; import static io.microsphere.util.ArrayUtils.isEmpty; import static java.util.stream.Stream.of; - /** * {@link MBeanNotificationInfo} Builder * diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanOperationInfoBuilder.java b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanOperationInfoBuilder.java index 576cd103d..89851b182 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanOperationInfoBuilder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanOperationInfoBuilder.java @@ -18,14 +18,12 @@ package io.microsphere.management.builder; import io.microsphere.annotation.Nonnull; - import javax.management.MBeanFeatureInfo; import javax.management.MBeanOperationInfo; import java.lang.reflect.Method; import static io.microsphere.management.builder.MBeanOperationInfoBuilder.Impact.UNKNOWN; import static io.microsphere.util.ClassUtils.getTypeName; - /** * {@link MBeanOperationInfo} Builder * diff --git a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanParameterInfoBuilder.java b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanParameterInfoBuilder.java index bd4c8b592..25af72b89 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanParameterInfoBuilder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/management/builder/MBeanParameterInfoBuilder.java @@ -18,7 +18,6 @@ package io.microsphere.management.builder; import io.microsphere.annotation.Nonnull; - import javax.management.Descriptor; import javax.management.MBeanFeatureInfo; import javax.management.MBeanParameterInfo; @@ -27,7 +26,6 @@ import static io.microsphere.management.JmxUtils.descriptorForAnnotations; import static io.microsphere.util.ClassUtils.getTypeName; - /** * {@link MBeanParameterInfo} Builder * diff --git a/microsphere-java-core/src/main/java/io/microsphere/metadata/AdditionalMetadataResourceConfigurationPropertyLoader.java b/microsphere-java-core/src/main/java/io/microsphere/metadata/AdditionalMetadataResourceConfigurationPropertyLoader.java index 9f906c3a8..fbbeb1139 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/metadata/AdditionalMetadataResourceConfigurationPropertyLoader.java +++ b/microsphere-java-core/src/main/java/io/microsphere/metadata/AdditionalMetadataResourceConfigurationPropertyLoader.java @@ -20,7 +20,6 @@ import io.microsphere.constants.ResourceConstants; import static io.microsphere.constants.ResourceConstants.ADDITIONAL_CONFIGURATION_PROPERTY_METADATA_RESOURCE; - /** * {@link ConfigurationPropertyLoader} class to load the additional configuration properties metadata from * {@link ResourceConstants#ADDITIONAL_CONFIGURATION_PROPERTY_METADATA_RESOURCE resource location}. diff --git a/microsphere-java-core/src/main/java/io/microsphere/metadata/ClassPathResourceConfigurationPropertyLoader.java b/microsphere-java-core/src/main/java/io/microsphere/metadata/ClassPathResourceConfigurationPropertyLoader.java index e68511f90..7e30a85c3 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/metadata/ClassPathResourceConfigurationPropertyLoader.java +++ b/microsphere-java-core/src/main/java/io/microsphere/metadata/ClassPathResourceConfigurationPropertyLoader.java @@ -22,10 +22,10 @@ import io.microsphere.beans.ConfigurationProperty; import io.microsphere.lang.function.ThrowableSupplier; import io.microsphere.logging.Logger; - import java.io.InputStream; import java.net.URL; import java.util.Enumeration; +import java.util.LinkedList; import java.util.List; import static io.microsphere.collection.ListUtils.newLinkedList; @@ -33,7 +33,6 @@ import static io.microsphere.util.Assert.assertNotEmpty; import static io.microsphere.util.ClassLoaderUtils.nullSafeClassLoader; import static java.util.Collections.unmodifiableList; - /** * {@link ConfigurationPropertyLoader} to load the target Class-Path resource. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyGenerator.java b/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyGenerator.java index f3146e34c..581a3e78c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyGenerator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyGenerator.java @@ -20,7 +20,7 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.beans.ConfigurationProperty; import io.microsphere.lang.Prioritized; - +import java.util.ArrayList; /** * {@code ConfigurationPropertyGenerator} interface can be implemented by objects that * generate string representations (e.g., JSON, XML, Properties) of {@link ConfigurationProperty}. diff --git a/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyLoader.java b/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyLoader.java index 101f80828..b90b6b88e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyLoader.java +++ b/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyLoader.java @@ -24,7 +24,7 @@ import io.microsphere.lang.Prioritized; import io.microsphere.logging.Logger; import io.microsphere.util.ServiceLoaderUtils; - +import java.util.LinkedList; import java.util.List; import static io.microsphere.collection.CollectionUtils.isNotEmpty; @@ -33,7 +33,6 @@ import static io.microsphere.util.ClassUtils.getTypeName; import static io.microsphere.util.ServiceLoaderUtils.loadServicesList; import static java.util.Collections.unmodifiableList; - /** * The Java SPI of the loader of {@link ConfigurationProperty} that will be {@link #loadAll loaded by} * Microsphere Annotation Processor module. diff --git a/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyReader.java b/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyReader.java index 53e1c96bb..e17068d30 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyReader.java +++ b/microsphere-java-core/src/main/java/io/microsphere/metadata/ConfigurationPropertyReader.java @@ -21,7 +21,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.beans.ConfigurationProperty; import io.microsphere.lang.Prioritized; - import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; @@ -29,7 +28,6 @@ import static io.microsphere.io.IOUtils.copyToString; import static io.microsphere.nio.charset.CharsetUtils.DEFAULT_CHARSET; - /** * The SPI to read the list of {@link ConfigurationProperty configuration properties} from various sources. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/metadata/DefaultConfigurationPropertyGenerator.java b/microsphere-java-core/src/main/java/io/microsphere/metadata/DefaultConfigurationPropertyGenerator.java index 871f30809..08c833fea 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/metadata/DefaultConfigurationPropertyGenerator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/metadata/DefaultConfigurationPropertyGenerator.java @@ -19,7 +19,6 @@ import io.microsphere.beans.ConfigurationProperty; import io.microsphere.beans.ConfigurationProperty.Metadata; - import java.util.Set; import static io.microsphere.collection.CollectionUtils.isNotEmpty; @@ -29,7 +28,6 @@ import static io.microsphere.json.JSONUtils.append; import static io.microsphere.json.JSONUtils.appendName; import static io.microsphere.util.Assert.assertNotNull; - /** * The default implementation class of {@link ConfigurationPropertyGenerator}. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/metadata/DefaultConfigurationPropertyReader.java b/microsphere-java-core/src/main/java/io/microsphere/metadata/DefaultConfigurationPropertyReader.java index 1b091f13d..cef86a6db 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/metadata/DefaultConfigurationPropertyReader.java +++ b/microsphere-java-core/src/main/java/io/microsphere/metadata/DefaultConfigurationPropertyReader.java @@ -19,7 +19,7 @@ import io.microsphere.beans.ConfigurationProperty; import io.microsphere.beans.ConfigurationProperty.Metadata; - +import java.util.ArrayList; import java.util.List; import java.util.Map; @@ -27,7 +27,6 @@ import static io.microsphere.collection.ListUtils.newArrayList; import static io.microsphere.json.JSONUtils.readValues; import static java.util.Collections.unmodifiableList; - /** * {@link ConfigurationPropertyReader} based on JSON content. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/metadata/MetadataResourceConfigurationPropertyLoader.java b/microsphere-java-core/src/main/java/io/microsphere/metadata/MetadataResourceConfigurationPropertyLoader.java index a3d5826bf..8da454a18 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/metadata/MetadataResourceConfigurationPropertyLoader.java +++ b/microsphere-java-core/src/main/java/io/microsphere/metadata/MetadataResourceConfigurationPropertyLoader.java @@ -20,7 +20,6 @@ import io.microsphere.constants.ResourceConstants; import static io.microsphere.constants.ResourceConstants.CONFIGURATION_PROPERTY_METADATA_RESOURCE; - /** * {@link ConfigurationPropertyLoader} class to load the configuration properties metadata from * {@link ResourceConstants#CONFIGURATION_PROPERTY_METADATA_RESOURCE resource location}. diff --git a/microsphere-java-core/src/main/java/io/microsphere/metadata/ReflectiveConfigurationPropertyGenerator.java b/microsphere-java-core/src/main/java/io/microsphere/metadata/ReflectiveConfigurationPropertyGenerator.java index c4be0b64f..9ffd572df 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/metadata/ReflectiveConfigurationPropertyGenerator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/metadata/ReflectiveConfigurationPropertyGenerator.java @@ -23,7 +23,6 @@ import static io.microsphere.json.JSONUtils.writeBeanAsString; import static io.microsphere.util.Assert.assertNotNull; - /** * {@link ConfigurationPropertyGenerator} class based on Java Reflection API * diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/CompositeSubProtocolURLConnectionFactory.java b/microsphere-java-core/src/main/java/io/microsphere/net/CompositeSubProtocolURLConnectionFactory.java index 35c3a5705..ac1d0940b 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/CompositeSubProtocolURLConnectionFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/CompositeSubProtocolURLConnectionFactory.java @@ -17,17 +17,16 @@ package io.microsphere.net; import io.microsphere.lang.Prioritized; - import java.io.IOException; import java.net.Proxy; import java.net.URL; import java.net.URLConnection; +import java.util.LinkedList; import java.util.List; import static io.microsphere.collection.ListUtils.newLinkedList; import static io.microsphere.lang.Prioritized.COMPARATOR; import static java.util.Collections.sort; - /** * A composite implementation of {@link SubProtocolURLConnectionFactory} that combines multiple factories. * This class allows dynamic modification at runtime by adding or removing individual factories. diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/CompositeURLStreamHandlerFactory.java b/microsphere-java-core/src/main/java/io/microsphere/net/CompositeURLStreamHandlerFactory.java index 5168ad791..91cb2ffe7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/CompositeURLStreamHandlerFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/CompositeURLStreamHandlerFactory.java @@ -17,18 +17,17 @@ package io.microsphere.net; import io.microsphere.lang.Prioritized; - import java.net.URLStreamHandler; import java.net.URLStreamHandlerFactory; import java.util.Collection; import java.util.Comparator; +import java.util.LinkedList; import java.util.List; import static io.microsphere.collection.ListUtils.newLinkedList; import static io.microsphere.lang.Prioritized.COMPARATOR; import static java.util.Collections.emptyList; import static java.util.Collections.sort; - /** * A composite {@link URLStreamHandlerFactory} that delegates the creation of {@link URLStreamHandler} instances * to one or more underlying factories in a prioritized order. diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/DelegatingURLConnection.java b/microsphere-java-core/src/main/java/io/microsphere/net/DelegatingURLConnection.java index 8bae0e641..df9615b28 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/DelegatingURLConnection.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/DelegatingURLConnection.java @@ -24,7 +24,6 @@ import java.security.Permission; import java.util.List; import java.util.Map; - /** * A delegating implementation of {@link URLConnection} that forwards all method calls to a provided delegate instance. * This class can be used as a base class for creating specialized URLConnection wrappers that need to intercept or modify diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/DelegatingURLStreamHandlerFactory.java b/microsphere-java-core/src/main/java/io/microsphere/net/DelegatingURLStreamHandlerFactory.java index 47597f6a9..bfeac1da0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/DelegatingURLStreamHandlerFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/DelegatingURLStreamHandlerFactory.java @@ -20,7 +20,6 @@ import java.net.URLStreamHandlerFactory; import static io.microsphere.util.Assert.assertNotNull; - /** * A delegating implementation of {@link URLStreamHandlerFactory} that forwards all calls to a provided delegate factory. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/ExtendableProtocolURLStreamHandler.java b/microsphere-java-core/src/main/java/io/microsphere/net/ExtendableProtocolURLStreamHandler.java index c48cb8a74..713003a79 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/ExtendableProtocolURLStreamHandler.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/ExtendableProtocolURLStreamHandler.java @@ -18,7 +18,6 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; - import java.io.IOException; import java.net.Proxy; import java.net.URL; @@ -50,7 +49,6 @@ import static java.lang.System.setProperty; import static java.net.Proxy.NO_PROXY; import static java.util.Collections.sort; - /** * Extendable Protocol {@link URLStreamHandler} class supports the sub-protocols, * like : diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/MutableURLStreamHandlerFactory.java b/microsphere-java-core/src/main/java/io/microsphere/net/MutableURLStreamHandlerFactory.java index bf17662a0..5af14b451 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/MutableURLStreamHandlerFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/MutableURLStreamHandlerFactory.java @@ -22,7 +22,6 @@ import java.util.Map; import static io.microsphere.collection.MapUtils.newHashMap; - /** * A mutable and non-thread-safe implementation of {@link URLStreamHandlerFactory} that allows dynamic * registration and retrieval of {@link URLStreamHandler} instances for specific protocols. diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/ServiceLoaderURLStreamHandlerFactory.java b/microsphere-java-core/src/main/java/io/microsphere/net/ServiceLoaderURLStreamHandlerFactory.java index debae146f..37d02bd08 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/ServiceLoaderURLStreamHandlerFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/ServiceLoaderURLStreamHandlerFactory.java @@ -18,7 +18,6 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; - import java.net.URL; import java.net.URLStreamHandler; import java.net.URLStreamHandlerFactory; @@ -30,7 +29,6 @@ import static io.microsphere.collection.MapUtils.toFixedMap; import static io.microsphere.net.URLUtils.attachURLStreamHandlerFactory; import static io.microsphere.util.ServiceLoaderUtils.loadServicesList; - /** * A {@link URLStreamHandlerFactory} implementation that uses the JDK's {@link ServiceLoader} * to load and compose multiple delegates for creating {@link URLStreamHandler} instances. diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/StandardURLStreamHandlerFactory.java b/microsphere-java-core/src/main/java/io/microsphere/net/StandardURLStreamHandlerFactory.java index 71c6161b7..2afddabd0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/StandardURLStreamHandlerFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/StandardURLStreamHandlerFactory.java @@ -17,7 +17,6 @@ package io.microsphere.net; import io.microsphere.logging.Logger; - import java.lang.reflect.Field; import java.net.URL; import java.net.URLStreamHandler; @@ -30,7 +29,6 @@ import static io.microsphere.reflect.FieldUtils.getStaticFieldValue; import static io.microsphere.util.ClassLoaderUtils.resolveClass; import static io.microsphere.util.ClassUtils.newInstance; - /** * Standard implementation of {@link URLStreamHandlerFactory} that creates a new instance of * URLStreamHandler for a given protocol. diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/SubProtocolURLConnectionFactory.java b/microsphere-java-core/src/main/java/io/microsphere/net/SubProtocolURLConnectionFactory.java index 7a1c236a9..ce655174f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/SubProtocolURLConnectionFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/SubProtocolURLConnectionFactory.java @@ -21,7 +21,6 @@ import java.net.URL; import java.net.URLConnection; import java.util.List; - /** * A factory for creating {@link URLConnection} instances that handle sub-protocols. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/URLUtils.java b/microsphere-java-core/src/main/java/io/microsphere/net/URLUtils.java index 72761d885..d3e7e1d65 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/URLUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/URLUtils.java @@ -11,7 +11,6 @@ import io.microsphere.logging.Logger; import io.microsphere.util.ArrayUtils; import io.microsphere.util.Utils; - import java.io.File; import java.net.HttpURLConnection; import java.net.URL; @@ -20,6 +19,7 @@ import java.net.URLEncoder; import java.net.URLStreamHandler; import java.net.URLStreamHandlerFactory; +import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; @@ -76,7 +76,6 @@ import static java.util.Collections.unmodifiableList; import static java.util.Collections.unmodifiableMap; import static java.util.Objects.nonNull; - /** * {@link URL} Utility class * diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/classpath/Handler.java b/microsphere-java-core/src/main/java/io/microsphere/net/classpath/Handler.java index bdec20926..4cb3bc4d1 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/classpath/Handler.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/classpath/Handler.java @@ -18,7 +18,6 @@ import io.microsphere.net.ExtendableProtocolURLStreamHandler; import io.microsphere.util.ClassLoaderUtils; - import java.io.IOException; import java.net.Proxy; import java.net.URL; @@ -28,7 +27,6 @@ import static io.microsphere.constants.PathConstants.SLASH_CHAR; import static io.microsphere.util.CharSequenceUtils.isNotEmpty; import static io.microsphere.util.ClassLoaderUtils.getClassLoader; - /** * The "classpath" protocol {@link URLStreamHandler} based on {@link ClassLoader} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/console/ConsoleURLConnection.java b/microsphere-java-core/src/main/java/io/microsphere/net/console/ConsoleURLConnection.java index d1a4489b3..15c8ab283 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/console/ConsoleURLConnection.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/console/ConsoleURLConnection.java @@ -25,7 +25,6 @@ import static java.lang.System.in; import static java.lang.System.out; - /** * {@link Console} {@link URLConnection} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/net/console/Handler.java b/microsphere-java-core/src/main/java/io/microsphere/net/console/Handler.java index 435edf77d..82a9c083b 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/net/console/Handler.java +++ b/microsphere-java-core/src/main/java/io/microsphere/net/console/Handler.java @@ -17,12 +17,10 @@ package io.microsphere.net.console; import io.microsphere.net.ExtendableProtocolURLStreamHandler; - import java.io.IOException; import java.net.Proxy; import java.net.URL; import java.net.URLConnection; - /** * "console" protocol Handler * diff --git a/microsphere-java-core/src/main/java/io/microsphere/nio/charset/CharsetUtils.java b/microsphere-java-core/src/main/java/io/microsphere/nio/charset/CharsetUtils.java index ce89cc67b..a7277bbb1 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/nio/charset/CharsetUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/nio/charset/CharsetUtils.java @@ -18,11 +18,9 @@ import io.microsphere.util.SystemUtils; import io.microsphere.util.Utils; - import java.nio.charset.Charset; import static java.nio.charset.Charset.defaultCharset; - /** * The Utilities class for {@link Charset} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/process/ClassicProcessIdResolver.java b/microsphere-java-core/src/main/java/io/microsphere/process/ClassicProcessIdResolver.java index 496914eab..56abc6987 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/process/ClassicProcessIdResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/process/ClassicProcessIdResolver.java @@ -25,7 +25,6 @@ import static io.microsphere.util.StringUtils.isNumeric; import static io.microsphere.util.StringUtils.substringBefore; import static java.lang.Long.valueOf; - /** * A {@link ProcessIdResolver} implementation for classic JDK versions (5 - 8). * diff --git a/microsphere-java-core/src/main/java/io/microsphere/process/ModernProcessIdResolver.java b/microsphere-java-core/src/main/java/io/microsphere/process/ModernProcessIdResolver.java index 1085cafb2..422e829c7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/process/ModernProcessIdResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/process/ModernProcessIdResolver.java @@ -23,7 +23,6 @@ import static io.microsphere.reflect.MethodUtils.invokeStaticMethod; import static io.microsphere.util.ClassLoaderUtils.resolveClass; import static java.util.Objects.nonNull; - /** * A {@link ProcessIdResolver} implementation for modern JDKs (Java 9+). * diff --git a/microsphere-java-core/src/main/java/io/microsphere/process/ProcessExecutor.java b/microsphere-java-core/src/main/java/io/microsphere/process/ProcessExecutor.java index f44a17c85..51ccde20a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/process/ProcessExecutor.java +++ b/microsphere-java-core/src/main/java/io/microsphere/process/ProcessExecutor.java @@ -4,7 +4,6 @@ import io.microsphere.io.FastByteArrayInputStream; import io.microsphere.io.FastByteArrayOutputStream; import io.microsphere.logging.Logger; - import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; @@ -27,7 +26,6 @@ import static java.lang.Long.parseLong; import static java.util.concurrent.Executors.newSingleThreadExecutor; import static java.util.concurrent.TimeUnit.MILLISECONDS; - /** * {@link Process} Executor * diff --git a/microsphere-java-core/src/main/java/io/microsphere/process/ProcessIdResolver.java b/microsphere-java-core/src/main/java/io/microsphere/process/ProcessIdResolver.java index e7068e4e4..dfed087ae 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/process/ProcessIdResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/process/ProcessIdResolver.java @@ -17,7 +17,6 @@ package io.microsphere.process; import io.microsphere.lang.Prioritized; - /** * A strategy interface for resolving the current process ID. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/process/ProcessManager.java b/microsphere-java-core/src/main/java/io/microsphere/process/ProcessManager.java index 412fa0e45..d9e22fe44 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/process/ProcessManager.java +++ b/microsphere-java-core/src/main/java/io/microsphere/process/ProcessManager.java @@ -2,13 +2,11 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; - import java.util.Map; import java.util.concurrent.ConcurrentMap; import static io.microsphere.collection.MapUtils.newConcurrentHashMap; import static java.util.Collections.unmodifiableMap; - /** * Manages and tracks processes, providing methods to handle running processes and clean up resources. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/process/VirtualMachineProcessIdResolver.java b/microsphere-java-core/src/main/java/io/microsphere/process/VirtualMachineProcessIdResolver.java index eef12ac8f..7a392b0f8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/process/VirtualMachineProcessIdResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/process/VirtualMachineProcessIdResolver.java @@ -17,7 +17,6 @@ package io.microsphere.process; import io.microsphere.logging.Logger; - import java.lang.management.RuntimeMXBean; import java.lang.reflect.Field; @@ -28,7 +27,6 @@ import static io.microsphere.reflect.MethodUtils.invokeMethod; import static java.lang.Long.valueOf; import static java.util.Objects.nonNull; - /** * A {@link ProcessIdResolver} implementation for retrieving the process ID using the SUN JVM internal APIs. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/AccessibleObjectUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/AccessibleObjectUtils.java index f0bdb7026..47ce01962 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/AccessibleObjectUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/AccessibleObjectUtils.java @@ -18,7 +18,6 @@ import io.microsphere.logging.Logger; import io.microsphere.util.Utils; - import java.lang.invoke.MethodHandle; import java.lang.reflect.AccessibleObject; import java.lang.reflect.Member; @@ -33,7 +32,6 @@ import static io.microsphere.reflect.MemberUtils.isPublic; import static io.microsphere.reflect.ReflectionUtils.isInaccessibleObjectException; import static io.microsphere.util.StringUtils.substringBetween; - /** * The utilities class of {@link AccessibleObject} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/ClassDefinition.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/ClassDefinition.java index 4a2bef849..10a2d82ff 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/ClassDefinition.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/ClassDefinition.java @@ -23,7 +23,6 @@ import io.microsphere.util.Version; import static java.util.Objects.nonNull; - /** * A concrete implementation of {@link ReflectiveDefinition} representing the definition of a Java class. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/ConstructorDefinition.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/ConstructorDefinition.java index 7204a7771..0d78fb9bd 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/ConstructorDefinition.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/ConstructorDefinition.java @@ -21,13 +21,11 @@ import io.microsphere.annotation.Nullable; import io.microsphere.lang.Deprecation; import io.microsphere.util.Version; - import java.lang.reflect.Constructor; import static io.microsphere.constants.SymbolConstants.QUOTE_CHAR; import static io.microsphere.reflect.ConstructorUtils.findConstructor; import static io.microsphere.util.ArrayUtils.arrayToString; - /** * The definition class for {@link Constructor} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/ConstructorUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/ConstructorUtils.java index e4b299f06..0208f38d1 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/ConstructorUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/ConstructorUtils.java @@ -22,7 +22,6 @@ import io.microsphere.lang.function.ThrowableSupplier; import io.microsphere.logging.Logger; import io.microsphere.util.Utils; - import java.lang.reflect.AccessibleObject; import java.lang.reflect.Constructor; import java.lang.reflect.Executable; @@ -39,7 +38,6 @@ import static io.microsphere.reflect.MemberUtils.isPrivate; import static io.microsphere.util.ArrayUtils.arrayToString; import static java.util.Collections.unmodifiableList; - /** * The utilities class of {@link Constructor} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/ExecutableDefinition.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/ExecutableDefinition.java index 64495b972..21669e0f7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/ExecutableDefinition.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/ExecutableDefinition.java @@ -20,7 +20,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.lang.Deprecation; import io.microsphere.util.Version; - import java.lang.reflect.Constructor; import java.lang.reflect.Executable; import java.lang.reflect.Method; @@ -32,7 +31,6 @@ import static io.microsphere.util.ClassLoaderUtils.resolveClass; import static io.microsphere.util.Version.of; import static java.util.Objects.hash; - /** * The definition class for Java Reflection {@link Executable}, which serves as a base class for executable members * like methods and constructors. It provides common functionality to store and resolve parameter types based on their class names. diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/ExecutableUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/ExecutableUtils.java index b35b2adf8..7070ea580 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/ExecutableUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/ExecutableUtils.java @@ -21,7 +21,6 @@ import io.microsphere.lang.function.ThrowableSupplier; import io.microsphere.logging.Logger; import io.microsphere.util.Utils; - import java.lang.reflect.Constructor; import java.lang.reflect.Executable; import java.lang.reflect.Field; @@ -32,7 +31,6 @@ import static io.microsphere.logging.LoggerFactory.getLogger; import static io.microsphere.text.FormatUtils.format; import static io.microsphere.util.ExceptionUtils.wrap; - /** * The utility class for Java Reflection {@link Executable} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/FieldDefinition.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/FieldDefinition.java index 295015612..8b0a6e9bd 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/FieldDefinition.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/FieldDefinition.java @@ -21,13 +21,11 @@ import io.microsphere.annotation.Nullable; import io.microsphere.lang.Deprecation; import io.microsphere.util.Version; - import java.lang.reflect.Field; import static io.microsphere.reflect.FieldUtils.findField; import static io.microsphere.reflect.FieldUtils.getFieldValue; import static io.microsphere.reflect.FieldUtils.setFieldValue; - /** * The definition class of {@link Field} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/FieldUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/FieldUtils.java index 275e8fe81..6aa515d20 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/FieldUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/FieldUtils.java @@ -21,8 +21,8 @@ import io.microsphere.annotation.Nullable; import io.microsphere.logging.Logger; import io.microsphere.util.Utils; - import java.lang.reflect.Field; +import java.util.LinkedHashSet; import java.util.Objects; import java.util.Set; import java.util.function.Predicate; @@ -39,7 +39,6 @@ import static io.microsphere.util.ClassUtils.getAllInheritedTypes; import static io.microsphere.util.ClassUtils.getTypeName; import static java.util.Collections.unmodifiableSet; - /** * The Java Reflection {@link Field} Utility class * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/JavaType.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/JavaType.java index ad8806f0d..ca8282a4c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/JavaType.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/JavaType.java @@ -18,7 +18,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; - import java.io.Serializable; import java.lang.reflect.Field; import java.lang.reflect.GenericArrayType; @@ -27,6 +26,8 @@ import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.lang.reflect.WildcardType; +import java.util.ArrayList; +import java.util.HashMap; import java.util.List; import java.util.Objects; @@ -52,7 +53,6 @@ import static io.microsphere.util.ArrayUtils.asArray; import static io.microsphere.util.ArrayUtils.length; import static java.util.Objects.hash; - /** * Represents a Java type, encapsulating various operations and utilities for handling different kinds of types, * including classes, parameterized types, type variables, wildcard types, and generic array types. diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/MemberDefinition.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/MemberDefinition.java index b18740109..1fb16f2ba 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/MemberDefinition.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/MemberDefinition.java @@ -21,12 +21,10 @@ import io.microsphere.annotation.Nullable; import io.microsphere.lang.Deprecation; import io.microsphere.util.Version; - import java.lang.reflect.Member; import static io.microsphere.util.Version.ofVersion; import static java.util.Objects.nonNull; - /** * The definition class for Java Reflection {@link Member}. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/MemberUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/MemberUtils.java index 44208338c..a55c1b0c7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/MemberUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/MemberUtils.java @@ -17,14 +17,12 @@ package io.microsphere.reflect; import io.microsphere.util.Utils; - import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Member; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.function.Predicate; - /** * Java Reflection {@link Member} Utilities class * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/MethodDefinition.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/MethodDefinition.java index 9ce89c339..4ece65c21 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/MethodDefinition.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/MethodDefinition.java @@ -21,7 +21,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.lang.Deprecation; import io.microsphere.util.Version; - import java.lang.reflect.Method; import static io.microsphere.constants.SymbolConstants.QUOTE_CHAR; @@ -29,7 +28,6 @@ import static io.microsphere.reflect.MethodUtils.invokeMethod; import static io.microsphere.util.ArrayUtils.arrayToString; import static io.microsphere.util.Version.of; - /** * The definition class of Java {@link Method}, providing a structured way to define and resolve methods * by their name, parameter types, and declaring class. This class serves as a convenient wrapper for diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/MethodUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/MethodUtils.java index f7870a141..5a95022a1 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/MethodUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/MethodUtils.java @@ -22,7 +22,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.logging.Logger; import io.microsphere.util.Utils; - import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Member; import java.lang.reflect.Method; @@ -73,7 +72,6 @@ import static java.util.Collections.emptyList; import static java.util.Collections.unmodifiableList; import static java.util.Objects.hash; - /** * The Java Reflection {@link Method} Utility class * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/MultipleType.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/MultipleType.java index 82d47382d..b52c1be5c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/MultipleType.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/MultipleType.java @@ -17,7 +17,6 @@ package io.microsphere.reflect; import io.microsphere.annotation.Immutable; - import java.lang.reflect.Type; import static io.microsphere.util.ArrayUtils.arrayEquals; @@ -25,7 +24,6 @@ import static io.microsphere.util.ArrayUtils.combineArray; import static io.microsphere.util.ArrayUtils.ofArray; import static java.util.Objects.hash; - /** * Represents a composite type that encapsulates multiple {@link Type} instances. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/ProxyUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/ProxyUtils.java index 57b6a4ce8..6eb3684ac 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/ProxyUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/ProxyUtils.java @@ -17,7 +17,6 @@ package io.microsphere.reflect; import io.microsphere.util.Utils; - import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.List; @@ -31,7 +30,6 @@ import static io.microsphere.util.ClassUtils.isArray; import static io.microsphere.util.ClassUtils.isPrimitive; import static java.lang.reflect.Modifier.isFinal; - /** * The utilities class for {@link Proxy Proxy} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/ReflectionUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/ReflectionUtils.java index 95d287a08..d0423e07a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/ReflectionUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/ReflectionUtils.java @@ -5,13 +5,13 @@ import io.microsphere.annotation.Nullable; import io.microsphere.logging.Logger; import io.microsphere.util.Utils; - import java.lang.invoke.MethodHandle; import java.lang.reflect.Array; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; +import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.function.Function; @@ -36,7 +36,6 @@ import static java.lang.reflect.Array.getLength; import static java.util.Collections.emptyMap; import static java.util.Collections.unmodifiableMap; - /** * Reflection Utility class , generic methods are defined from {@link FieldUtils} , {@link MethodUtils} , {@link * ConstructorUtils} diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/ReflectiveDefinition.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/ReflectiveDefinition.java index 52fc3ba3b..0f2fcfc25 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/ReflectiveDefinition.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/ReflectiveDefinition.java @@ -21,7 +21,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.lang.Deprecation; import io.microsphere.util.Version; - import java.io.Serializable; import java.util.Objects; @@ -33,7 +32,6 @@ import static io.microsphere.util.Version.ofVersion; import static java.util.Objects.hash; import static java.util.Objects.nonNull; - /** * The abstract definition class for Java Reflection. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/TypeUtils.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/TypeUtils.java index e53a79447..7d71aca5a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/TypeUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/TypeUtils.java @@ -23,13 +23,16 @@ import io.microsphere.reflect.generics.TypeArgument; import io.microsphere.util.ClassUtils; import io.microsphere.util.Utils; - import java.lang.reflect.GenericArrayType; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.lang.reflect.WildcardType; +import java.util.ArrayList; import java.util.HashMap; +import java.util.HashSet; +import java.util.LinkedHashMap; +import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Objects; @@ -64,7 +67,6 @@ import static java.util.stream.Collectors.toSet; import static java.util.stream.Stream.of; import static java.util.stream.StreamSupport.stream; - /** * The utilities class for {@link Type} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/generics/ParameterizedTypeImpl.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/generics/ParameterizedTypeImpl.java index 82f62bbf8..23dce7506 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/generics/ParameterizedTypeImpl.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/generics/ParameterizedTypeImpl.java @@ -26,7 +26,6 @@ import static io.microsphere.util.ArrayUtils.arrayEquals; import static io.microsphere.util.ArrayUtils.isNotEmpty; import static java.util.Objects.hash; - /** * {@link ParameterizedType} Implementation forks {@link sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/reflect/generics/TypeArgument.java b/microsphere-java-core/src/main/java/io/microsphere/reflect/generics/TypeArgument.java index 6579db0ea..000f1f943 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/reflect/generics/TypeArgument.java +++ b/microsphere-java-core/src/main/java/io/microsphere/reflect/generics/TypeArgument.java @@ -22,7 +22,6 @@ import static io.microsphere.util.Assert.assertNotNull; import static io.microsphere.util.Assert.assertTrue; import static java.util.Objects.hash; - /** * {@link Type} Argument * diff --git a/microsphere-java-core/src/main/java/io/microsphere/security/SecurityUtils.java b/microsphere-java-core/src/main/java/io/microsphere/security/SecurityUtils.java index ff80ca478..fbda6ebf5 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/security/SecurityUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/security/SecurityUtils.java @@ -21,13 +21,11 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; - import java.io.File; import static io.microsphere.annotation.ConfigurationProperty.SYSTEM_PROPERTIES_SOURCE; import static java.lang.System.getProperty; import static java.lang.System.setProperty; - /** * The utilities class for Java Security * diff --git a/microsphere-java-core/src/main/java/io/microsphere/text/FormatUtils.java b/microsphere-java-core/src/main/java/io/microsphere/text/FormatUtils.java index a75a192b4..b48e84722 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/text/FormatUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/text/FormatUtils.java @@ -5,7 +5,6 @@ import static io.microsphere.util.ArrayUtils.length; import static io.microsphere.util.StringUtils.isBlank; import static java.lang.String.valueOf; - /** * The utility class of text format * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/AnnotationUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/AnnotationUtils.java index 86c663ae9..ace331428 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/AnnotationUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/AnnotationUtils.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; - import java.lang.annotation.Annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; @@ -61,7 +60,6 @@ import static java.util.Collections.emptyMap; import static java.util.Collections.unmodifiableList; import static java.util.Objects.nonNull; - /** * {@link Annotation} Utilities class * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ArrayUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ArrayUtils.java index bc088f319..8e0db0a07 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ArrayUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ArrayUtils.java @@ -17,7 +17,6 @@ package io.microsphere.util; import io.microsphere.annotation.Immutable; - import java.io.File; import java.lang.annotation.Annotation; import java.lang.reflect.Array; @@ -38,7 +37,6 @@ import static java.util.Arrays.binarySearch; import static java.util.Arrays.copyOfRange; import static java.util.Collections.list; - /** * The utilities class for {@link Array} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/Assert.java b/microsphere-java-core/src/main/java/io/microsphere/util/Assert.java index c612d0e79..80c05e178 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/Assert.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/Assert.java @@ -17,7 +17,6 @@ package io.microsphere.util; import io.microsphere.annotation.Nullable; - import java.lang.reflect.Array; import java.lang.reflect.Field; import java.util.Collection; @@ -35,7 +34,6 @@ import static io.microsphere.util.ClassUtils.isAssignableFrom; import static io.microsphere.util.ObjectUtils.nullSafe; import static io.microsphere.util.StringUtils.isBlank; - /** * The utility class for Assertion * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/CharSequenceComparator.java b/microsphere-java-core/src/main/java/io/microsphere/util/CharSequenceComparator.java index d92977286..73ecfdff5 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/CharSequenceComparator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/CharSequenceComparator.java @@ -17,7 +17,6 @@ package io.microsphere.util; import java.util.Comparator; - /** * A {@link Comparator} implementation for comparing {@link CharSequence} objects. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/CharSequenceUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/CharSequenceUtils.java index dc2128062..a951c090b 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/CharSequenceUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/CharSequenceUtils.java @@ -3,7 +3,6 @@ import io.microsphere.annotation.Nullable; import static java.lang.Character.isWhitespace; - /** * The utilities class for {@link CharSequence} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ClassLoaderUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ClassLoaderUtils.java index 02b59155b..dcf40f8f2 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ClassLoaderUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ClassLoaderUtils.java @@ -10,7 +10,6 @@ import io.microsphere.classloading.URLClassPathHandle; import io.microsphere.logging.Logger; import io.microsphere.reflect.ReflectionUtils; - import java.io.IOException; import java.io.InputStream; import java.lang.invoke.MethodHandle; @@ -21,7 +20,9 @@ import java.net.URLClassLoader; import java.security.SecureClassLoader; import java.util.Enumeration; +import java.util.HashSet; import java.util.LinkedHashMap; +import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; @@ -65,7 +66,6 @@ import static java.util.Collections.unmodifiableMap; import static java.util.Collections.unmodifiableSet; import static java.util.Objects.nonNull; - /** * {@link ClassLoader} Utility * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ClassPathUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ClassPathUtils.java index 6e5b9950a..aa38d2bae 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ClassPathUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ClassPathUtils.java @@ -6,7 +6,6 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; - import java.lang.management.RuntimeMXBean; import java.net.URL; import java.util.Set; @@ -23,7 +22,6 @@ import static io.microsphere.util.StringUtils.split; import static java.lang.ClassLoader.getSystemClassLoader; import static java.util.Collections.emptySet; - /** * {@link ClassPathUtils} is an abstract utility class that provides methods for retrieving various class path-related information. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ClassUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ClassUtils.java index 2f763bf96..9c0bd9729 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ClassUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ClassUtils.java @@ -13,7 +13,6 @@ import io.microsphere.io.scanner.SimpleFileScanner; import io.microsphere.logging.Logger; import io.microsphere.reflect.ConstructorUtils; - import java.io.File; import java.lang.reflect.Constructor; import java.lang.reflect.Modifier; @@ -22,7 +21,10 @@ import java.net.URL; import java.security.CodeSource; import java.security.ProtectionDomain; +import java.util.ArrayList; import java.util.Date; +import java.util.LinkedHashMap; +import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Objects; @@ -82,7 +84,6 @@ import static java.util.Collections.synchronizedMap; import static java.util.Collections.unmodifiableMap; import static java.util.Collections.unmodifiableSet; - /** * {@link Class} utility class * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/Compatible.java b/microsphere-java-core/src/main/java/io/microsphere/util/Compatible.java index ad78cbee2..cb63ef387 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/Compatible.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/Compatible.java @@ -18,7 +18,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.util.Version.Operator; - import java.util.Optional; import java.util.function.Consumer; import java.util.function.Function; @@ -27,7 +26,6 @@ import static io.microsphere.util.Version.ofVersion; import static java.lang.Boolean.TRUE; import static java.util.Optional.ofNullable; - /** * A utility class to conditionally execute logic based on version comparison. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/Configurer.java b/microsphere-java-core/src/main/java/io/microsphere/util/Configurer.java index 5f3cc861c..df7646ee8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/Configurer.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/Configurer.java @@ -17,7 +17,6 @@ package io.microsphere.util; import io.microsphere.logging.Logger; - import java.util.Objects; import java.util.function.Consumer; import java.util.function.Function; @@ -26,7 +25,6 @@ import static io.microsphere.logging.LoggerFactory.getLogger; import static io.microsphere.text.FormatUtils.format; - /** * A fluent configuration utility for applying conditional operations on a value of type {@code T}. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ExceptionUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ExceptionUtils.java index da7e89dd9..2e3d3b311 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ExceptionUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ExceptionUtils.java @@ -18,13 +18,11 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.io.StringBuilderWriter; - import java.io.PrintWriter; import static io.microsphere.text.FormatUtils.format; import static io.microsphere.util.ClassUtils.isAssignableFrom; import static io.microsphere.util.ClassUtils.newInstance; - /** * {@link Exception} Utilities class * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/Functional.java b/microsphere-java-core/src/main/java/io/microsphere/util/Functional.java index ec2caefea..1acb6f427 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/Functional.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/Functional.java @@ -23,7 +23,6 @@ import static io.microsphere.constants.SymbolConstants.QUOTE_CHAR; import static java.lang.Boolean.FALSE; - /** * A fluent API utility class for performing chained operations on a value of type {@code V}. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/HierarchicalClassComparator.java b/microsphere-java-core/src/main/java/io/microsphere/util/HierarchicalClassComparator.java index e731fb9c0..4cee1d2e8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/HierarchicalClassComparator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/HierarchicalClassComparator.java @@ -20,7 +20,6 @@ import java.util.Comparator; import static io.microsphere.util.ClassUtils.isAssignableFrom; - /** * {@link Comparator} for hierarchical class. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/IterableUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/IterableUtils.java index 3a07b342e..2dcd263be 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/IterableUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/IterableUtils.java @@ -19,11 +19,9 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; - import java.util.function.Consumer; import static io.microsphere.util.ClassUtils.isAssignableFrom; - /** * The utility class for {@link Iterable} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ObjectUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ObjectUtils.java index 4518f19b7..a198c62fa 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ObjectUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ObjectUtils.java @@ -18,10 +18,8 @@ package io.microsphere.util; import io.microsphere.annotation.Nullable; - import java.util.function.Function; import java.util.function.Supplier; - /** * The utility class for {@link Object}. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/PriorityComparator.java b/microsphere-java-core/src/main/java/io/microsphere/util/PriorityComparator.java index df8d23db8..ab35b066e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/PriorityComparator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/PriorityComparator.java @@ -17,6 +17,7 @@ package io.microsphere.util; import java.lang.annotation.Annotation; +import java.util.ArrayList; import java.util.Comparator; import java.util.Objects; @@ -24,7 +25,6 @@ import static io.microsphere.util.AnnotationUtils.findAnnotation; import static io.microsphere.util.ClassLoaderUtils.resolveClass; import static io.microsphere.util.ClassUtils.getType; - /** * A {@link Comparator} implementation that sorts objects based on the value of the * {@link javax.annotation.Priority} annotation. diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/PropertyResourceBundleControl.java b/microsphere-java-core/src/main/java/io/microsphere/util/PropertyResourceBundleControl.java index 721b3a097..49faaf278 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/PropertyResourceBundleControl.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/PropertyResourceBundleControl.java @@ -24,7 +24,6 @@ import static io.microsphere.util.PropertyResourceBundleUtils.DEFAULT_ENCODING; import static java.nio.charset.Charset.forName; import static java.security.AccessController.doPrivileged; - /** * A {@link ResourceBundle.Control} implementation for loading property-based resource bundles with customizable * character encoding. diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/PropertyResourceBundleUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/PropertyResourceBundleUtils.java index d0da6f98b..2a965cf0e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/PropertyResourceBundleUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/PropertyResourceBundleUtils.java @@ -4,7 +4,6 @@ package io.microsphere.util; import io.microsphere.annotation.Nonnull; - import java.util.Locale; import java.util.MissingResourceException; import java.util.PropertyResourceBundle; @@ -15,7 +14,6 @@ import static io.microsphere.util.SystemUtils.FILE_ENCODING; import static java.lang.System.getProperty; import static java.util.Locale.getDefault; - /** * {@link PropertyResourceBundle} Utility class * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ServiceLoaderUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ServiceLoaderUtils.java index 6282afb0f..f9034a861 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ServiceLoaderUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ServiceLoaderUtils.java @@ -5,11 +5,12 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.logging.Logger; - import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.Iterator; +import java.util.LinkedHashSet; +import java.util.LinkedList; import java.util.List; import java.util.ServiceLoader; import java.util.Set; @@ -41,7 +42,6 @@ import static java.util.Collections.unmodifiableList; import static java.util.Collections.unmodifiableSet; import static java.util.ServiceLoader.load; - /** * Utility class for loading and managing service providers via {@link ServiceLoader}, with support for caching, * prioritization, and ClassLoader hierarchy traversal. diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ShutdownHookCallbacksThread.java b/microsphere-java-core/src/main/java/io/microsphere/util/ShutdownHookCallbacksThread.java index d90bbae29..5881e362d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ShutdownHookCallbacksThread.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ShutdownHookCallbacksThread.java @@ -21,7 +21,6 @@ import static io.microsphere.logging.LoggerFactory.getLogger; import static io.microsphere.util.ShutdownHookUtils.clearShutdownHookCallbacks; import static io.microsphere.util.ShutdownHookUtils.shutdownHookCallbacks; - /** * A {@link Thread} that executes registered shutdown hook {@link Runnable} callbacks * when the JVM begins its shutdown sequence. diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ShutdownHookUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/ShutdownHookUtils.java index 97839eb56..c548e5036 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ShutdownHookUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ShutdownHookUtils.java @@ -21,7 +21,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.logging.Logger; - import java.util.Map; import java.util.Queue; import java.util.Set; @@ -43,7 +42,6 @@ import static java.util.Collections.emptyMap; import static java.util.Collections.unmodifiableSet; import static java.util.stream.Collectors.toSet; - /** * Utilities for managing shutdown hooks in a JVM application. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/StackTraceUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/StackTraceUtils.java index 4ad4b6f97..01e4f09a9 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/StackTraceUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/StackTraceUtils.java @@ -20,7 +20,6 @@ import static io.microsphere.util.ClassLoaderUtils.resolveClass; import static java.lang.Thread.currentThread; - /** * The utility class for Stack Trace * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/StopWatch.java b/microsphere-java-core/src/main/java/io/microsphere/util/StopWatch.java index f770e4435..55a7d6c03 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/StopWatch.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/StopWatch.java @@ -28,7 +28,6 @@ import static java.util.Collections.unmodifiableList; import static java.util.Objects.hash; import static java.util.concurrent.TimeUnit.NANOSECONDS; - /** *

{@code StopWatch} provides a simple way to measure execution time for tasks, supporting nested task tracking. * Each task can be started with optional reentrancy control via {@link #start(String, boolean)}.

diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/StringUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/StringUtils.java index 7eab0b264..0346da65e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/StringUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/StringUtils.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; - import java.util.ArrayList; import java.util.Collection; import java.util.List; @@ -33,7 +32,6 @@ import static java.lang.Character.toLowerCase; import static java.lang.Character.toUpperCase; import static java.lang.String.valueOf; - /** * The utilities class for {@link String} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/SystemUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/SystemUtils.java index 99addf808..3ad6ba51c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/SystemUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/SystemUtils.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.logging.Logger; import io.microsphere.nio.charset.CharsetUtils; - import java.nio.charset.Charset; import java.util.Map; import java.util.Properties; @@ -30,7 +29,6 @@ import static io.microsphere.util.StringUtils.startsWith; import static java.lang.System.getProperties; import static java.lang.System.getProperty; - /** * The utilities class for {@link System} * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/TypeFinder.java b/microsphere-java-core/src/main/java/io/microsphere/util/TypeFinder.java index e911bcaa6..9db2b9406 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/TypeFinder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/TypeFinder.java @@ -18,8 +18,9 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; - import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.LinkedList; import java.util.List; import java.util.function.Function; import java.util.function.Predicate; @@ -45,7 +46,6 @@ import static io.microsphere.util.TypeFinder.Include.SUPER_CLASS; import static java.util.Collections.emptyList; import static java.util.Collections.unmodifiableList; - /** * A utility class for finding related types based on a given type. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/ValueHolder.java b/microsphere-java-core/src/main/java/io/microsphere/util/ValueHolder.java index 8982e1a85..d77551d3a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/ValueHolder.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/ValueHolder.java @@ -17,7 +17,6 @@ package io.microsphere.util; import java.util.Objects; - /** * A container class to hold a mutable value of any type. This class is not thread-safe. * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/Version.java b/microsphere-java-core/src/main/java/io/microsphere/util/Version.java index f0a97f088..5f793f31c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/Version.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/Version.java @@ -21,7 +21,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.classloading.Artifact; import io.microsphere.classloading.ArtifactDetector; - import java.io.Serializable; import java.net.URL; import java.util.Objects; @@ -51,7 +50,6 @@ import static io.microsphere.util.VersionUtils.CURRENT_JAVA_VERSION; import static java.lang.Integer.compare; import static java.lang.Integer.parseInt; - /** * Represents a version number composed of major, minor, and patch components. *

diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/VersionUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/VersionUtils.java index 3fdd7adce..343683629 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/VersionUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/VersionUtils.java @@ -23,7 +23,6 @@ import static io.microsphere.util.Version.Operator.of; import static io.microsphere.util.Version.ofVersion; import static javax.lang.model.SourceVersion.latest; - /** * The utility class for version * diff --git a/microsphere-java-core/src/main/java/io/microsphere/util/jar/JarUtils.java b/microsphere-java-core/src/main/java/io/microsphere/util/jar/JarUtils.java index 8012a42e2..8b74f8bc4 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/util/jar/JarUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/util/jar/JarUtils.java @@ -10,7 +10,6 @@ import io.microsphere.filter.JarEntryFilter; import io.microsphere.logging.Logger; import io.microsphere.util.Utils; - import java.io.File; import java.io.FileOutputStream; import java.io.IOException; @@ -42,7 +41,6 @@ import static io.microsphere.util.StringUtils.substringAfter; import static java.util.Collections.emptyList; import static java.util.Collections.unmodifiableList; - /** * Jar Utility class * diff --git a/microsphere-java-core/src/test/java/io/microsphere/AbstractTestCase.java b/microsphere-java-core/src/test/java/io/microsphere/AbstractTestCase.java index 8473faa6d..403cb28b2 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/AbstractTestCase.java +++ b/microsphere-java-core/src/test/java/io/microsphere/AbstractTestCase.java @@ -6,7 +6,6 @@ import io.microsphere.lang.function.ThrowableAction; import io.microsphere.process.ProcessExecutor; import org.junit.jupiter.api.Disabled; - import java.io.File; import java.io.IOException; import java.lang.annotation.Annotation; @@ -41,7 +40,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Abstract Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/JSONTestUtils.java b/microsphere-java-core/src/test/java/io/microsphere/JSONTestUtils.java index 9bfb6bfc4..053bd050e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/JSONTestUtils.java +++ b/microsphere-java-core/src/test/java/io/microsphere/JSONTestUtils.java @@ -22,7 +22,6 @@ import io.microsphere.json.JSONObject; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * JSONUtils for testing * diff --git a/microsphere-java-core/src/test/java/io/microsphere/Loggable.java b/microsphere-java-core/src/test/java/io/microsphere/Loggable.java index c2e9a5ee0..d1a48e571 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/Loggable.java +++ b/microsphere-java-core/src/test/java/io/microsphere/Loggable.java @@ -21,7 +21,6 @@ import static io.microsphere.logging.LoggerFactory.getLogger; import static java.lang.String.valueOf; - /** * Loggable * diff --git a/microsphere-java-core/src/test/java/io/microsphere/LoggingTest.java b/microsphere-java-core/src/test/java/io/microsphere/LoggingTest.java index cb64cf1c1..361baa6e4 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/LoggingTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/LoggingTest.java @@ -29,7 +29,6 @@ import static ch.qos.logback.classic.Level.valueOf; import static org.slf4j.LoggerFactory.getILoggerFactory; - /** * The abstract class for loggging with repeated levels * diff --git a/microsphere-java-core/src/test/java/io/microsphere/beans/BeanMetadataTest.java b/microsphere-java-core/src/test/java/io/microsphere/beans/BeanMetadataTest.java index 2681167d1..e9dc4c2b7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/beans/BeanMetadataTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/beans/BeanMetadataTest.java @@ -20,7 +20,6 @@ import io.microsphere.beans.BeanUtilsTest.TestBean; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.beans.BeanInfo; import java.beans.PropertyDescriptor; import java.util.Collection; @@ -31,7 +30,6 @@ import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link BeanMetadata} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/beans/BeanPropertyTest.java b/microsphere-java-core/src/test/java/io/microsphere/beans/BeanPropertyTest.java index adf88e286..11be6e6f9 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/beans/BeanPropertyTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/beans/BeanPropertyTest.java @@ -24,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * {@link BeanProperty} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/beans/BeanUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/beans/BeanUtilsTest.java index c7510c622..91cfe9272 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/beans/BeanUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/beans/BeanUtilsTest.java @@ -21,7 +21,6 @@ import io.microsphere.io.event.FileChangedEvent; import io.microsphere.test.MultipleValueData; import org.junit.jupiter.api.Test; - import java.beans.PropertyDescriptor; import java.io.File; import java.lang.reflect.Method; @@ -54,7 +53,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link BeanUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/beans/ConfigurationPropertyTest.java b/microsphere-java-core/src/test/java/io/microsphere/beans/ConfigurationPropertyTest.java index 6b88f76c0..bbf46741f 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/beans/ConfigurationPropertyTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/beans/ConfigurationPropertyTest.java @@ -27,7 +27,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ConfigurationProperty} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/AbstractArtifactResourceResolverTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/AbstractArtifactResourceResolverTest.java index 290d519db..35d7ff533 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/AbstractArtifactResourceResolverTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/AbstractArtifactResourceResolverTest.java @@ -19,7 +19,6 @@ import io.microsphere.LoggingTest; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import javax.annotation.Nonnull; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; @@ -28,7 +27,6 @@ import static io.microsphere.util.ClassLoaderUtils.getDefaultClassLoader; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * {@link AbstractArtifactResourceResolver} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/AbstractURLClassPathHandleTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/AbstractURLClassPathHandleTest.java index 1537eb363..e8c9e916d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/AbstractURLClassPathHandleTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/AbstractURLClassPathHandleTest.java @@ -21,7 +21,6 @@ import static io.microsphere.classloading.AbstractURLClassPathHandle.DEFAULT_PRIORITY; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link AbstractURLClassPathHandle} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/ArchiveFileArtifactResourceResolverTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/ArchiveFileArtifactResourceResolverTest.java index bfbfc88b6..9fa41e2fc 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/ArchiveFileArtifactResourceResolverTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/ArchiveFileArtifactResourceResolverTest.java @@ -17,7 +17,6 @@ package io.microsphere.classloading; import org.junit.jupiter.api.Test; - import java.io.File; import java.net.MalformedURLException; import java.net.URL; @@ -28,7 +27,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ArchiveFileArtifactResourceResolver} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/ArtifactDetectorTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/ArtifactDetectorTest.java index 401c55bc7..49ce23f8b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/ArtifactDetectorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/ArtifactDetectorTest.java @@ -18,7 +18,6 @@ import io.microsphere.LoggingTest; import org.junit.jupiter.api.Test; - import javax.annotation.Nonnull; import java.net.URL; import java.util.List; @@ -33,7 +32,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ArtifactDetector} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/ArtifactTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/ArtifactTest.java index 0fa26d708..05fab2b28 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/ArtifactTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/ArtifactTest.java @@ -18,7 +18,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.net.URL; import static io.microsphere.AbstractTestCase.TEST_CLASS_LOADER; @@ -32,7 +31,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link Artifact} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutorTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutorTest.java index f94a96960..1c29b22c5 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutorTest.java @@ -17,7 +17,6 @@ package io.microsphere.classloading; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.net.URL; import java.util.Enumeration; @@ -26,7 +25,6 @@ import static io.microsphere.classloading.BannedArtifactClassLoadingExecutor.loadBannedArtifactConfigs; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link BannedArtifactClassLoadingExecutor} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/BaseURLClassPathHandleTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/BaseURLClassPathHandleTest.java index 13b691450..9b74287c4 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/BaseURLClassPathHandleTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/BaseURLClassPathHandleTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - import java.net.URL; import static io.microsphere.net.URLUtils.EMPTY_URL_ARRAY; @@ -29,7 +28,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Abstract {@link URLClassPathHandle} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/ClassicURLClassPathHandleTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/ClassicURLClassPathHandleTest.java index ffc86965b..90a22ccaf 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/ClassicURLClassPathHandleTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/ClassicURLClassPathHandleTest.java @@ -17,7 +17,6 @@ package io.microsphere.classloading; import org.junit.jupiter.api.Test; - import java.net.URL; import java.util.Set; @@ -26,7 +25,6 @@ import static io.microsphere.util.VersionUtils.JAVA_VERSION_8; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ClassicURLClassPathHandle} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/ErrorArtifactResourceResolver.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/ErrorArtifactResourceResolver.java index 1a864d863..ce10406e1 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/ErrorArtifactResourceResolver.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/ErrorArtifactResourceResolver.java @@ -19,7 +19,6 @@ import java.io.IOException; import java.io.InputStream; import java.net.URL; - /** * {@link StreamArtifactResourceResolver} with error * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/ErrorArtifactResourceResolverTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/ErrorArtifactResourceResolverTest.java index 8f0342996..d17b739f6 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/ErrorArtifactResourceResolverTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/ErrorArtifactResourceResolverTest.java @@ -1,7 +1,7 @@ package io.microsphere.classloading; -import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertNull; /** * {@link ErrorArtifactResourceResolver} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/ManifestArtifactResourceResolverTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/ManifestArtifactResourceResolverTest.java index 91edaf153..ade40ff9c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/ManifestArtifactResourceResolverTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/ManifestArtifactResourceResolverTest.java @@ -1,12 +1,10 @@ package io.microsphere.classloading; import org.junit.jupiter.api.Test; - import java.util.jar.Manifest; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link ManifestArtifactResourceResolver} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/MavenArtifactResourceResolverTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/MavenArtifactResourceResolverTest.java index 6754d79cb..99d3e7795 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/MavenArtifactResourceResolverTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/MavenArtifactResourceResolverTest.java @@ -1,8 +1,8 @@ package io.microsphere.classloading; + import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link MavenArtifactResourceResolver} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/MavenArtifactTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/MavenArtifactTest.java index 8bf5864e2..fedf6ccde 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/MavenArtifactTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/MavenArtifactTest.java @@ -18,7 +18,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.net.URL; import static io.microsphere.classloading.Artifact.UNKNOWN; @@ -31,7 +30,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link MavenArtifact} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/ModernURLClassPathHandleTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/ModernURLClassPathHandleTest.java index 66a9f6f4a..7b4c752d4 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/ModernURLClassPathHandleTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/ModernURLClassPathHandleTest.java @@ -21,7 +21,6 @@ import static io.microsphere.util.VersionUtils.CURRENT_JAVA_VERSION; import static io.microsphere.util.VersionUtils.JAVA_VERSION_9; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ModernURLClassPathHandle} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/NoOpURLClassPathHandleTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/NoOpURLClassPathHandleTest.java index 4aca8fa63..383024d3f 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/NoOpURLClassPathHandleTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/NoOpURLClassPathHandleTest.java @@ -24,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link NoOpURLClassPathHandle} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/ServiceLoadingURLClassPathHandleTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/ServiceLoadingURLClassPathHandleTest.java index 466f5fccf..3f9680360 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/ServiceLoadingURLClassPathHandleTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/ServiceLoadingURLClassPathHandleTest.java @@ -18,7 +18,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.net.URL; import java.net.URLClassLoader; @@ -28,7 +27,6 @@ import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ServiceLoadingURLClassPathHandle} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/StreamArtifactResourceResolverTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/StreamArtifactResourceResolverTest.java index 87b6da7fe..cf6a67262 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/StreamArtifactResourceResolverTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/StreamArtifactResourceResolverTest.java @@ -17,7 +17,6 @@ package io.microsphere.classloading; import org.springframework.core.ResolvableType; - import java.io.File; import java.net.MalformedURLException; import java.net.URL; @@ -25,7 +24,6 @@ import static io.microsphere.net.URLUtils.resolveArchiveFile; import static io.microsphere.util.ClassLoaderUtils.getClassResource; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link StreamArtifactResourceResolver} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/classloading/URLClassPathHandleTest.java b/microsphere-java-core/src/test/java/io/microsphere/classloading/URLClassPathHandleTest.java index 3d2596905..c296faa06 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/classloading/URLClassPathHandleTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/classloading/URLClassPathHandleTest.java @@ -1,7 +1,6 @@ package io.microsphere.classloading; import org.junit.jupiter.api.Test; - import java.net.URL; import java.net.URLClassLoader; @@ -11,7 +10,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link URLClassPathHandle} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/AbstractDequeTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/AbstractDequeTest.java index 7e6ba5eb5..6e4c8c7d2 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/AbstractDequeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/AbstractDequeTest.java @@ -18,7 +18,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.Iterator; import java.util.NoSuchElementException; @@ -28,7 +27,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link AbstractDeque} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/AbstractEnumerationTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/AbstractEnumerationTest.java index 76a87b053..8583298c4 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/AbstractEnumerationTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/AbstractEnumerationTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.Enumeration; import java.util.NoSuchElementException; @@ -34,7 +33,6 @@ import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Abstract {@link Enumeration} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/ArrayEnumerationTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/ArrayEnumerationTest.java index 29e7dc697..22f7d3394 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/ArrayEnumerationTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/ArrayEnumerationTest.java @@ -20,7 +20,6 @@ import java.util.Enumeration; import static io.microsphere.collection.EnumerationUtils.ofEnumeration; - /** * {@link ArrayEnumeration} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/ArrayStackTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/ArrayStackTest.java index d22047e2b..5d53ce66c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/ArrayStackTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/ArrayStackTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.EmptyStackException; import static io.microsphere.collection.ListUtils.ofArrayList; @@ -27,7 +26,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ArrayStack} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/CollectionUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/CollectionUtilsTest.java index c8384328a..f2742b484 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/CollectionUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/CollectionUtilsTest.java @@ -17,13 +17,14 @@ package io.microsphere.collection; import io.microsphere.Loggable; -import org.junit.jupiter.api.Test; - import java.util.Collections; +import java.util.HashSet; import java.util.Iterator; +import java.util.LinkedList; import java.util.List; import java.util.NoSuchElementException; import java.util.Set; +import org.junit.jupiter.api.Test; import static io.microsphere.AbstractTestCase.TEST_ELEMENT; import static io.microsphere.AbstractTestCase.TEST_EMPTY_COLLECTION; @@ -67,7 +68,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@lin CollectionUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/DefaultEntryTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/DefaultEntryTest.java index d6e16f100..5057a793e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/DefaultEntryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/DefaultEntryTest.java @@ -23,7 +23,6 @@ import static io.microsphere.collection.DefaultEntry.of; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; - /** * {@link DefaultEntry} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/DelegatingDequeTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/DelegatingDequeTest.java index 058ffc769..b98918303 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/DelegatingDequeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/DelegatingDequeTest.java @@ -18,7 +18,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.Deque; import java.util.LinkedList; @@ -27,7 +26,6 @@ import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link DelegatingDeque} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/DelegatingIteratorTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/DelegatingIteratorTest.java index b8b5a862a..a65901964 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/DelegatingIteratorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/DelegatingIteratorTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; @@ -31,7 +30,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link DelegatingIterator} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/DelegatingQueueTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/DelegatingQueueTest.java index 44a6107dd..977e334e5 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/DelegatingQueueTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/DelegatingQueueTest.java @@ -18,14 +18,12 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.LinkedList; import java.util.Queue; import static io.microsphere.collection.ListUtils.newLinkedList; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link DelegatingQueue} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyDequeTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyDequeTest.java index 421ad59fb..2c44b1a70 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyDequeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyDequeTest.java @@ -18,7 +18,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.NoSuchElementException; import static io.microsphere.collection.CollectionUtils.emptyIterator; @@ -28,7 +27,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link EmptyDeque} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyIterableTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyIterableTest.java index c3c891cdd..9de45864f 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyIterableTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyIterableTest.java @@ -4,7 +4,6 @@ import static io.microsphere.collection.EmptyIterable.INSTANCE; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link EmptyIterable} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyIteratorTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyIteratorTest.java index f5e39953b..67b02fe8d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyIteratorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyIteratorTest.java @@ -2,12 +2,10 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.NoSuchElementException; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link EmptyIterator} Tes * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyQueueTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyQueueTest.java index 828376c57..e045b11c1 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyQueueTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/EmptyQueueTest.java @@ -18,7 +18,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.NoSuchElementException; import java.util.Queue; @@ -29,7 +28,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * Empty {@link Queue} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/EnumerationIteratorAdapterTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/EnumerationIteratorAdapterTest.java index 53e77cf29..a645d2999 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/EnumerationIteratorAdapterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/EnumerationIteratorAdapterTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertFalse; - /** * {@link EnumerationIteratorAdapter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/EnumerationUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/EnumerationUtilsTest.java index 0618df54e..f0ba50353 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/EnumerationUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/EnumerationUtilsTest.java @@ -17,7 +17,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.Enumeration; import java.util.NoSuchElementException; @@ -29,7 +28,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link EnumerationUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/ImmutableEntryTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/ImmutableEntryTest.java index e518c35cb..4ccee8e7b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/ImmutableEntryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/ImmutableEntryTest.java @@ -24,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ImmutableEntry} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/IterableAdapterTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/IterableAdapterTest.java index f11acfeec..d085aa3f7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/IterableAdapterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/IterableAdapterTest.java @@ -17,7 +17,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.Iterator; import static io.microsphere.AbstractTestCase.TEST_ELEMENT; @@ -25,7 +24,6 @@ import static io.microsphere.collection.CollectionUtils.toIterable; import static io.microsphere.collection.EmptyIterator.INSTANCE; import static org.junit.jupiter.api.Assertions.assertSame; - /* * {@link IterableAdapter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/IteratorsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/IteratorsTest.java index fcee47bd9..88efe6053 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/IteratorsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/IteratorsTest.java @@ -18,7 +18,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.Iterator; import java.util.List; @@ -26,7 +25,6 @@ import static io.microsphere.collection.Lists.ofList; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link Iterators} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/LinkedListTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/LinkedListTest.java index 86d5afe7d..c6e41f672 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/LinkedListTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/LinkedListTest.java @@ -21,7 +21,6 @@ import java.util.List; import static io.microsphere.collection.ListUtils.newLinkedList; - /** * {@link LinkedList} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/ListUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/ListUtilsTest.java index bcf473d6e..93405eab7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/ListUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/ListUtilsTest.java @@ -19,7 +19,6 @@ import io.microsphere.Loggable; import io.microsphere.lang.MutableInteger; import org.junit.jupiter.api.Test; - import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; @@ -56,7 +55,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ListUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/ListsBenchmark.java b/microsphere-java-core/src/test/java/io/microsphere/collection/ListsBenchmark.java index f56ae1ec5..0a7037675 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/ListsBenchmark.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/ListsBenchmark.java @@ -30,7 +30,6 @@ import static io.microsphere.collection.Lists.ofList; import static java.util.concurrent.TimeUnit.NANOSECONDS; import static java.util.concurrent.TimeUnit.SECONDS; - /** * {@link Lists} Benchmark * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/ListsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/ListsTest.java index 298d06b5a..021716017 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/ListsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/ListsTest.java @@ -1,7 +1,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.lang.invoke.MethodHandle; import static io.microsphere.AbstractTestCase.TEST_NULL_OBJECT_ARRAY; @@ -24,7 +23,6 @@ import static java.util.Collections.singletonList; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link Lists} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/MapUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/MapUtilsTest.java index 31013472d..4b74a14f5 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/MapUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/MapUtilsTest.java @@ -17,7 +17,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.Collections; import java.util.HashMap; import java.util.IdentityHashMap; @@ -61,7 +60,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link MapUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/MapsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/MapsTest.java index 325159209..d7c647530 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/MapsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/MapsTest.java @@ -1,7 +1,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.lang.invoke.MethodHandle; import java.util.Map; @@ -27,7 +26,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link Maps} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/MutableCollectionTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/MutableCollectionTest.java index 2aa0571f9..7b2a1e738 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/MutableCollectionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/MutableCollectionTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.Collection; import java.util.Iterator; @@ -34,7 +33,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Abstract Test for Mutable {@link Collection} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/MutableDequeTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/MutableDequeTest.java index 9a03599a6..6035493cb 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/MutableDequeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/MutableDequeTest.java @@ -18,7 +18,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.Deque; import java.util.Iterator; import java.util.NoSuchElementException; @@ -28,7 +27,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Abstract Test for Mutable {@link Deque} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/MutableQueueTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/MutableQueueTest.java index d51ac91c5..487569256 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/MutableQueueTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/MutableQueueTest.java @@ -18,7 +18,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.NoSuchElementException; import java.util.Queue; @@ -26,7 +25,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Abstract Test for Mutable {@link Queue} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/PropertiesUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/PropertiesUtilsTest.java index a6e8f47a1..a68c92901 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/PropertiesUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/PropertiesUtilsTest.java @@ -17,7 +17,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.Map; import static io.microsphere.collection.MapUtils.ofMap; @@ -27,7 +26,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link PropertiesUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/QueueUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/QueueUtilsTest.java index acf098736..dcb9e20db 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/QueueUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/QueueUtilsTest.java @@ -1,7 +1,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.ArrayDeque; import java.util.Collection; import java.util.Deque; @@ -37,7 +36,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link QueueUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/ReadOnlyIteratorTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/ReadOnlyIteratorTest.java index a3bf46020..4614d7da1 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/ReadOnlyIteratorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/ReadOnlyIteratorTest.java @@ -18,7 +18,6 @@ import io.microsphere.Loggable; import org.junit.jupiter.api.Test; - import java.util.Iterator; import java.util.NoSuchElementException; @@ -26,7 +25,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Abstract Read-only {@link Iterator} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/ReversedDequeTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/ReversedDequeTest.java index 93e7043b7..a378fc11b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/ReversedDequeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/ReversedDequeTest.java @@ -18,7 +18,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.util.Deque; import java.util.LinkedList; @@ -27,7 +26,6 @@ import static io.microsphere.util.ArrayUtils.ofArray; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ReversedDeque} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/SetUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/SetUtilsTest.java index 547d463da..edd4ec1d5 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/SetUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/SetUtilsTest.java @@ -1,15 +1,15 @@ package io.microsphere.collection; -import org.junit.jupiter.api.Test; - import java.util.Collection; import java.util.Comparator; import java.util.Enumeration; +import java.util.HashSet; import java.util.LinkedHashSet; import java.util.Map; import java.util.Set; import java.util.SortedSet; import java.util.TreeSet; +import org.junit.jupiter.api.Test; import static io.microsphere.AbstractTestCase.TEST_NULL_STRING_ARRAY; import static io.microsphere.collection.CollectionUtils.toIterable; @@ -30,7 +30,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link SetUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/SetsTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/SetsTest.java index f718e84e8..ac8b3289d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/SetsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/SetsTest.java @@ -1,7 +1,6 @@ package io.microsphere.collection; import org.junit.jupiter.api.Test; - import java.lang.invoke.MethodHandle; import static io.microsphere.AbstractTestCase.TEST_NULL_OBJECT_ARRAY; @@ -24,7 +23,6 @@ import static java.util.Collections.singleton; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link Sets} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/SingletonDequeTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/SingletonDequeTest.java index eea22c95a..cf0b69c6a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/SingletonDequeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/SingletonDequeTest.java @@ -19,14 +19,12 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.Iterator; import static io.microsphere.AbstractTestCase.TEST_ELEMENT; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link SingletonDeque} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/SingletonEnumerationTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/SingletonEnumerationTest.java index ea955bc44..ad1ef4694 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/SingletonEnumerationTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/SingletonEnumerationTest.java @@ -21,7 +21,6 @@ import static io.microsphere.AbstractTestCase.TEST_ELEMENT; import static io.microsphere.collection.CollectionUtils.singletonEnumeration; import static io.microsphere.collection.CollectionUtils.toIterator; - /** * {@link SingletonEnumeration} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/SingletonIteratorTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/SingletonIteratorTest.java index d0ae11b8e..4211fc8a3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/SingletonIteratorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/SingletonIteratorTest.java @@ -20,7 +20,6 @@ import static io.microsphere.AbstractTestCase.TEST_ELEMENT; import static io.microsphere.collection.CollectionUtils.singletonIterator; - /** * {@link SingletonIterator} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/TestDeque.java b/microsphere-java-core/src/test/java/io/microsphere/collection/TestDeque.java index f14674a7b..bb4b30854 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/TestDeque.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/TestDeque.java @@ -25,7 +25,6 @@ import java.util.stream.Stream; import static java.lang.Integer.MAX_VALUE; - /** * {@link AbstractDeque} class for testing * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/UnmodifiableDequeTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/UnmodifiableDequeTest.java index 9fdbda854..2bdb0df71 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/UnmodifiableDequeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/UnmodifiableDequeTest.java @@ -24,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link UnmodifiableDeque} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/UnmodifiableIteratorTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/UnmodifiableIteratorTest.java index b720a8c00..d31d92489 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/UnmodifiableIteratorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/UnmodifiableIteratorTest.java @@ -21,7 +21,6 @@ import static io.microsphere.AbstractTestCase.TEST_ELEMENT; import static io.microsphere.collection.CollectionUtils.singletonIterator; import static io.microsphere.collection.CollectionUtils.unmodifiableIterator; - /** * {@link UnmodifiableIterator} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/collection/UnmodifiableQueueTest.java b/microsphere-java-core/src/test/java/io/microsphere/collection/UnmodifiableQueueTest.java index 14f97398c..3a3aaff70 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/collection/UnmodifiableQueueTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/collection/UnmodifiableQueueTest.java @@ -31,7 +31,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link UnmodifiableQueue} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/concurrent/CustomizedThreadFactoryTest.java b/microsphere-java-core/src/test/java/io/microsphere/concurrent/CustomizedThreadFactoryTest.java index f89add535..42e85550a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/concurrent/CustomizedThreadFactoryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/concurrent/CustomizedThreadFactoryTest.java @@ -17,7 +17,6 @@ package io.microsphere.concurrent; import org.junit.jupiter.api.Test; - import java.util.concurrent.ThreadFactory; import static io.microsphere.concurrent.CustomizedThreadFactory.DEFAULT_DAEMON; @@ -25,7 +24,6 @@ import static io.microsphere.concurrent.CustomizedThreadFactory.newThreadFactory; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link CustomizedThreadFactory} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/concurrent/DelegatingBlockingQueueTest.java b/microsphere-java-core/src/test/java/io/microsphere/concurrent/DelegatingBlockingQueueTest.java index 1552f4c09..f151da2e0 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/concurrent/DelegatingBlockingQueueTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/concurrent/DelegatingBlockingQueueTest.java @@ -1,15 +1,15 @@ package io.microsphere.concurrent; import io.microsphere.collection.MutableQueueTest; -import org.junit.jupiter.api.Test; - import java.util.Iterator; +import java.util.LinkedList; import java.util.List; import java.util.NoSuchElementException; import java.util.Spliterator; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingDeque; import java.util.stream.Stream; +import org.junit.jupiter.api.Test; import static io.microsphere.collection.ListUtils.newLinkedList; import static io.microsphere.collection.Lists.ofList; @@ -23,7 +23,6 @@ import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link DelegatingBlockingQueue} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/concurrent/DelegatingScheduledExecutorServiceTest.java b/microsphere-java-core/src/test/java/io/microsphere/concurrent/DelegatingScheduledExecutorServiceTest.java index 944272c13..4a48d0999 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/concurrent/DelegatingScheduledExecutorServiceTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/concurrent/DelegatingScheduledExecutorServiceTest.java @@ -2,7 +2,6 @@ import io.microsphere.Loggable; import org.junit.jupiter.api.Test; - import java.util.List; import java.util.concurrent.Future; import java.util.concurrent.ScheduledExecutorService; @@ -15,7 +14,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link DelegatingScheduledExecutorService} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/concurrent/ExecutorUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/concurrent/ExecutorUtilsTest.java index 106cbeee7..6f67ce8be 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/concurrent/ExecutorUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/concurrent/ExecutorUtilsTest.java @@ -6,7 +6,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.Iterator; import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; @@ -21,7 +20,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ExecutorUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/constants/ConstantsTest.java b/microsphere-java-core/src/test/java/io/microsphere/constants/ConstantsTest.java index 62addd81c..f0439dd12 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/constants/ConstantsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/constants/ConstantsTest.java @@ -114,7 +114,6 @@ import static java.io.File.separator; import static java.lang.System.lineSeparator; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link Constants} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/constants/FileConstantsTest.java b/microsphere-java-core/src/test/java/io/microsphere/constants/FileConstantsTest.java index 388ca6caa..0d6c34208 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/constants/FileConstantsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/constants/FileConstantsTest.java @@ -32,7 +32,6 @@ import static io.microsphere.constants.FileConstants.ZIP; import static io.microsphere.constants.FileConstants.ZIP_EXTENSION; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link FileConstants} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/constants/PathConstantsTest.java b/microsphere-java-core/src/test/java/io/microsphere/constants/PathConstantsTest.java index 43032d818..e0e66cfe4 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/constants/PathConstantsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/constants/PathConstantsTest.java @@ -24,7 +24,6 @@ import static io.microsphere.constants.PathConstants.SLASH; import static io.microsphere.constants.PathConstants.SLASH_CHAR; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link PathConstants} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/constants/PropertyConstantsTest.java b/microsphere-java-core/src/test/java/io/microsphere/constants/PropertyConstantsTest.java index 0ddd9de75..8e57a173a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/constants/PropertyConstantsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/constants/PropertyConstantsTest.java @@ -21,7 +21,6 @@ import static io.microsphere.constants.PropertyConstants.ENABLED_PROPERTY_NAME; import static io.microsphere.constants.PropertyConstants.MICROSPHERE_PROPERTY_NAME_PREFIX; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link PropertyConstants} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/constants/ProtocolConstantsTest.java b/microsphere-java-core/src/test/java/io/microsphere/constants/ProtocolConstantsTest.java index 6501c1a2e..3ea803d84 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/constants/ProtocolConstantsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/constants/ProtocolConstantsTest.java @@ -29,7 +29,6 @@ import static io.microsphere.constants.ProtocolConstants.WAR_PROTOCOL; import static io.microsphere.constants.ProtocolConstants.ZIP_PROTOCOL; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ProtocolConstants} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/constants/ResourceConstantsTest.java b/microsphere-java-core/src/test/java/io/microsphere/constants/ResourceConstantsTest.java index 57f9256fa..0c8ac7737 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/constants/ResourceConstantsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/constants/ResourceConstantsTest.java @@ -26,7 +26,6 @@ import static io.microsphere.constants.ResourceConstants.METADATA_RESOURCE; import static io.microsphere.constants.ResourceConstants.MICROSPHERE_METADATA_RESOURCE; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ResourceConstants} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/constants/SeparatorConstantsTest.java b/microsphere-java-core/src/test/java/io/microsphere/constants/SeparatorConstantsTest.java index cfbc36f7a..d747ca812 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/constants/SeparatorConstantsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/constants/SeparatorConstantsTest.java @@ -26,7 +26,6 @@ import static java.io.File.separator; import static java.lang.System.lineSeparator; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link SeparatorConstants} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/constants/SymbolConstantsTest.java b/microsphere-java-core/src/test/java/io/microsphere/constants/SymbolConstantsTest.java index 31a7956c9..6eb8e3b12 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/constants/SymbolConstantsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/constants/SymbolConstantsTest.java @@ -81,7 +81,6 @@ import static io.microsphere.constants.SymbolConstants.WILDCARD; import static io.microsphere.constants.SymbolConstants.WILDCARD_CHAR; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link SymbolConstants} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/AbstractConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/AbstractConverterTest.java index 3400cb19d..11d2b85b3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/AbstractConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/AbstractConverterTest.java @@ -26,7 +26,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link AbstractConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/BaseConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/BaseConverterTest.java index 8f00a49f4..99bdb43d7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/BaseConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/BaseConverterTest.java @@ -27,7 +27,6 @@ import static java.util.Objects.deepEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Abstract {@link Converter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ByteArrayToObjectConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ByteArrayToObjectConverterTest.java index 3f9873100..08fdb331b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ByteArrayToObjectConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ByteArrayToObjectConverterTest.java @@ -20,7 +20,6 @@ import static io.microsphere.convert.ByteArrayToObjectConverter.INSTANCE; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ByteArrayToObjectConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ConverterTest.java index d36565501..503b67600 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ConverterTest.java @@ -17,7 +17,6 @@ package io.microsphere.convert; import org.junit.jupiter.api.Test; - import java.util.Date; import static io.microsphere.convert.Converter.convertIfPossible; @@ -27,7 +26,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link Converter} Test-Cases * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/MapToPropertiesConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/MapToPropertiesConverterTest.java index 08f3d805c..43cdc50b3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/MapToPropertiesConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/MapToPropertiesConverterTest.java @@ -17,14 +17,12 @@ package io.microsphere.convert; import org.junit.jupiter.api.Test; - import java.util.Map; import java.util.Properties; import static io.microsphere.convert.MapToPropertiesConverter.INSTANCE; import static java.util.Collections.singletonMap; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link MapToPropertiesConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToByteConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToByteConverterTest.java index 42fa979b9..a851c3259 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToByteConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToByteConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.NumberToByteConverter.INSTANCE; import static java.lang.Byte.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link NumberToByteConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToCharacterConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToCharacterConverterTest.java index 7f94a3eff..5cbc08645 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToCharacterConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToCharacterConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.NumberToCharacterConverter.INSTANCE; import static java.lang.Character.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link NumberToCharacterConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToDoubleConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToDoubleConverterTest.java index 6bc2ee459..e58047099 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToDoubleConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToDoubleConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.NumberToDoubleConverter.INSTANCE; import static java.lang.Double.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link NumberToDoubleConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToFloatConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToFloatConverterTest.java index 4eabd41a4..7b3f2e2b4 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToFloatConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToFloatConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.NumberToFloatConverter.INSTANCE; import static java.lang.Float.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link NumberToFloatConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToIntegerConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToIntegerConverterTest.java index 4c1c5aeb5..2bb6f0d25 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToIntegerConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToIntegerConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.NumberToIntegerConverter.INSTANCE; import static java.lang.Integer.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link NumberToIntegerConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToLongConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToLongConverterTest.java index 01a7cd139..5a5ca402d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToLongConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToLongConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.NumberToLongConverter.INSTANCE; import static java.lang.Long.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link NumberToLongConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToShortConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToShortConverterTest.java index b0514e36c..16cea4b18 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToShortConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/NumberToShortConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.NumberToShortConverter.INSTANCE; import static java.lang.Short.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link NumberToShortConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToBooleanConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToBooleanConverterTest.java index 19f609541..a802cf5ec 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToBooleanConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToBooleanConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.ObjectToBooleanConverter.INSTANCE; import static java.lang.Boolean.TRUE; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ObjectToBooleanConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToByteArrayConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToByteArrayConverterTest.java index afbdb321f..99ca24e69 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToByteArrayConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToByteArrayConverterTest.java @@ -21,7 +21,6 @@ import static io.microsphere.convert.ObjectToByteArrayConverter.INSTANCE; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ObjectToByteArrayConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToByteConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToByteConverterTest.java index 7efc12237..328395125 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToByteConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToByteConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.ObjectToByteConverter.INSTANCE; import static java.lang.Byte.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ObjectToByteConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToCharacterConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToCharacterConverterTest.java index 835aa4deb..6ce1ea10d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToCharacterConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToCharacterConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.ObjectToCharacterConverter.INSTANCE; import static java.lang.Character.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ObjectToCharacterConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToDoubleConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToDoubleConverterTest.java index e6a45ba89..921ad3c73 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToDoubleConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToDoubleConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.ObjectToDoubleConverter.INSTANCE; import static java.lang.Double.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ObjectToDoubleConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToFloatConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToFloatConverterTest.java index 854655745..d135ea575 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToFloatConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToFloatConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.ObjectToFloatConverter.INSTANCE; import static java.lang.Float.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ObjectToFloatConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToIntegerConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToIntegerConverterTest.java index e4b58efd9..72f1db40f 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToIntegerConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToIntegerConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.ObjectToIntegerConverter.INSTANCE; import static java.lang.Integer.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ObjectToIntegerConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToLongConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToLongConverterTest.java index 7f5076d0e..2d6b0d684 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToLongConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToLongConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.ObjectToLongConverter.INSTANCE; import static java.lang.Long.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ObjectToLongConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToOptionalConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToOptionalConverterTest.java index d565a4d07..70007bd6c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToOptionalConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToOptionalConverterTest.java @@ -18,14 +18,12 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.Optional; import static java.util.Optional.empty; import static java.util.Optional.of; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ObjectToOptionalConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToShortConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToShortConverterTest.java index caf77350b..691ed1f19 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToShortConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToShortConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.ObjectToShortConverter.INSTANCE; import static java.lang.Short.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ObjectToShortConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToStringConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToStringConverterTest.java index 18b64012e..5228dba2c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToStringConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/ObjectToStringConverterTest.java @@ -22,7 +22,6 @@ import static io.microsphere.convert.ObjectToStringConverter.INSTANCE; import static java.lang.String.valueOf; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ObjectToStringConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/PropertiesToStringConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/PropertiesToStringConverterTest.java index 293d21f3c..c0d95df92 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/PropertiesToStringConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/PropertiesToStringConverterTest.java @@ -17,14 +17,12 @@ package io.microsphere.convert; import org.junit.jupiter.api.Test; - import java.util.Date; import java.util.Properties; import static io.microsphere.constants.SeparatorConstants.LINE_SEPARATOR; import static io.microsphere.convert.PropertiesToStringConverter.INSTANCE; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * {@link PropertiesToStringConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToBooleanConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToBooleanConverterTest.java index 2d55ccff5..75775aa6b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToBooleanConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToBooleanConverterTest.java @@ -23,7 +23,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToBooleanConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToByteConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToByteConverterTest.java index c18d410d4..524c6760a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToByteConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToByteConverterTest.java @@ -20,7 +20,6 @@ import static io.microsphere.convert.StringToByteConverter.INSTANCE; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link StringToByteConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToCharArrayConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToCharArrayConverterTest.java index 92a5494b2..d7d6193da 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToCharArrayConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToCharArrayConverterTest.java @@ -16,8 +16,8 @@ */ package io.microsphere.convert; -import static io.microsphere.convert.StringToCharArrayConverter.INSTANCE; +import static io.microsphere.convert.StringToCharArrayConverter.INSTANCE; /** * {@link StringToCharArrayConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToCharacterConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToCharacterConverterTest.java index f27e8fbc2..4931689d1 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToCharacterConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToCharacterConverterTest.java @@ -22,7 +22,6 @@ import static java.lang.Character.valueOf; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link StringToCharacterConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToClassConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToClassConverterTest.java index 564a06feb..537fa6b1d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToClassConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToClassConverterTest.java @@ -16,8 +16,8 @@ */ package io.microsphere.convert; -import static io.microsphere.convert.StringToClassConverter.INSTANCE; +import static io.microsphere.convert.StringToClassConverter.INSTANCE; /** * {@link StringToClassConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToDoubleConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToDoubleConverterTest.java index 0fe5c005c..965f09b35 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToDoubleConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToDoubleConverterTest.java @@ -21,7 +21,6 @@ import static io.microsphere.convert.StringToDoubleConverter.INSTANCE; import static java.lang.Double.valueOf; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link StringToDoubleConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToDurationConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToDurationConverterTest.java index 0f407256e..e0ef91bca 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToDurationConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToDurationConverterTest.java @@ -4,7 +4,6 @@ import static io.microsphere.convert.StringToDurationConverter.INSTANCE; import static java.util.concurrent.TimeUnit.MILLISECONDS; - /** * {@link StringToDurationConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToFloatConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToFloatConverterTest.java index 83483a01a..70362c2c0 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToFloatConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToFloatConverterTest.java @@ -23,7 +23,6 @@ import static java.lang.Float.valueOf; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToFloatConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToInputStreamConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToInputStreamConverterTest.java index 599e9f7ea..9afc11460 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToInputStreamConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToInputStreamConverterTest.java @@ -17,11 +17,9 @@ package io.microsphere.convert; import io.microsphere.io.FastByteArrayInputStream; - import java.io.InputStream; import static io.microsphere.convert.StringToInputStreamConverter.INSTANCE; - /** * {@link StringToInputStreamConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToIntegerConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToIntegerConverterTest.java index 81cfa6295..16840cc11 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToIntegerConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToIntegerConverterTest.java @@ -21,7 +21,6 @@ import static io.microsphere.convert.StringToIntegerConverter.INSTANCE; import static java.lang.Integer.valueOf; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link StringToIntegerConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToLongConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToLongConverterTest.java index ddd19d3e6..4aac5973d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToLongConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToLongConverterTest.java @@ -21,7 +21,6 @@ import static io.microsphere.convert.StringToLongConverter.INSTANCE; import static java.lang.Long.valueOf; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link StringToLongConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToShortConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToShortConverterTest.java index a9ff109be..27782ade7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToShortConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToShortConverterTest.java @@ -21,7 +21,6 @@ import static io.microsphere.convert.StringToShortConverter.INSTANCE; import static java.lang.Short.valueOf; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link StringToShortConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToStringConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToStringConverterTest.java index b096b2ab4..53e25f6a3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/StringToStringConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/StringToStringConverterTest.java @@ -16,8 +16,8 @@ */ package io.microsphere.convert; -import static io.microsphere.convert.StringToStringConverter.INSTANCE; +import static io.microsphere.convert.StringToStringConverter.INSTANCE; /** * {@link StringToStringConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/MultiValueConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/MultiValueConverterTest.java index 060c07e7b..74b6e1b67 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/MultiValueConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/MultiValueConverterTest.java @@ -17,7 +17,6 @@ package io.microsphere.convert.multiple; import org.junit.jupiter.api.Test; - import java.lang.reflect.Array; import java.util.Collection; import java.util.Deque; @@ -33,7 +32,6 @@ import static io.microsphere.convert.multiple.MultiValueConverter.convertIfPossible; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link MultiValueConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToArrayConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToArrayConverterTest.java index 84d88ff62..7427a71e3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToArrayConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToArrayConverterTest.java @@ -26,7 +26,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToArrayConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToBlockingDequeConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToBlockingDequeConverterTest.java index 0766ac5e9..a9576c214 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToBlockingDequeConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToBlockingDequeConverterTest.java @@ -19,7 +19,6 @@ import io.microsphere.collection.CollectionUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.AbstractList; import java.util.ArrayList; import java.util.Collection; @@ -43,7 +42,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToBlockingDequeConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToBlockingQueueConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToBlockingQueueConverterTest.java index 8c65c3d48..15760aa8a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToBlockingQueueConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToBlockingQueueConverterTest.java @@ -19,7 +19,6 @@ import io.microsphere.collection.CollectionUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.AbstractList; import java.util.ArrayList; import java.util.Collection; @@ -42,7 +41,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToBlockingQueueConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToCollectionConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToCollectionConverterTest.java index 423a167fd..b16717ef5 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToCollectionConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToCollectionConverterTest.java @@ -18,7 +18,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.AbstractList; import java.util.ArrayList; import java.util.Collection; @@ -42,7 +41,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToCollectionConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToDequeConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToDequeConverterTest.java index 552e8d35f..01b1d4e65 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToDequeConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToDequeConverterTest.java @@ -19,7 +19,6 @@ import io.microsphere.collection.CollectionUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.AbstractList; import java.util.ArrayDeque; import java.util.ArrayList; @@ -43,7 +42,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToDequeConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToIterableConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToIterableConverterTest.java index 1b8bb74aa..b6f5bf36d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToIterableConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToIterableConverterTest.java @@ -19,7 +19,6 @@ import io.microsphere.convert.StringConverter; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.Collection; import java.util.Collections; import java.util.List; @@ -32,7 +31,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToIterableConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToListConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToListConverterTest.java index 6d55d58c6..b80ebb1df 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToListConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToListConverterTest.java @@ -19,7 +19,6 @@ import io.microsphere.collection.CollectionUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.AbstractList; import java.util.ArrayList; import java.util.Collection; @@ -42,7 +41,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToListConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToMultiValueConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToMultiValueConverterTest.java index 9c7a3c127..dfa133b05 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToMultiValueConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToMultiValueConverterTest.java @@ -6,7 +6,6 @@ import static io.microsphere.util.ArrayUtils.EMPTY_STRING_ARRAY; import static io.microsphere.util.ArrayUtils.ofArray; import static org.junit.jupiter.api.Assertions.assertArrayEquals; - /** * {@link StringToMultiValueConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToNavigableSetConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToNavigableSetConverterTest.java index 02853d4cc..5ca3c73de 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToNavigableSetConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToNavigableSetConverterTest.java @@ -19,7 +19,6 @@ import io.microsphere.collection.CollectionUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.AbstractList; import java.util.ArrayList; import java.util.Collection; @@ -42,7 +41,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToNavigableSetConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToQueueConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToQueueConverterTest.java index fe33f463f..bc8d1d5c9 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToQueueConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToQueueConverterTest.java @@ -19,7 +19,6 @@ import io.microsphere.collection.CollectionUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.AbstractList; import java.util.ArrayDeque; import java.util.ArrayList; @@ -43,7 +42,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToQueueConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToSetConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToSetConverterTest.java index aaa00f102..85f51d903 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToSetConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToSetConverterTest.java @@ -19,7 +19,6 @@ import io.microsphere.collection.CollectionUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.AbstractList; import java.util.ArrayList; import java.util.Collection; @@ -43,7 +42,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToSetConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToSortedSetConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToSortedSetConverterTest.java index 9d31e36f3..fe949d1f4 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToSortedSetConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToSortedSetConverterTest.java @@ -19,7 +19,6 @@ import io.microsphere.collection.CollectionUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.AbstractList; import java.util.ArrayList; import java.util.Collection; @@ -42,7 +41,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToSortedSetConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToTransferQueueConverterTest.java b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToTransferQueueConverterTest.java index c2bc3abe8..657918850 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToTransferQueueConverterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/convert/multiple/StringToTransferQueueConverterTest.java @@ -19,7 +19,6 @@ import io.microsphere.collection.CollectionUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.AbstractList; import java.util.ArrayList; import java.util.Collection; @@ -43,7 +42,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StringToTransferQueueConverter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/event/AbstractEventDispatcherTest.java b/microsphere-java-core/src/test/java/io/microsphere/event/AbstractEventDispatcherTest.java index ab63b0f5a..f9cd0867e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/event/AbstractEventDispatcherTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/event/AbstractEventDispatcherTest.java @@ -2,7 +2,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.net.URL; import java.net.URLClassLoader; import java.util.List; @@ -13,7 +12,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link AbstractEventDispatcher} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/event/AbstractEventListener.java b/microsphere-java-core/src/test/java/io/microsphere/event/AbstractEventListener.java index 36e9c4074..ac4f05f8a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/event/AbstractEventListener.java +++ b/microsphere-java-core/src/test/java/io/microsphere/event/AbstractEventListener.java @@ -17,9 +17,7 @@ package io.microsphere.event; import io.microsphere.Loggable; - import java.util.concurrent.atomic.AtomicInteger; - public abstract class AbstractEventListener implements Loggable, EventListener { private final AtomicInteger eventOccurs = new AtomicInteger(0); diff --git a/microsphere-java-core/src/test/java/io/microsphere/event/ConditionalEventListenerTest.java b/microsphere-java-core/src/test/java/io/microsphere/event/ConditionalEventListenerTest.java index d9ab4cbde..77ccb409a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/event/ConditionalEventListenerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/event/ConditionalEventListenerTest.java @@ -21,7 +21,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link ConditionalEventListener} test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/event/DirectEventDispatcherTest.java b/microsphere-java-core/src/test/java/io/microsphere/event/DirectEventDispatcherTest.java index 622fc1186..3059e5561 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/event/DirectEventDispatcherTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/event/DirectEventDispatcherTest.java @@ -24,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link DirectEventDispatcher} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/event/EchoEventListener.java b/microsphere-java-core/src/test/java/io/microsphere/event/EchoEventListener.java index 7a4ff9346..e838e5d81 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/event/EchoEventListener.java +++ b/microsphere-java-core/src/test/java/io/microsphere/event/EchoEventListener.java @@ -17,7 +17,6 @@ package io.microsphere.event; import java.io.Serializable; - /** * {@link EchoEvent} {@link EventListener} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/event/EchoEventListener2.java b/microsphere-java-core/src/test/java/io/microsphere/event/EchoEventListener2.java index 57034c39b..3452dd7b1 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/event/EchoEventListener2.java +++ b/microsphere-java-core/src/test/java/io/microsphere/event/EchoEventListener2.java @@ -20,7 +20,6 @@ import java.util.Vector; import static java.util.Objects.hash; - /** * {@link EchoEvent} {@link EventListener} 2 * diff --git a/microsphere-java-core/src/test/java/io/microsphere/event/EventDispatcherTest.java b/microsphere-java-core/src/test/java/io/microsphere/event/EventDispatcherTest.java index 049318265..8a78a1804 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/event/EventDispatcherTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/event/EventDispatcherTest.java @@ -17,14 +17,12 @@ package io.microsphere.event; import org.junit.jupiter.api.Test; - import java.util.List; import static io.microsphere.event.EventDispatcher.DIRECT_EXECUTOR; import static java.util.Collections.emptyList; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link EventDispatcher} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/event/EventListenerTest.java b/microsphere-java-core/src/test/java/io/microsphere/event/EventListenerTest.java index a191b11a8..7c484fb8e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/event/EventListenerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/event/EventListenerTest.java @@ -22,7 +22,6 @@ import static io.microsphere.lang.Prioritized.NORMAL_PRIORITY; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link EventListener} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/event/GenericEventListenerTest.java b/microsphere-java-core/src/test/java/io/microsphere/event/GenericEventListenerTest.java index 785efec39..8b60c2d12 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/event/GenericEventListenerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/event/GenericEventListenerTest.java @@ -21,7 +21,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link GenericEventListener} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/event/GenericEventTest.java b/microsphere-java-core/src/test/java/io/microsphere/event/GenericEventTest.java index c9b5876ef..a7420065c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/event/GenericEventTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/event/GenericEventTest.java @@ -17,14 +17,12 @@ package io.microsphere.event; import org.junit.jupiter.api.Test; - import java.util.Arrays; import java.util.List; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link GenericEvent} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/event/ListenableTest.java b/microsphere-java-core/src/test/java/io/microsphere/event/ListenableTest.java index 7ff7da14c..5f72ac9ef 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/event/ListenableTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/event/ListenableTest.java @@ -4,7 +4,6 @@ import static io.microsphere.event.Listenable.assertListener; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link Listenable} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/event/ParallelEventDispatcherTest.java b/microsphere-java-core/src/test/java/io/microsphere/event/ParallelEventDispatcherTest.java index b4105fbfa..89f13ca24 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/event/ParallelEventDispatcherTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/event/ParallelEventDispatcherTest.java @@ -19,12 +19,10 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.concurrent.ForkJoinPool; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ParallelEventDispatcher} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/filter/ClassFileJarEntryFilterTest.java b/microsphere-java-core/src/test/java/io/microsphere/filter/ClassFileJarEntryFilterTest.java index e7fec7648..07ad0f7eb 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/filter/ClassFileJarEntryFilterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/filter/ClassFileJarEntryFilterTest.java @@ -17,13 +17,11 @@ package io.microsphere.filter; import org.junit.jupiter.api.Test; - import java.util.jar.JarEntry; import static io.microsphere.filter.ClassFileJarEntryFilter.INSTANCE; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ClassFileJarEntryFilter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/filter/FilterOperatorTest.java b/microsphere-java-core/src/test/java/io/microsphere/filter/FilterOperatorTest.java index 3c1e43546..70cb982a7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/filter/FilterOperatorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/filter/FilterOperatorTest.java @@ -7,7 +7,6 @@ import static io.microsphere.filter.FilterOperator.XOR; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link FilterOperator} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/filter/FilterTest.java b/microsphere-java-core/src/test/java/io/microsphere/filter/FilterTest.java index 92ebc0ae3..c8bcd1a45 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/filter/FilterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/filter/FilterTest.java @@ -22,7 +22,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link Filter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/filter/FilterUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/filter/FilterUtilsTest.java index f0cf9cfc0..d2b29c406 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/filter/FilterUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/filter/FilterUtilsTest.java @@ -4,7 +4,6 @@ package io.microsphere.filter; import org.junit.jupiter.api.Test; - import java.util.List; import static io.microsphere.filter.FilterOperator.AND; @@ -12,7 +11,6 @@ import static io.microsphere.filter.FilterUtils.filter; import static java.util.Arrays.asList; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link FilterUtils} Test Case * diff --git a/microsphere-java-core/src/test/java/io/microsphere/filter/PackageNameClassFilterTest.java b/microsphere-java-core/src/test/java/io/microsphere/filter/PackageNameClassFilterTest.java index dbd81c0b1..4639ba17a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/filter/PackageNameClassFilterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/filter/PackageNameClassFilterTest.java @@ -4,7 +4,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link PackageNameClassFilter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/filter/PackageNameClassNameFilterTest.java b/microsphere-java-core/src/test/java/io/microsphere/filter/PackageNameClassNameFilterTest.java index d83e83d8e..cdc972556 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/filter/PackageNameClassNameFilterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/filter/PackageNameClassNameFilterTest.java @@ -4,7 +4,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link PackageNameClassNameFilter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/filter/TrueClassFilterTest.java b/microsphere-java-core/src/test/java/io/microsphere/filter/TrueClassFilterTest.java index 33091f0f4..992515dbe 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/filter/TrueClassFilterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/filter/TrueClassFilterTest.java @@ -3,7 +3,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link TrueClassFilter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/invoke/MethodHandleUtilsBenchmark.java b/microsphere-java-core/src/test/java/io/microsphere/invoke/MethodHandleUtilsBenchmark.java index 3ae70684d..522587b60 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/invoke/MethodHandleUtilsBenchmark.java +++ b/microsphere-java-core/src/test/java/io/microsphere/invoke/MethodHandleUtilsBenchmark.java @@ -24,7 +24,6 @@ import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Warmup; - import java.lang.invoke.MethodHandle; import java.lang.reflect.Method; @@ -33,7 +32,6 @@ import static java.util.concurrent.TimeUnit.NANOSECONDS; import static java.util.concurrent.TimeUnit.SECONDS; import static org.openjdk.jmh.annotations.Mode.AverageTime; - /** * The benchmark of {@link MethodHandleUtils} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/invoke/MethodHandleUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/invoke/MethodHandleUtilsTest.java index fdfe05bfa..ff1a0a37a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/invoke/MethodHandleUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/invoke/MethodHandleUtilsTest.java @@ -18,7 +18,6 @@ import io.microsphere.invoke.MethodHandleUtils.LookupKey; import org.junit.jupiter.api.Test; - import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; @@ -35,7 +34,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link MethodHandleUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/invoke/MethodHandlesLookupUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/invoke/MethodHandlesLookupUtilsTest.java index 392510aa4..6c262ef54 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/invoke/MethodHandlesLookupUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/invoke/MethodHandlesLookupUtilsTest.java @@ -18,7 +18,6 @@ import io.microsphere.LoggingTest; import org.junit.jupiter.api.Test; - import java.lang.invoke.MethodHandle; import static io.microsphere.invoke.MethodHandlesLookupUtils.findPublic; @@ -27,7 +26,6 @@ import static io.microsphere.util.ArrayUtils.EMPTY_CLASS_ARRAY; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link MethodHandlesLookupUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/DefaultDeserializerTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/DefaultDeserializerTest.java index 8e1cb155c..089bf2f73 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/DefaultDeserializerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/DefaultDeserializerTest.java @@ -1,11 +1,9 @@ package io.microsphere.io; import org.junit.jupiter.api.Test; - import java.io.IOException; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link DefaultDeserializer} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/DefaultSerializerAndDeserializerTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/DefaultSerializerAndDeserializerTest.java index 862aed8f3..69a31f979 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/DefaultSerializerAndDeserializerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/DefaultSerializerAndDeserializerTest.java @@ -17,11 +17,9 @@ package io.microsphere.io; import org.junit.jupiter.api.Test; - import java.io.IOException; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link DefaultSerializer} and {@link DefaultDeserializer} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/DeserializersTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/DeserializersTest.java index 50fee18f4..3bf897266 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/DeserializersTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/DeserializersTest.java @@ -24,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link Deserializers} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/FastByteArrayInputStreamTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/FastByteArrayInputStreamTest.java index 6e10eae5b..f8309a36b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/FastByteArrayInputStreamTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/FastByteArrayInputStreamTest.java @@ -3,7 +3,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.io.InputStream; @@ -11,7 +10,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link FastByteArrayInputStream} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/FastByteArrayOutputStreamTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/FastByteArrayOutputStreamTest.java index 75cd7a797..8a3086bf9 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/FastByteArrayOutputStreamTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/FastByteArrayOutputStreamTest.java @@ -3,13 +3,11 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.IOException; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link FastByteArrayOutputStream} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/FileUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/FileUtilsTest.java index 39c774ee4..28db207ec 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/FileUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/FileUtilsTest.java @@ -3,7 +3,6 @@ import io.microsphere.Loggable; import io.microsphere.lang.function.ThrowableConsumer; import org.junit.jupiter.api.Test; - import java.io.File; import java.io.FileOutputStream; import java.io.IOException; @@ -52,7 +51,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link FileUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/FileWatchServiceTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/FileWatchServiceTest.java index 6d392e557..05f3ef90c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/FileWatchServiceTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/FileWatchServiceTest.java @@ -3,13 +3,11 @@ import io.microsphere.Loggable; import io.microsphere.io.event.LoggingFileChangedListener; import org.junit.jupiter.api.Test; - import java.io.File; import static io.microsphere.AbstractTestCase.newRandomTempFile; import static io.microsphere.collection.Lists.ofList; import static io.microsphere.io.event.FileChangedEvent.Kind.values; - /** * {@link FileWatchService} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/IOUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/IOUtilsTest.java index 5e69fa326..27ff0e29b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/IOUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/IOUtilsTest.java @@ -4,7 +4,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.io.InputStream; import java.io.Reader; @@ -30,7 +29,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link IOUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/SerializersAndDeserializersTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/SerializersAndDeserializersTest.java index 4d3a57422..efa044fb3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/SerializersAndDeserializersTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/SerializersAndDeserializersTest.java @@ -18,13 +18,11 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.nio.charset.StandardCharsets; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link Serializers} and {@link Deserializers} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/SerializersTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/SerializersTest.java index ad63d39eb..ba5a8895a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/SerializersTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/SerializersTest.java @@ -24,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link Serializers} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/StandardFileWatchServiceTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/StandardFileWatchServiceTest.java index b370e36bd..ac86d6747 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/StandardFileWatchServiceTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/StandardFileWatchServiceTest.java @@ -27,7 +27,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.File; import java.net.URL; import java.nio.file.Path; @@ -69,7 +68,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StandardFileWatchService} Test For File * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/StringBuilderWriterTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/StringBuilderWriterTest.java index f910acef5..0bc94d53c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/StringBuilderWriterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/StringBuilderWriterTest.java @@ -24,7 +24,6 @@ import static io.microsphere.AbstractTestCase.random; import static io.microsphere.util.StringUtils.EMPTY_STRING; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link StringBuilderWriter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/StringSerializerAndDeserializerTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/StringSerializerAndDeserializerTest.java index 554052db3..5f9bbbeb0 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/StringSerializerAndDeserializerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/StringSerializerAndDeserializerTest.java @@ -17,14 +17,12 @@ package io.microsphere.io; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link StringSerializer} and {@link StringDeserializer} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/event/FileChangedEventTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/event/FileChangedEventTest.java index 0ecb480cc..88e3203c8 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/event/FileChangedEventTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/event/FileChangedEventTest.java @@ -1,14 +1,12 @@ package io.microsphere.io.event; import org.junit.jupiter.api.Test; - import java.io.File; import static io.microsphere.io.event.FileChangedEvent.Kind.CREATED; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link FileChangedEvent} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/event/FileChangedListenerTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/event/FileChangedListenerTest.java index c65fa3add..615b266d5 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/event/FileChangedListenerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/event/FileChangedListenerTest.java @@ -6,7 +6,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.File; import java.io.IOException; @@ -20,7 +19,6 @@ import static io.microsphere.util.ValueHolder.of; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link FileChangedListener} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/event/LoggingFileChangedListenerTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/event/LoggingFileChangedListenerTest.java index 5ae108385..22f63099d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/event/LoggingFileChangedListenerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/event/LoggingFileChangedListenerTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.File; import java.io.IOException; @@ -28,7 +27,6 @@ import static io.microsphere.io.event.FileChangedEvent.Kind.DELETED; import static io.microsphere.io.event.FileChangedEvent.Kind.MODIFIED; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link LoggingFileChangedListener} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/filter/DirectoryFileFilterTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/filter/DirectoryFileFilterTest.java index 422bc5f41..4484fc6ac 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/filter/DirectoryFileFilterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/filter/DirectoryFileFilterTest.java @@ -1,7 +1,6 @@ package io.microsphere.io.filter; import org.junit.jupiter.api.Test; - import java.io.File; import java.io.IOException; @@ -12,7 +11,6 @@ import static java.io.File.createTempFile; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link DirectoryFileFilter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/filter/FileExtensionFilterTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/filter/FileExtensionFilterTest.java index 9f724957e..aa5d16225 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/filter/FileExtensionFilterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/filter/FileExtensionFilterTest.java @@ -2,7 +2,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.File; import java.io.IOException; @@ -13,7 +12,6 @@ import static java.io.File.createTempFile; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link FileExtensionFilter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/filter/IOFileFilterTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/filter/IOFileFilterTest.java index 73fa6bf49..6abced57f 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/filter/IOFileFilterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/filter/IOFileFilterTest.java @@ -1,13 +1,11 @@ package io.microsphere.io.filter; import org.junit.jupiter.api.Test; - import java.io.File; import java.util.Objects; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link IOFileFilter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/filter/NameFileFilterTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/filter/NameFileFilterTest.java index 874e9b163..4b0b5e5d7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/filter/NameFileFilterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/filter/NameFileFilterTest.java @@ -19,12 +19,10 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.File; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link NameFileFilter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/filter/TrueFileFilterTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/filter/TrueFileFilterTest.java index 6af20b5b2..1b55ce7c1 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/filter/TrueFileFilterTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/filter/TrueFileFilterTest.java @@ -4,7 +4,6 @@ import static io.microsphere.io.filter.TrueFileFilter.INSTANCE; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link TrueFileFilter} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/scanner/SimpleClassScannerTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/scanner/SimpleClassScannerTest.java index ba92570a5..fbaf1bbd2 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/scanner/SimpleClassScannerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/scanner/SimpleClassScannerTest.java @@ -5,7 +5,6 @@ import io.microsphere.AbstractTestCase; import org.junit.jupiter.api.Test; - import javax.annotation.Nonnull; import java.net.URL; import java.util.Set; @@ -16,7 +15,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link SimpleClassScanner} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/scanner/SimpleFileScannerTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/scanner/SimpleFileScannerTest.java index 9c84641a2..175ffacca 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/scanner/SimpleFileScannerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/scanner/SimpleFileScannerTest.java @@ -6,7 +6,6 @@ import io.microsphere.io.filter.DirectoryFileFilter; import io.microsphere.io.filter.NameFileFilter; import org.junit.jupiter.api.Test; - import java.io.File; import java.io.IOException; import java.util.Set; @@ -18,7 +17,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link SimpleFileScanner} {@link Test} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/io/scanner/SimpleJarEntryScannerTest.java b/microsphere-java-core/src/test/java/io/microsphere/io/scanner/SimpleJarEntryScannerTest.java index 74a4dcf6c..30c325eb8 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/io/scanner/SimpleJarEntryScannerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/io/scanner/SimpleJarEntryScannerTest.java @@ -6,7 +6,6 @@ import io.microsphere.AbstractTestCase; import io.microsphere.util.jar.JarUtils; import org.junit.jupiter.api.Test; - import javax.annotation.Nonnull; import java.io.IOException; import java.net.URL; @@ -20,7 +19,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link SimpleJarEntryScanner} {@link Test} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/json/JSONArrayTest.java b/microsphere-java-core/src/test/java/io/microsphere/json/JSONArrayTest.java index 42e21f641..d3fa1e4af 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/json/JSONArrayTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/json/JSONArrayTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.Collection; import java.util.Enumeration; @@ -36,7 +35,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link JSONArray} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/json/JSONExceptionTest.java b/microsphere-java-core/src/test/java/io/microsphere/json/JSONExceptionTest.java index 2105dd4d5..693b1fdef 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/json/JSONExceptionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/json/JSONExceptionTest.java @@ -21,7 +21,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertInstanceOf; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link JSONException} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/json/JSONObjectTest.java b/microsphere-java-core/src/test/java/io/microsphere/json/JSONObjectTest.java index 0af815a9e..063c7f2a7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/json/JSONObjectTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/json/JSONObjectTest.java @@ -17,12 +17,12 @@ package io.microsphere.json; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; - import java.util.Date; +import java.util.HashMap; import java.util.Iterator; import java.util.Map; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; import static io.microsphere.collection.EnumerationUtils.ofEnumeration; import static io.microsphere.collection.Lists.ofList; @@ -47,7 +47,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link JSONObject} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/json/JSONStringerTest.java b/microsphere-java-core/src/test/java/io/microsphere/json/JSONStringerTest.java index 6e1c77584..82fda341f 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/json/JSONStringerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/json/JSONStringerTest.java @@ -29,7 +29,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link JSONStringer} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/json/JSONTest.java b/microsphere-java-core/src/test/java/io/microsphere/json/JSONTest.java index 6b3264727..d849de0b2 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/json/JSONTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/json/JSONTest.java @@ -33,7 +33,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link JSON} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/json/JSONTokenerTest.java b/microsphere-java-core/src/test/java/io/microsphere/json/JSONTokenerTest.java index 77f020a4f..01d0307f4 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/json/JSONTokenerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/json/JSONTokenerTest.java @@ -29,7 +29,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link JSONTokener} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/json/JSONUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/json/JSONUtilsTest.java index eb44264e6..4d69b9167 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/json/JSONUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/json/JSONUtilsTest.java @@ -27,7 +27,6 @@ import io.microsphere.test.MultipleValueData; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.Enumeration; import java.util.HashMap; import java.util.List; @@ -82,7 +81,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link JSONUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/junit/jupiter/api/extension/UtilsTestBeforeAllExtension.java b/microsphere-java-core/src/test/java/io/microsphere/junit/jupiter/api/extension/UtilsTestBeforeAllExtension.java index 8f6e06c63..2c09f96c7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/junit/jupiter/api/extension/UtilsTestBeforeAllExtension.java +++ b/microsphere-java-core/src/test/java/io/microsphere/junit/jupiter/api/extension/UtilsTestBeforeAllExtension.java @@ -19,7 +19,6 @@ import io.microsphere.util.Utils; import org.junit.jupiter.api.extension.BeforeAllCallback; import org.junit.jupiter.api.extension.ExtensionContext; - import java.lang.reflect.Constructor; import static io.microsphere.reflect.MemberUtils.isPrivate; @@ -30,7 +29,6 @@ import static java.lang.reflect.Modifier.isPublic; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link BeforeAllCallback} for the utilities class test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/junit/jupiter/api/extension/annotation/UtilsTestExtension.java b/microsphere-java-core/src/test/java/io/microsphere/junit/jupiter/api/extension/annotation/UtilsTestExtension.java index 64478b790..c79f2ed1c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/junit/jupiter/api/extension/annotation/UtilsTestExtension.java +++ b/microsphere-java-core/src/test/java/io/microsphere/junit/jupiter/api/extension/annotation/UtilsTestExtension.java @@ -19,14 +19,12 @@ import io.microsphere.junit.jupiter.api.extension.UtilsTestBeforeAllExtension; import io.microsphere.util.Utils; import org.junit.jupiter.api.extension.ExtendWith; - import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; - /** * The annotation of jupiter extension for the utilities class. * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/ClassDataRepositoryTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/ClassDataRepositoryTest.java index 5d43226a0..a264fcf6b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/ClassDataRepositoryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/ClassDataRepositoryTest.java @@ -18,7 +18,6 @@ import io.microsphere.reflect.ReflectionUtils; import org.junit.jupiter.api.Test; - import javax.annotation.Nonnull; import java.util.Map; import java.util.Set; @@ -29,7 +28,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ClassDataRepository} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/DelegatingWrapperTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/DelegatingWrapperTest.java index 44b69ae56..892d6eceb 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/DelegatingWrapperTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/DelegatingWrapperTest.java @@ -21,7 +21,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link DelegatingWrapper} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/DeprecationTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/DeprecationTest.java index 4daa349ac..fa99de920 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/DeprecationTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/DeprecationTest.java @@ -29,7 +29,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link Deprecation} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/MutableIntegerTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/MutableIntegerTest.java index ab92fc34c..7b9adfe0c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/MutableIntegerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/MutableIntegerTest.java @@ -24,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - class MutableIntegerTest { @Test diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/PrioritizedTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/PrioritizedTest.java index 8287b3a21..9e6ec610b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/PrioritizedTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/PrioritizedTest.java @@ -7,7 +7,6 @@ import static io.microsphere.lang.Prioritized.MIN_PRIORITY; import static io.microsphere.lang.Prioritized.NORMAL_PRIORITY; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link Prioritized} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/WrapperTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/WrapperTest.java index 973a857aa..cd729338d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/WrapperTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/WrapperTest.java @@ -21,7 +21,6 @@ import static io.microsphere.lang.Wrapper.tryUnwrap; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link Wrapper} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/function/PredicatesTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/function/PredicatesTest.java index 4b661ca10..755bf63a1 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/function/PredicatesTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/function/PredicatesTest.java @@ -17,7 +17,6 @@ package io.microsphere.lang.function; import org.junit.jupiter.api.Test; - import java.util.function.Predicate; import static io.microsphere.lang.function.Predicates.alwaysFalse; @@ -29,7 +28,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link Predicates} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/function/StreamsTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/function/StreamsTest.java index 5eed46f35..ad39ed6ac 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/function/StreamsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/function/StreamsTest.java @@ -17,7 +17,6 @@ package io.microsphere.lang.function; import org.junit.jupiter.api.Test; - import java.util.List; import java.util.Set; import java.util.function.Predicate; @@ -40,7 +39,6 @@ import static io.microsphere.util.ArrayUtils.ofArray; import static java.util.stream.Collectors.toList; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link Streams} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableActionTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableActionTest.java index 33ba3d5f5..83f52de9d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableActionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableActionTest.java @@ -21,7 +21,6 @@ import static io.microsphere.lang.function.ThrowableAction.execute; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ThrowableAction} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableBiConsumerTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableBiConsumerTest.java index 13463dca8..eeb3428ad 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableBiConsumerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableBiConsumerTest.java @@ -19,7 +19,6 @@ import io.microsphere.Loggable; import org.junit.jupiter.api.Test; - /** * {@link ThrowableBiConsumer} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableBiFunctionTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableBiFunctionTest.java index e880fea24..422868fc7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableBiFunctionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableBiFunctionTest.java @@ -21,7 +21,6 @@ import static io.microsphere.lang.function.ThrowableBiFunction.execute; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ThrowableBiFunction} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableConsumerTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableConsumerTest.java index f56f7e1d8..e52df18a4 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableConsumerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableConsumerTest.java @@ -21,7 +21,6 @@ import static io.microsphere.lang.function.ThrowableConsumer.execute; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ThrowableConsumer} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableFunctionTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableFunctionTest.java index d452ef04b..e51a0df98 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableFunctionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableFunctionTest.java @@ -21,7 +21,6 @@ import static io.microsphere.lang.function.ThrowableFunction.execute; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ThrowableFunction} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableSupplierTest.java b/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableSupplierTest.java index 91ca81c40..d64c5f9da 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableSupplierTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/lang/function/ThrowableSupplierTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ThrowableSupplier} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/logging/AbstractLoggerTest.java b/microsphere-java-core/src/test/java/io/microsphere/logging/AbstractLoggerTest.java index f83427fe3..99e483001 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/logging/AbstractLoggerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/logging/AbstractLoggerTest.java @@ -22,7 +22,6 @@ import static io.microsphere.util.ArrayUtils.EMPTY_OBJECT_ARRAY; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link AbstractLogger} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/logging/JDKLoggerFactoryTest.java b/microsphere-java-core/src/test/java/io/microsphere/logging/JDKLoggerFactoryTest.java index 2fe174193..6d3fb94eb 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/logging/JDKLoggerFactoryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/logging/JDKLoggerFactoryTest.java @@ -1,12 +1,10 @@ package io.microsphere.logging; import org.junit.jupiter.api.BeforeAll; - import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.logging.LogManager; - /** * {@link JDKLoggerFactory} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/logging/LoggerFactoryTest.java b/microsphere-java-core/src/test/java/io/microsphere/logging/LoggerFactoryTest.java index 89c549dd2..cc75dc58e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/logging/LoggerFactoryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/logging/LoggerFactoryTest.java @@ -18,7 +18,6 @@ import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.io.InputStream; import java.net.URL; @@ -29,7 +28,6 @@ import static java.util.Calendar.YEAR; import static java.util.Calendar.getInstance; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link LoggerFactory} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/logging/NoOpLoggerFactoryTest.java b/microsphere-java-core/src/test/java/io/microsphere/logging/NoOpLoggerFactoryTest.java index 9f038a71a..e46477191 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/logging/NoOpLoggerFactoryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/logging/NoOpLoggerFactoryTest.java @@ -2,7 +2,6 @@ import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; - import java.util.List; import static io.microsphere.constants.SymbolConstants.SPACE; @@ -10,7 +9,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link NoOpLoggerFactory} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/management/JmxUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/management/JmxUtilsTest.java index 75c037f9a..cb9af3623 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/management/JmxUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/management/JmxUtilsTest.java @@ -18,7 +18,6 @@ import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; - import javax.management.Attribute; import javax.management.AttributeList; import javax.management.AttributeNotFoundException; @@ -87,7 +86,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link JmxUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/management/MBeanAttributeTest.java b/microsphere-java-core/src/test/java/io/microsphere/management/MBeanAttributeTest.java index 9180e3a11..5efbcd645 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/management/MBeanAttributeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/management/MBeanAttributeTest.java @@ -2,7 +2,6 @@ import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; - import javax.management.MBeanInfo; import javax.management.MBeanServer; import javax.management.ObjectName; @@ -16,7 +15,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link MBeanAttribute} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/management/ManagementUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/management/ManagementUtilsTest.java index f0fe200af..bbc571b7d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/management/ManagementUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/management/ManagementUtilsTest.java @@ -6,7 +6,6 @@ import static io.microsphere.management.ManagementUtils.getCurrentProcessId; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ManagementUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/management/Units.java b/microsphere-java-core/src/test/java/io/microsphere/management/Units.java index c831b9dab..5ec9fe6e7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/management/Units.java +++ b/microsphere-java-core/src/test/java/io/microsphere/management/Units.java @@ -25,7 +25,6 @@ import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.PARAMETER; import static java.lang.annotation.RetentionPolicy.RUNTIME; - /** * The annotation annotated by {@link DescriptorKey @DescriptorKey} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/management/builder/AbstractMBeanDescribableBuilderTest.java b/microsphere-java-core/src/test/java/io/microsphere/management/builder/AbstractMBeanDescribableBuilderTest.java index 58157c129..b329b7609 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/management/builder/AbstractMBeanDescribableBuilderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/management/builder/AbstractMBeanDescribableBuilderTest.java @@ -20,14 +20,12 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - import javax.management.modelmbean.DescriptorSupport; import static io.microsphere.reflect.JavaType.from; import static io.microsphere.util.ClassUtils.newInstance; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertSame; - /** * Abstract {@link MBeanDescribableBuilder} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/management/builder/AbstractMBeanFeatureInfoBuilderTest.java b/microsphere-java-core/src/test/java/io/microsphere/management/builder/AbstractMBeanFeatureInfoBuilderTest.java index 9dd8a5fac..48aa169f6 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/management/builder/AbstractMBeanFeatureInfoBuilderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/management/builder/AbstractMBeanFeatureInfoBuilderTest.java @@ -19,14 +19,12 @@ import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; - import javax.management.MBeanFeatureInfo; import static javax.management.ImmutableDescriptor.EMPTY_DESCRIPTOR; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; - /** * Abstract test class for {@link MBeanFeatureInfoBuilder} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanAttributeInfoBuilderTest.java b/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanAttributeInfoBuilderTest.java index 32f46b414..426f641b9 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanAttributeInfoBuilderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanAttributeInfoBuilderTest.java @@ -18,7 +18,6 @@ package io.microsphere.management.builder; import org.junit.jupiter.api.Test; - import javax.management.MBeanAttributeInfo; import javax.management.modelmbean.DescriptorSupport; @@ -26,7 +25,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link MBeanAttributeInfoBuilder} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanConstructorInfoBuilderTest.java b/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanConstructorInfoBuilderTest.java index cc80a4c38..c9a3a6665 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanConstructorInfoBuilderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanConstructorInfoBuilderTest.java @@ -18,7 +18,6 @@ package io.microsphere.management.builder; import org.junit.jupiter.api.Test; - import javax.management.MBeanConstructorInfo; import javax.management.MBeanParameterInfo; import java.lang.reflect.Constructor; @@ -27,7 +26,6 @@ import static io.microsphere.reflect.ConstructorUtils.findConstructor; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link MBeanConstructorInfoBuilder} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanInfoBuilderTest.java b/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanInfoBuilderTest.java index 7703ef94b..a662b4c4c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanInfoBuilderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanInfoBuilderTest.java @@ -20,7 +20,6 @@ import io.microsphere.beans.BeanMetadata; import io.microsphere.test.Data; import org.junit.jupiter.api.Test; - import javax.management.MBeanAttributeInfo; import javax.management.MBeanConstructorInfo; import javax.management.MBeanInfo; @@ -46,7 +45,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link MBeanInfoBuilder} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanNotificationInfoBuilderTest.java b/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanNotificationInfoBuilderTest.java index f410af47e..85a8742ab 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanNotificationInfoBuilderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanNotificationInfoBuilderTest.java @@ -18,7 +18,6 @@ package io.microsphere.management.builder; import org.junit.jupiter.api.Test; - import javax.management.MBeanNotificationInfo; import static io.microsphere.management.builder.MBeanNotificationInfoBuilder.getClassNames; @@ -30,7 +29,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link MBeanNotificationInfoBuilder} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanOperationInfoBuilderTest.java b/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanOperationInfoBuilderTest.java index 063820854..d1ea26ba3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanOperationInfoBuilderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanOperationInfoBuilderTest.java @@ -19,7 +19,6 @@ import io.microsphere.management.CacheControlMBean; import org.junit.jupiter.api.Test; - import javax.management.ImmutableDescriptor; import javax.management.MBeanOperationInfo; import javax.management.MBeanParameterInfo; @@ -31,7 +30,6 @@ import static io.microsphere.util.ArrayUtils.ofArray; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link MBeanOperationInfoBuilder} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanParameterInfoBuilderTest.java b/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanParameterInfoBuilderTest.java index e458cab1e..38445a5fa 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanParameterInfoBuilderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/management/builder/MBeanParameterInfoBuilderTest.java @@ -21,7 +21,6 @@ import static io.microsphere.management.builder.MBeanParameterInfoBuilder.parameter; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link MBeanParameterInfoBuilder} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/metadata/AdditionalMetadataResourceConfigurationPropertyLoaderTest.java b/microsphere-java-core/src/test/java/io/microsphere/metadata/AdditionalMetadataResourceConfigurationPropertyLoaderTest.java index fe8e249a8..6d7bca3a8 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/metadata/AdditionalMetadataResourceConfigurationPropertyLoaderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/metadata/AdditionalMetadataResourceConfigurationPropertyLoaderTest.java @@ -20,12 +20,10 @@ import io.microsphere.beans.ConfigurationProperty; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.List; import static io.microsphere.lang.Prioritized.MIN_PRIORITY; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link AdditionalMetadataResourceConfigurationPropertyLoader} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/metadata/ClassPathResourceConfigurationPropertyLoaderTest.java b/microsphere-java-core/src/test/java/io/microsphere/metadata/ClassPathResourceConfigurationPropertyLoaderTest.java index 1422e9318..f35d4bdf0 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/metadata/ClassPathResourceConfigurationPropertyLoaderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/metadata/ClassPathResourceConfigurationPropertyLoaderTest.java @@ -20,7 +20,6 @@ import io.microsphere.LoggingTest; import io.microsphere.beans.ConfigurationProperty; import org.junit.jupiter.api.Test; - import java.util.List; import static io.microsphere.constants.ResourceConstants.ADDITIONAL_CONFIGURATION_PROPERTY_METADATA_RESOURCE; @@ -28,7 +27,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ClassPathResourceConfigurationPropertyLoader} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/metadata/ConfigurationPropertiesJSONReaderTest.java b/microsphere-java-core/src/test/java/io/microsphere/metadata/ConfigurationPropertiesJSONReaderTest.java index aeaf4dac1..5a92889bd 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/metadata/ConfigurationPropertiesJSONReaderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/metadata/ConfigurationPropertiesJSONReaderTest.java @@ -20,13 +20,11 @@ import io.microsphere.beans.ConfigurationProperty; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.InputStream; import java.util.List; import static io.microsphere.util.ClassLoaderUtils.getClassLoader; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link DefaultConfigurationPropertyReader} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/metadata/ConfigurationPropertyLoaderTest.java b/microsphere-java-core/src/test/java/io/microsphere/metadata/ConfigurationPropertyLoaderTest.java index c79cf836e..dca82d008 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/metadata/ConfigurationPropertyLoaderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/metadata/ConfigurationPropertyLoaderTest.java @@ -19,14 +19,12 @@ import io.microsphere.beans.ConfigurationProperty; import org.junit.jupiter.api.Test; - import java.util.List; import static io.microsphere.collection.Lists.ofList; import static io.microsphere.constants.PropertyConstants.MICROSPHERE_PROPERTY_NAME_PREFIX; import static io.microsphere.metadata.ConfigurationPropertyLoader.loadAll; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ConfigurationPropertyLoader} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/metadata/DefaultConfigurationPropertyGeneratorTest.java b/microsphere-java-core/src/test/java/io/microsphere/metadata/DefaultConfigurationPropertyGeneratorTest.java index 52feb86f1..9e7127a20 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/metadata/DefaultConfigurationPropertyGeneratorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/metadata/DefaultConfigurationPropertyGeneratorTest.java @@ -32,7 +32,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link DefaultConfigurationPropertyGenerator} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/metadata/DefaultConfigurationPropertyLoader.java b/microsphere-java-core/src/test/java/io/microsphere/metadata/DefaultConfigurationPropertyLoader.java index 6f78aa1b1..6ec746065 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/metadata/DefaultConfigurationPropertyLoader.java +++ b/microsphere-java-core/src/test/java/io/microsphere/metadata/DefaultConfigurationPropertyLoader.java @@ -18,12 +18,10 @@ package io.microsphere.metadata; import io.microsphere.beans.ConfigurationProperty; - import java.util.List; import static io.microsphere.collection.Lists.ofList; import static io.microsphere.constants.PropertyConstants.MICROSPHERE_PROPERTY_NAME_PREFIX; - /** * Default {@link ConfigurationPropertyLoader} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/metadata/DefaultConfigurationPropertyReaderTest.java b/microsphere-java-core/src/test/java/io/microsphere/metadata/DefaultConfigurationPropertyReaderTest.java index b846bf434..64654ce3e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/metadata/DefaultConfigurationPropertyReaderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/metadata/DefaultConfigurationPropertyReaderTest.java @@ -20,14 +20,12 @@ import io.microsphere.beans.ConfigurationProperty; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.InputStream; import java.util.List; import static io.microsphere.constants.ResourceConstants.ADDITIONAL_CONFIGURATION_PROPERTY_METADATA_RESOURCE; import static io.microsphere.lang.Prioritized.MIN_PRIORITY; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link DefaultConfigurationPropertyReader} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/metadata/EmptyConfigurationPropertyLoader.java b/microsphere-java-core/src/test/java/io/microsphere/metadata/EmptyConfigurationPropertyLoader.java index 687c49958..25e95e249 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/metadata/EmptyConfigurationPropertyLoader.java +++ b/microsphere-java-core/src/test/java/io/microsphere/metadata/EmptyConfigurationPropertyLoader.java @@ -18,11 +18,9 @@ package io.microsphere.metadata; import io.microsphere.beans.ConfigurationProperty; - import java.util.List; import static java.util.Collections.emptyList; - /** * Empty {@link ConfigurationPropertyLoader} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/metadata/ErrorConfigurationPropertyLoader.java b/microsphere-java-core/src/test/java/io/microsphere/metadata/ErrorConfigurationPropertyLoader.java index 56094864d..43a2ad9aa 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/metadata/ErrorConfigurationPropertyLoader.java +++ b/microsphere-java-core/src/test/java/io/microsphere/metadata/ErrorConfigurationPropertyLoader.java @@ -18,9 +18,7 @@ package io.microsphere.metadata; import io.microsphere.beans.ConfigurationProperty; - import java.util.List; - /** * Error {@link ConfigurationPropertyLoader} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/metadata/MetadataResourceConfigurationPropertyLoaderTest.java b/microsphere-java-core/src/test/java/io/microsphere/metadata/MetadataResourceConfigurationPropertyLoaderTest.java index a88520f73..b923815b7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/metadata/MetadataResourceConfigurationPropertyLoaderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/metadata/MetadataResourceConfigurationPropertyLoaderTest.java @@ -20,12 +20,10 @@ import io.microsphere.beans.ConfigurationProperty; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.List; import static io.microsphere.lang.Prioritized.MIN_PRIORITY; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link MetadataResourceConfigurationPropertyLoader} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/metadata/NullConfigurationPropertyLoader.java b/microsphere-java-core/src/test/java/io/microsphere/metadata/NullConfigurationPropertyLoader.java index 64163b062..4a29cc067 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/metadata/NullConfigurationPropertyLoader.java +++ b/microsphere-java-core/src/test/java/io/microsphere/metadata/NullConfigurationPropertyLoader.java @@ -18,9 +18,7 @@ package io.microsphere.metadata; import io.microsphere.beans.ConfigurationProperty; - import java.util.List; - /** * Null {@link ConfigurationPropertyLoader} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/metadata/ReflectiveConfigurationPropertyGeneratorTest.java b/microsphere-java-core/src/test/java/io/microsphere/metadata/ReflectiveConfigurationPropertyGeneratorTest.java index ad26ac006..b362dfd9c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/metadata/ReflectiveConfigurationPropertyGeneratorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/metadata/ReflectiveConfigurationPropertyGeneratorTest.java @@ -25,7 +25,6 @@ import static io.microsphere.JSONTestUtils.newConfigurationProperty; import static io.microsphere.lang.Prioritized.NORMAL_PRIORITY; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ReflectiveConfigurationPropertyGenerator} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/AbstractExtendableProtocolURLStreamHandlerTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/AbstractExtendableProtocolURLStreamHandlerTest.java index 1aaa0d6c6..c70752399 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/AbstractExtendableProtocolURLStreamHandlerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/AbstractExtendableProtocolURLStreamHandlerTest.java @@ -16,14 +16,14 @@ */ package io.microsphere.net; -import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; - import java.io.IOException; import java.net.Proxy; import java.net.URL; +import java.util.LinkedList; import java.util.List; +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; import static io.microsphere.collection.ListUtils.newLinkedList; import static io.microsphere.collection.SetUtils.ofSet; @@ -41,7 +41,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; - /** * Abstract {@link ExtendableProtocolURLStreamHandler} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/CompositeSubProtocolURLConnectionFactoryTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/CompositeSubProtocolURLConnectionFactoryTest.java index 57ae3eaf8..3edc30b7b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/CompositeSubProtocolURLConnectionFactoryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/CompositeSubProtocolURLConnectionFactoryTest.java @@ -19,7 +19,6 @@ import io.microsphere.net.console.ConsoleURLConnection; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; @@ -32,7 +31,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link CompositeSubProtocolURLConnectionFactory} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/CompositeURLStreamHandlerFactoryTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/CompositeURLStreamHandlerFactoryTest.java index 4eb7e94d5..6479b3434 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/CompositeURLStreamHandlerFactoryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/CompositeURLStreamHandlerFactoryTest.java @@ -2,7 +2,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.net.URLStreamHandler; import java.net.URLStreamHandlerFactory; import java.util.List; @@ -13,7 +12,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link CompositeURLStreamHandlerFactory} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/ConsoleSubProtocolURLConnectionFactory.java b/microsphere-java-core/src/test/java/io/microsphere/net/ConsoleSubProtocolURLConnectionFactory.java index b91e3f378..cd170bc7d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/ConsoleSubProtocolURLConnectionFactory.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/ConsoleSubProtocolURLConnectionFactory.java @@ -17,14 +17,12 @@ package io.microsphere.net; import io.microsphere.net.console.ConsoleURLConnection; - import java.io.Console; import java.io.IOException; import java.net.Proxy; import java.net.URL; import java.net.URLConnection; import java.util.List; - /** * {@link Console} {@link SubProtocolURLConnectionFactory} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/DelegatingURLConnectionTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/DelegatingURLConnectionTest.java index 1af29b0e4..ed80c7665 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/DelegatingURLConnectionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/DelegatingURLConnectionTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.net.URL; import java.net.URLConnection; @@ -38,7 +37,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link DelegatingURLConnection} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/DelegatingURLStreamHandlerFactoryTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/DelegatingURLStreamHandlerFactoryTest.java index fef97a0ef..cca0136f9 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/DelegatingURLStreamHandlerFactoryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/DelegatingURLStreamHandlerFactoryTest.java @@ -7,7 +7,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link DelegatingURLStreamHandlerFactory Test} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/ExtendableProtocolURLStreamHandlerTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/ExtendableProtocolURLStreamHandlerTest.java index ea3591086..230ce4323 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/ExtendableProtocolURLStreamHandlerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/ExtendableProtocolURLStreamHandlerTest.java @@ -17,14 +17,14 @@ package io.microsphere.net; import io.microsphere.net.test.Handler; -import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; - import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; +import java.util.LinkedList; import java.util.List; +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; import static io.microsphere.collection.ListUtils.newLinkedList; import static io.microsphere.collection.Lists.ofList; @@ -49,7 +49,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ExtendableProtocolURLStreamHandler} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/FalseSubProtocolURLConnectionFactory.java b/microsphere-java-core/src/test/java/io/microsphere/net/FalseSubProtocolURLConnectionFactory.java index aa0777789..66846b597 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/FalseSubProtocolURLConnectionFactory.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/FalseSubProtocolURLConnectionFactory.java @@ -22,7 +22,6 @@ import java.net.URL; import java.net.URLConnection; import java.util.List; - /** * {@link SubProtocolURLConnectionFactory} returns {@code false} for {@link #supports(URL, List)} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/MutableURLStreamHandlerFactoryTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/MutableURLStreamHandlerFactoryTest.java index fbf9da786..bc34d100d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/MutableURLStreamHandlerFactoryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/MutableURLStreamHandlerFactoryTest.java @@ -22,7 +22,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link MutableURLStreamHandlerFactory} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/NullSubProtocolURLConnectionFactory.java b/microsphere-java-core/src/test/java/io/microsphere/net/NullSubProtocolURLConnectionFactory.java index 789d199cc..bc81ad662 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/NullSubProtocolURLConnectionFactory.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/NullSubProtocolURLConnectionFactory.java @@ -22,7 +22,6 @@ import java.net.URL; import java.net.URLConnection; import java.util.List; - /** * Null {@link SubProtocolURLConnectionFactory} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/ServiceLoaderURLStreamHandlerFactoryTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/ServiceLoaderURLStreamHandlerFactoryTest.java index 16045d8b2..6dfc4540e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/ServiceLoaderURLStreamHandlerFactoryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/ServiceLoaderURLStreamHandlerFactoryTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.net.URL; import java.net.URLStreamHandler; @@ -33,7 +32,6 @@ import static io.microsphere.net.URLUtils.clearURLStreamHandlerFactory; import static io.microsphere.net.classpath.HandlerTest.TEST_PROPERTIES_CLASSPATH_URL; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ServiceLoaderURLStreamHandlerFactory} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/StandardURLStreamHandlerFactoryTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/StandardURLStreamHandlerFactoryTest.java index c8823d98b..1b49c171e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/StandardURLStreamHandlerFactoryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/StandardURLStreamHandlerFactoryTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * {@link StandardURLStreamHandlerFactory} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/SubProtocolURLConnectionFactoryTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/SubProtocolURLConnectionFactoryTest.java index c3a898b38..bb6f15ecc 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/SubProtocolURLConnectionFactoryTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/SubProtocolURLConnectionFactoryTest.java @@ -18,7 +18,6 @@ import io.microsphere.net.console.ConsoleURLConnection; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.net.Proxy; import java.net.URL; @@ -27,7 +26,6 @@ import static java.util.Collections.emptyList; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link SubProtocolURLConnectionFactory} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/URLUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/URLUtilsTest.java index 07f63f271..5c804c29e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/URLUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/URLUtilsTest.java @@ -9,7 +9,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; - import javax.annotation.Nonnull; import java.io.File; import java.io.IOException; @@ -95,7 +94,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link URLUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/classpath/HandlerTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/classpath/HandlerTest.java index 6595d52c4..43f318747 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/classpath/HandlerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/classpath/HandlerTest.java @@ -19,7 +19,6 @@ import io.microsphere.net.AbstractExtendableProtocolURLStreamHandlerTest; import io.microsphere.net.ExtendableProtocolURLStreamHandler; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.net.MalformedURLException; import java.net.Proxy; @@ -29,7 +28,6 @@ import static java.net.Proxy.NO_PROXY; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link Handler} Test for "classpath" protocol * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/console/ConsoleURLConnectionTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/console/ConsoleURLConnectionTest.java index fcc0eb3a4..37e88ef76 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/console/ConsoleURLConnectionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/console/ConsoleURLConnectionTest.java @@ -2,13 +2,11 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.net.URL; import static java.net.Proxy.NO_PROXY; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link ConsoleURLConnection} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/console/HandlerTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/console/HandlerTest.java index d547800f7..785751eca 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/console/HandlerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/console/HandlerTest.java @@ -18,14 +18,12 @@ import io.microsphere.net.AbstractExtendableProtocolURLStreamHandlerTest; import io.microsphere.net.ExtendableProtocolURLStreamHandler; - import java.io.IOException; import java.net.Proxy; import java.net.URL; import static java.net.Proxy.NO_PROXY; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link Handler} Test for "console" protocol * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/test/Handler.java b/microsphere-java-core/src/test/java/io/microsphere/net/test/Handler.java index 95da4061d..3cecf5c7b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/test/Handler.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/test/Handler.java @@ -17,7 +17,6 @@ package io.microsphere.net.test; import io.microsphere.net.ExtendableProtocolURLStreamHandler; - /** * Test {@link ExtendableProtocolURLStreamHandler} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/net/test/HandlerTest.java b/microsphere-java-core/src/test/java/io/microsphere/net/test/HandlerTest.java index 08179c9f3..d2fa786de 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/net/test/HandlerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/net/test/HandlerTest.java @@ -18,13 +18,11 @@ import io.microsphere.net.AbstractExtendableProtocolURLStreamHandlerTest; import io.microsphere.net.ExtendableProtocolURLStreamHandler; - import java.io.IOException; import java.net.Proxy; import java.net.URL; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {link Handler} Test for "test" protocol * diff --git a/microsphere-java-core/src/test/java/io/microsphere/nio/charset/CharsetUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/nio/charset/CharsetUtilsTest.java index e9cc1d16b..43de83f32 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/nio/charset/CharsetUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/nio/charset/CharsetUtilsTest.java @@ -4,7 +4,6 @@ import static io.microsphere.nio.charset.CharsetUtils.DEFAULT_CHARSET; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * {@link CharsetUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/performance/AbstractPerformanceTest.java b/microsphere-java-core/src/test/java/io/microsphere/performance/AbstractPerformanceTest.java index dc73d8666..a6878d3dd 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/performance/AbstractPerformanceTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/performance/AbstractPerformanceTest.java @@ -2,7 +2,6 @@ import io.microsphere.Loggable; import org.junit.jupiter.api.Disabled; - /** * {@link AbstractPerformanceTest} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/process/ClassicProcessIdResolverTest.java b/microsphere-java-core/src/test/java/io/microsphere/process/ClassicProcessIdResolverTest.java index 4d4acb7a2..3a68e91b4 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/process/ClassicProcessIdResolverTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/process/ClassicProcessIdResolverTest.java @@ -7,7 +7,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ClassicProcessIdResolver} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/process/ModernProcessIdResolverTest.java b/microsphere-java-core/src/test/java/io/microsphere/process/ModernProcessIdResolverTest.java index 8a82333e0..5fd3a7a61 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/process/ModernProcessIdResolverTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/process/ModernProcessIdResolverTest.java @@ -10,7 +10,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ModernProcessIdResolver} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/process/ProcessExecutorTest.java b/microsphere-java-core/src/test/java/io/microsphere/process/ProcessExecutorTest.java index 1c9f0ecbb..178099e0d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/process/ProcessExecutorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/process/ProcessExecutorTest.java @@ -6,14 +6,12 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.util.concurrent.TimeoutException; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ProcessExecutor} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/process/ProcessManagerTest.java b/microsphere-java-core/src/test/java/io/microsphere/process/ProcessManagerTest.java index 7ad4cfbb1..927136187 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/process/ProcessManagerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/process/ProcessManagerTest.java @@ -3,7 +3,6 @@ import io.microsphere.Loggable; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.ByteArrayOutputStream; import java.util.Map; import java.util.concurrent.ExecutorService; @@ -15,7 +14,6 @@ import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * {@link ProcessManager} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/process/VirtualMachineProcessIdResolverTest.java b/microsphere-java-core/src/test/java/io/microsphere/process/VirtualMachineProcessIdResolverTest.java index c80f8828e..9900a8f59 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/process/VirtualMachineProcessIdResolverTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/process/VirtualMachineProcessIdResolverTest.java @@ -7,7 +7,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link VirtualMachineProcessIdResolver} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractExecutableDefinitionTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractExecutableDefinitionTest.java index d94ad28e3..07e416130 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractExecutableDefinitionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractExecutableDefinitionTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * Abstract {@link ExecutableDefinition} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractJavaTypeTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractJavaTypeTest.java index 62e64c2c4..80409a8a2 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractJavaTypeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractJavaTypeTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.io.Serializable; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; @@ -46,7 +45,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Base {@link JavaType} for {@link Class} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractMemberDefinitionTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractMemberDefinitionTest.java index 5df3dce69..e9a76df03 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractMemberDefinitionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractMemberDefinitionTest.java @@ -20,7 +20,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; - /** * Abstract {@link MemberDefinition} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractReflectiveDefinitionTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractReflectiveDefinitionTest.java index fe20c3c4f..f04d330d8 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractReflectiveDefinitionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/AbstractReflectiveDefinitionTest.java @@ -3,7 +3,6 @@ import io.microsphere.Loggable; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.lang.reflect.Constructor; import java.lang.reflect.ParameterizedType; import java.util.List; @@ -22,7 +21,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Abstract {@link ReflectiveDefinition} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/AccessibleObjectUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/AccessibleObjectUtilsTest.java index 1819ef404..bb4e43541 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/AccessibleObjectUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/AccessibleObjectUtilsTest.java @@ -17,7 +17,6 @@ package io.microsphere.reflect; import org.junit.jupiter.api.Test; - import javax.annotation.processing.AbstractProcessor; import java.lang.reflect.AccessibleObject; import java.lang.reflect.Constructor; @@ -36,7 +35,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link AccessibleObjectUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/ClassDefinitionTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/ClassDefinitionTest.java index 5a2706c8d..40e2476a1 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/ClassDefinitionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/ClassDefinitionTest.java @@ -19,7 +19,6 @@ import java.util.List; import static java.util.Collections.emptyList; - /** * {@link ClassDefinition} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/ConstructorDefinitionTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/ConstructorDefinitionTest.java index 83a9b9ae5..a8dd423b3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/ConstructorDefinitionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/ConstructorDefinitionTest.java @@ -1,14 +1,12 @@ package io.microsphere.reflect; import org.junit.jupiter.api.Test; - import java.util.List; import static io.microsphere.util.ArrayUtils.ofArray; import static java.util.Collections.singletonList; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * {@link ConstructorDefinition} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/ConstructorUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/ConstructorUtilsTest.java index 731a15618..3b76863d2 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/ConstructorUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/ConstructorUtilsTest.java @@ -16,7 +16,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ConstructorUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/ExecutableUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/ExecutableUtilsTest.java index a58c01fb0..147b7f632 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/ExecutableUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/ExecutableUtilsTest.java @@ -17,7 +17,6 @@ package io.microsphere.reflect; import org.junit.jupiter.api.Test; - import java.lang.reflect.Method; import static io.microsphere.reflect.ExecutableUtils.execute; @@ -25,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ExecutableUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/FieldDefinitionTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/FieldDefinitionTest.java index 22ccb58c1..b0547787f 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/FieldDefinitionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/FieldDefinitionTest.java @@ -17,13 +17,11 @@ package io.microsphere.reflect; import org.junit.jupiter.api.Test; - import java.util.List; import static io.microsphere.collection.Lists.ofList; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link FieldDefinition} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/FieldUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/FieldUtilsTest.java index 6c1fe830f..1c10964aa 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/FieldUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/FieldUtilsTest.java @@ -19,7 +19,6 @@ import io.microsphere.LoggingTest; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Test; - import java.lang.reflect.Field; import java.util.Set; @@ -43,7 +42,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link FieldUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTest.java index 3bd92835b..45d6b6c78 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTest.java @@ -20,7 +20,6 @@ import io.microsphere.test.C; import io.microsphere.test.D; import org.junit.jupiter.api.Test; - import java.lang.reflect.GenericArrayType; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; @@ -35,7 +34,6 @@ import static io.microsphere.reflect.JavaType.Kind.valueOf; import static io.microsphere.reflect.MethodUtils.findMethod; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link Kind} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForClass.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForClass.java index d52c5ba37..add92bdb3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForClass.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForClass.java @@ -19,7 +19,6 @@ import io.microsphere.reflect.JavaType.Kind; import io.microsphere.test.A; import org.junit.jupiter.api.Test; - import java.io.Serializable; import java.lang.reflect.Type; import java.util.Map; @@ -32,7 +31,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link Kind} Test for {@link Class} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForGenericArrayType.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForGenericArrayType.java index 668a9e109..c9a0fb0c2 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForGenericArrayType.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForGenericArrayType.java @@ -18,7 +18,6 @@ import io.microsphere.reflect.JavaType.Kind; import org.junit.jupiter.api.Test; - import java.lang.reflect.GenericArrayType; import static io.microsphere.reflect.JavaType.Kind.GENERIC_ARRAY_TYPE; @@ -26,7 +25,6 @@ import static io.microsphere.util.ArrayUtils.EMPTY_TYPE_ARRAY; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link Kind} Test for {@link GenericArrayType} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForParameterizedType.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForParameterizedType.java index cf89aae3f..ef71a235f 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForParameterizedType.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForParameterizedType.java @@ -20,7 +20,6 @@ import io.microsphere.test.B; import io.microsphere.test.C; import org.junit.jupiter.api.Test; - import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; @@ -35,7 +34,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link Kind} Test for {@link ParameterizedType} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForTypeVariable.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForTypeVariable.java index 5cee4da8a..ffc472147 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForTypeVariable.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForTypeVariable.java @@ -18,7 +18,6 @@ import io.microsphere.reflect.JavaType.Kind; import org.junit.jupiter.api.Test; - import java.lang.reflect.TypeVariable; import static io.microsphere.reflect.JavaType.Kind.TYPE_VARIABLE; @@ -26,7 +25,6 @@ import static io.microsphere.util.ArrayUtils.EMPTY_TYPE_ARRAY; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link Kind} Test for {@link TypeVariable} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForUnknown.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForUnknown.java index bc8b2e97a..530b881df 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForUnknown.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForUnknown.java @@ -24,7 +24,6 @@ import static io.microsphere.util.ArrayUtils.EMPTY_TYPE_ARRAY; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link Kind} Test for Unknown * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForWildcardType.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForWildcardType.java index 6b25e15c6..1e937c1a7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForWildcardType.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeKindTestForWildcardType.java @@ -18,7 +18,6 @@ import io.microsphere.reflect.JavaType.Kind; import org.junit.jupiter.api.Test; - import java.lang.reflect.WildcardType; import static io.microsphere.reflect.JavaType.Kind.WILDCARD_TYPE; @@ -26,7 +25,6 @@ import static io.microsphere.util.ArrayUtils.EMPTY_TYPE_ARRAY; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link Kind} Test for {@link WildcardType} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTest.java index 041bd47b8..db92f2754 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTest.java @@ -21,7 +21,6 @@ import io.microsphere.test.StringIntegerHashMap; import org.junit.jupiter.api.Test; import org.springframework.core.ResolvableType; - import java.io.Serializable; import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; @@ -45,7 +44,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.springframework.core.ResolvableType.forType; - /** * {@link JavaType} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForClass.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForClass.java index 2912826a0..a0ad03bd2 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForClass.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForClass.java @@ -20,7 +20,6 @@ import io.microsphere.test.B; import io.microsphere.test.C; import io.microsphere.test.D; - import java.io.Serializable; import java.util.RandomAccess; @@ -34,7 +33,6 @@ import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link AbstractJavaTypeTest} for {@link Class} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForGenericArrayType.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForGenericArrayType.java index 34ad215cb..1f25876f5 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForGenericArrayType.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForGenericArrayType.java @@ -17,13 +17,11 @@ package io.microsphere.reflect; import io.microsphere.test.C; - import java.lang.reflect.GenericArrayType; import static io.microsphere.reflect.JavaType.EMPTY_JAVA_TYPE_ARRAY; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link AbstractJavaTypeTest} for {@link GenericArrayType} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForObjectClass.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForObjectClass.java index 5d5efd2a0..7eba0e35b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForObjectClass.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForObjectClass.java @@ -23,7 +23,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link AbstractJavaTypeTest} for {@link Object}'s {@link Class} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForParameterizedType.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForParameterizedType.java index 1fca03ee6..e91eabf30 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForParameterizedType.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForParameterizedType.java @@ -19,7 +19,6 @@ import io.microsphere.test.A; import io.microsphere.test.B; import io.microsphere.test.C; - import java.io.Serializable; import java.lang.reflect.ParameterizedType; import java.util.RandomAccess; @@ -33,7 +32,6 @@ import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link AbstractJavaTypeTest} for {@link ParameterizedType} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForTypeVariable.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForTypeVariable.java index 540fba0b0..d2907bc48 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForTypeVariable.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForTypeVariable.java @@ -20,13 +20,11 @@ import io.microsphere.test.B; import io.microsphere.test.C; import io.microsphere.test.D; - import java.lang.reflect.TypeVariable; import static io.microsphere.reflect.JavaType.EMPTY_JAVA_TYPE_ARRAY; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link AbstractJavaTypeTest} for {@link TypeVariable} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForUnknown.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForUnknown.java index 926b94d6b..c78c019ce 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForUnknown.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForUnknown.java @@ -20,13 +20,11 @@ import io.microsphere.test.B; import io.microsphere.test.C; import io.microsphere.test.D; - import java.lang.reflect.Type; import static io.microsphere.reflect.JavaType.EMPTY_JAVA_TYPE_ARRAY; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link AbstractJavaTypeTest} for Unknown * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForWildcardType.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForWildcardType.java index 0d11d3464..09269115c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForWildcardType.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/JavaTypeTestForWildcardType.java @@ -20,7 +20,6 @@ import io.microsphere.test.B; import io.microsphere.test.C; import io.microsphere.test.D; - import java.lang.reflect.Type; import java.lang.reflect.WildcardType; @@ -28,7 +27,6 @@ import static io.microsphere.reflect.JavaTypeKindTest.TEST_WILDCARD_TYPE; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link AbstractJavaTypeTest} for {@link WildcardType} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/MemberUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/MemberUtilsTest.java index 06e70a41f..d1b001448 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/MemberUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/MemberUtilsTest.java @@ -1,7 +1,6 @@ package io.microsphere.reflect; import org.junit.jupiter.api.Test; - import java.util.Map; import static io.microsphere.reflect.FieldUtils.findField; @@ -23,7 +22,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link MemberUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/MethodDefinitionTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/MethodDefinitionTest.java index 6736ab252..52317f0e8 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/MethodDefinitionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/MethodDefinitionTest.java @@ -17,14 +17,12 @@ package io.microsphere.reflect; import org.junit.jupiter.api.Test; - import java.util.List; import static io.microsphere.collection.Lists.ofList; import static io.microsphere.util.ArrayUtils.ofArray; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link MethodDefinition} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/MethodUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/MethodUtilsTest.java index 91a8295c7..e468e98fd 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/MethodUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/MethodUtilsTest.java @@ -23,7 +23,6 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.lang.management.RuntimeMXBean; import java.lang.reflect.Method; import java.util.AbstractList; @@ -90,7 +89,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link MethodUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/ModifierTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/ModifierTest.java index 1355aece7..3d1917715 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/ModifierTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/ModifierTest.java @@ -17,7 +17,6 @@ package io.microsphere.reflect; import org.junit.jupiter.api.Test; - import java.lang.reflect.Proxy; import java.util.AbstractList; import java.util.concurrent.TimeUnit; @@ -47,7 +46,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link Modifier} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/MultipleTypeTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/MultipleTypeTest.java index 94bab70b8..58c9f7957 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/MultipleTypeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/MultipleTypeTest.java @@ -9,7 +9,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link MultipleType} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/ProxyUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/ProxyUtilsTest.java index def9ca1a6..61ed70b4b 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/ProxyUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/ProxyUtilsTest.java @@ -21,7 +21,6 @@ import static io.microsphere.reflect.ProxyUtils.isProxyable; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ProxyUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectionUtilsBenchmark.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectionUtilsBenchmark.java index ee1899f9c..7ac43721e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectionUtilsBenchmark.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectionUtilsBenchmark.java @@ -31,7 +31,6 @@ import static java.util.concurrent.TimeUnit.NANOSECONDS; import static java.util.concurrent.TimeUnit.SECONDS; import static org.openjdk.jmh.annotations.Mode.AverageTime; - /** * {@link ReflectionUtils} Benchmark * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectionUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectionUtilsTest.java index f3e666d60..3d672a72d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectionUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectionUtilsTest.java @@ -2,7 +2,6 @@ import io.microsphere.test.Data; import org.junit.jupiter.api.Test; - import java.util.HashMap; import java.util.List; import java.util.Map; @@ -38,7 +37,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ReflectionUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectiveDefinitionImpl.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectiveDefinitionImpl.java index ebcae541c..00f292df8 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectiveDefinitionImpl.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectiveDefinitionImpl.java @@ -21,7 +21,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.lang.Deprecation; import io.microsphere.util.Version; - /** * {@link ReflectiveDefinition} Implementation class * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectiveDefinitionTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectiveDefinitionTest.java index 676143755..4eb8c0136 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectiveDefinitionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/ReflectiveDefinitionTest.java @@ -18,14 +18,12 @@ package io.microsphere.reflect; import org.junit.jupiter.api.Test; - import java.util.List; import static io.microsphere.lang.DeprecationTest.DEPRECATION; import static io.microsphere.lang.DeprecationTest.SINCE; import static java.util.Collections.emptyList; import static org.junit.jupiter.api.Assertions.assertNotEquals; - /** * {@link ReflectiveDefinition} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/TypeUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/TypeUtilsTest.java index c649b10bd..b8b1a0343 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/TypeUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/TypeUtilsTest.java @@ -28,7 +28,6 @@ import io.microsphere.test.StringIntegerBooleanHashMap; import io.microsphere.test.StringIntegerToBoolean; import org.junit.jupiter.api.Test; - import java.io.Serializable; import java.lang.reflect.Method; import java.lang.reflect.ParameterizedType; @@ -105,7 +104,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link TypeUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/generics/ParameterizedTypeImplTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/generics/ParameterizedTypeImplTest.java index 4049e5c91..747e09bbc 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/generics/ParameterizedTypeImplTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/generics/ParameterizedTypeImplTest.java @@ -2,7 +2,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.lang.reflect.MalformedParameterizedTypeException; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; @@ -15,7 +14,6 @@ import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ParameterizedTypeImpl} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/reflect/generics/TypeArgumentTest.java b/microsphere-java-core/src/test/java/io/microsphere/reflect/generics/TypeArgumentTest.java index 28d388416..bf91be7a3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/reflect/generics/TypeArgumentTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/reflect/generics/TypeArgumentTest.java @@ -7,7 +7,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link TypeArgument} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/security/SecurityUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/security/SecurityUtilsTest.java index 998fd3204..1b4292ea7 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/security/SecurityUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/security/SecurityUtilsTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Test; - import java.io.File; import java.net.URL; @@ -31,7 +30,6 @@ import static io.microsphere.util.StringUtils.substringBefore; import static java.lang.System.clearProperty; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link SecurityUtils} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/security/TestSecurityManager.java b/microsphere-java-core/src/test/java/io/microsphere/security/TestSecurityManager.java index 661a0049f..25fa43aa5 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/security/TestSecurityManager.java +++ b/microsphere-java-core/src/test/java/io/microsphere/security/TestSecurityManager.java @@ -17,7 +17,6 @@ package io.microsphere.security; import java.security.Permission; - /** * {@link SecurityManager} for Testing * diff --git a/microsphere-java-core/src/test/java/io/microsphere/test/A.java b/microsphere-java-core/src/test/java/io/microsphere/test/A.java index 6c6c6b641..ecd4cbe10 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/test/A.java +++ b/microsphere-java-core/src/test/java/io/microsphere/test/A.java @@ -17,7 +17,6 @@ package io.microsphere.test; import java.io.Serializable; - /** * A for testing * diff --git a/microsphere-java-core/src/test/java/io/microsphere/test/BF3.java b/microsphere-java-core/src/test/java/io/microsphere/test/BF3.java index 687e3940e..1b49f864f 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/test/BF3.java +++ b/microsphere-java-core/src/test/java/io/microsphere/test/BF3.java @@ -17,7 +17,6 @@ package io.microsphere.test; import java.util.function.BiFunction; - /** * @author Mercy * @since 1.0.0 diff --git a/microsphere-java-core/src/test/java/io/microsphere/test/C.java b/microsphere-java-core/src/test/java/io/microsphere/test/C.java index 27f4787cd..e3e75fb65 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/test/C.java +++ b/microsphere-java-core/src/test/java/io/microsphere/test/C.java @@ -17,7 +17,6 @@ package io.microsphere.test; import java.util.RandomAccess; - /** * @author Mercy * @since 1.0.0 diff --git a/microsphere-java-core/src/test/java/io/microsphere/test/Data.java b/microsphere-java-core/src/test/java/io/microsphere/test/Data.java index 6fa627295..904480738 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/test/Data.java +++ b/microsphere-java-core/src/test/java/io/microsphere/test/Data.java @@ -23,7 +23,6 @@ import static io.microsphere.util.ArrayUtils.arrayEquals; import static java.lang.Double.compare; import static java.lang.Float.compare; - /** * Data Model * diff --git a/microsphere-java-core/src/test/java/io/microsphere/test/E.java b/microsphere-java-core/src/test/java/io/microsphere/test/E.java index d66ee216d..ee8ec0374 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/test/E.java +++ b/microsphere-java-core/src/test/java/io/microsphere/test/E.java @@ -17,7 +17,6 @@ package io.microsphere.test; import java.io.Serializable; - /** * @author Mercy * @since 1.0.0 diff --git a/microsphere-java-core/src/test/java/io/microsphere/test/MultipleValueData.java b/microsphere-java-core/src/test/java/io/microsphere/test/MultipleValueData.java index ec6000658..faabc1f59 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/test/MultipleValueData.java +++ b/microsphere-java-core/src/test/java/io/microsphere/test/MultipleValueData.java @@ -18,7 +18,6 @@ package io.microsphere.test; import io.microsphere.collection.CollectionUtils; - import java.util.Arrays; import java.util.Enumeration; import java.util.List; @@ -27,7 +26,6 @@ import java.util.Set; import static io.microsphere.util.ArrayUtils.arrayEquals; - /** * Multi-Value Data * diff --git a/microsphere-java-core/src/test/java/io/microsphere/test/MyHashMap.java b/microsphere-java-core/src/test/java/io/microsphere/test/MyHashMap.java index e3048069d..1cc9bcf5a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/test/MyHashMap.java +++ b/microsphere-java-core/src/test/java/io/microsphere/test/MyHashMap.java @@ -19,7 +19,6 @@ import java.io.Serializable; import java.util.HashMap; import java.util.Map; - /** * @author Mercy * @since 1.0.0 diff --git a/microsphere-java-core/src/test/java/io/microsphere/test/StringIntegerHashMap.java b/microsphere-java-core/src/test/java/io/microsphere/test/StringIntegerHashMap.java index 0736e93ef..655d25ea5 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/test/StringIntegerHashMap.java +++ b/microsphere-java-core/src/test/java/io/microsphere/test/StringIntegerHashMap.java @@ -17,7 +17,6 @@ package io.microsphere.test; import java.util.HashMap; - /** * @author Mercy * @since 1.0.0 diff --git a/microsphere-java-core/src/test/java/io/microsphere/text/FormatUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/text/FormatUtilsTest.java index 9d5b01227..62f5fb385 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/text/FormatUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/text/FormatUtilsTest.java @@ -22,7 +22,6 @@ import static io.microsphere.text.FormatUtils.format; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link FormatUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/AnnotationUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/AnnotationUtilsTest.java index 4766a2729..e14f64f73 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/AnnotationUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/AnnotationUtilsTest.java @@ -18,7 +18,6 @@ import io.microsphere.annotation.Since; import org.junit.jupiter.api.Test; - import java.lang.annotation.Annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; @@ -94,7 +93,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link AnnotationUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ArrayUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ArrayUtilsTest.java index 202159e11..fff2462c1 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ArrayUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ArrayUtilsTest.java @@ -18,7 +18,6 @@ import io.microsphere.Loggable; import org.junit.jupiter.api.Test; - import java.io.File; import java.lang.annotation.Annotation; import java.lang.reflect.Parameter; @@ -82,7 +81,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ArrayUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/AssertTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/AssertTest.java index 2219e4879..6f6e229b5 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/AssertTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/AssertTest.java @@ -17,7 +17,6 @@ package io.microsphere.util; import org.junit.jupiter.api.Test; - import java.util.Collection; import java.util.Map; import java.util.function.Supplier; @@ -40,7 +39,6 @@ import static java.util.Collections.emptyList; import static java.util.Collections.emptyMap; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link Assert} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/BaseUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/BaseUtilsTest.java index 496e28ba3..eebd56adf 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/BaseUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/BaseUtilsTest.java @@ -3,7 +3,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link BaseUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/CharSequenceComparatorTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/CharSequenceComparatorTest.java index cdd25134a..9650f5b36 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/CharSequenceComparatorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/CharSequenceComparatorTest.java @@ -20,7 +20,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link CharSequenceComparator} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/CharSequenceUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/CharSequenceUtilsTest.java index 69c1f9737..5d87eaafa 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/CharSequenceUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/CharSequenceUtilsTest.java @@ -12,7 +12,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link CharSequenceUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ClassLoaderUtilsPerformanceTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ClassLoaderUtilsPerformanceTest.java index 9b4fb5c64..5836f9b93 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ClassLoaderUtilsPerformanceTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ClassLoaderUtilsPerformanceTest.java @@ -6,7 +6,6 @@ import static io.microsphere.AbstractTestCase.TEST_CLASS_LOADER; import static io.microsphere.util.ClassLoaderUtils.findLoadedClassesInClassPath; - /** * {@link ClassLoaderUtils} Performance Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ClassLoaderUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ClassLoaderUtilsTest.java index 7dad76a24..507c18eea 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ClassLoaderUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ClassLoaderUtilsTest.java @@ -8,7 +8,6 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Test; - import javax.annotation.Nonnull; import java.io.IOException; import java.lang.management.ClassLoadingMXBean; @@ -91,7 +90,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ClassLoaderUtils} {@link Test} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ClassPathUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ClassPathUtilsTest.java index 38c0c9646..50af260ee 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ClassPathUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ClassPathUtilsTest.java @@ -5,7 +5,6 @@ import io.microsphere.Loggable; import org.junit.jupiter.api.Test; - import java.lang.management.RuntimeMXBean; import java.net.URL; import java.util.Set; @@ -25,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link ClassPathUtils} {@link Test} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ClassUtilsBenchmark.java b/microsphere-java-core/src/test/java/io/microsphere/util/ClassUtilsBenchmark.java index e8a946791..4fecc883f 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ClassUtilsBenchmark.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ClassUtilsBenchmark.java @@ -29,7 +29,6 @@ import static io.microsphere.util.ClassUtils.isArray; import static java.util.concurrent.TimeUnit.NANOSECONDS; import static java.util.concurrent.TimeUnit.SECONDS; - /** * {@link ClassUtils} Benchmark * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ClassUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ClassUtilsTest.java index 344c65141..0265aabdc 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ClassUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ClassUtilsTest.java @@ -7,7 +7,6 @@ import io.microsphere.lang.ClassDataRepository; import io.microsphere.test.A; import org.junit.jupiter.api.Test; - import javax.annotation.Nonnull; import java.io.File; import java.io.Serializable; @@ -107,7 +106,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ClassUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/CompatibleTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/CompatibleTest.java index d0f7f6a18..bc4c515d2 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/CompatibleTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/CompatibleTest.java @@ -21,7 +21,6 @@ import static io.microsphere.util.Compatible.of; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * {@link Compatible} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ConfigurerTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ConfigurerTest.java index 7a5e14974..5f1263bf0 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ConfigurerTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ConfigurerTest.java @@ -3,7 +3,6 @@ import org.junit.jupiter.api.Test; import static io.microsphere.util.Configurer.configure; - /** * {@link Configurer} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ExceptionUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ExceptionUtilsTest.java index f2556abc2..fe5367da6 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ExceptionUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ExceptionUtilsTest.java @@ -17,7 +17,6 @@ package io.microsphere.util; import org.junit.jupiter.api.Test; - import java.sql.SQLException; import static io.microsphere.text.FormatUtils.format; @@ -33,7 +32,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ExceptionUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/FunctionalTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/FunctionalTest.java index c6c8c712f..5694a0ec0 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/FunctionalTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/FunctionalTest.java @@ -17,7 +17,6 @@ package io.microsphere.util; import org.junit.jupiter.api.Test; - import java.util.Objects; import static io.microsphere.util.Functional.of; @@ -25,7 +24,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link Functional} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/HierarchicalClassComparatorTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/HierarchicalClassComparatorTest.java index bde0243c7..30cd677fc 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/HierarchicalClassComparatorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/HierarchicalClassComparatorTest.java @@ -18,13 +18,11 @@ package io.microsphere.util; import org.junit.jupiter.api.Test; - import java.util.Comparator; import static io.microsphere.util.HierarchicalClassComparator.ASCENT; import static io.microsphere.util.HierarchicalClassComparator.DESCENT; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link HierarchicalClassComparator} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/IterableUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/IterableUtilsTest.java index 6eff55117..8f120295d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/IterableUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/IterableUtilsTest.java @@ -18,7 +18,6 @@ package io.microsphere.util; import org.junit.jupiter.api.Test; - import java.util.Collection; import java.util.Deque; import java.util.List; @@ -35,7 +34,6 @@ import static java.util.Collections.emptySet; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link IterableUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ObjectUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ObjectUtilsTest.java index c7076a424..a1a9a9e3d 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ObjectUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ObjectUtilsTest.java @@ -23,7 +23,6 @@ import static io.microsphere.util.ObjectUtils.nullSafe; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link ObjectUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/PriorityComparatorTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/PriorityComparatorTest.java index 8743785e2..8bebb95f3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/PriorityComparatorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/PriorityComparatorTest.java @@ -17,12 +17,10 @@ package io.microsphere.util; import org.junit.jupiter.api.Test; - import javax.annotation.Priority; import static io.microsphere.util.PriorityComparator.compare; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link PriorityComparator} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/PropertyResourceBundleControlTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/PropertyResourceBundleControlTest.java index f938403b3..5e5f819ec 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/PropertyResourceBundleControlTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/PropertyResourceBundleControlTest.java @@ -4,7 +4,6 @@ package io.microsphere.util; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.nio.charset.UnsupportedCharsetException; import java.util.MissingResourceException; @@ -21,7 +20,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link PropertyResourceBundleControl} {@link Test} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/PropertyResourceBundleUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/PropertyResourceBundleUtilsTest.java index eb374b5d6..af5c13c6a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/PropertyResourceBundleUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/PropertyResourceBundleUtilsTest.java @@ -4,7 +4,6 @@ package io.microsphere.util; import org.junit.jupiter.api.Test; - import java.util.Locale; import java.util.ResourceBundle; @@ -15,7 +14,6 @@ import static io.microsphere.util.SystemUtils.FILE_ENCODING; import static java.util.Locale.ROOT; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link PropertyResourceBundleUtils} {@link Test} * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ResourceTypeTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ResourceTypeTest.java index 49e36b643..98fb5e401 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ResourceTypeTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ResourceTypeTest.java @@ -17,7 +17,6 @@ package io.microsphere.util; import org.junit.jupiter.api.Test; - import java.util.Map; import static io.microsphere.collection.MapUtils.ofMap; @@ -30,7 +29,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ClassLoaderUtils.ResourceType} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ServiceLoaderUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ServiceLoaderUtilsTest.java index 4a77e8208..9c7df8701 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ServiceLoaderUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ServiceLoaderUtilsTest.java @@ -6,7 +6,6 @@ import io.microsphere.event.EventListener; import io.microsphere.logging.LoggerFactory; import org.junit.jupiter.api.Test; - import java.io.IOException; import java.net.URL; import java.util.List; @@ -27,7 +26,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ServiceLoaderUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ShutdownHookCallback.java b/microsphere-java-core/src/test/java/io/microsphere/util/ShutdownHookCallback.java index 642c7b88b..ec4bd6e97 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ShutdownHookCallback.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ShutdownHookCallback.java @@ -19,7 +19,6 @@ import io.microsphere.Loggable; import io.microsphere.lang.Prioritized; - /** * The ShutdownHook Callback * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ShutdownHookCallbacksThreadTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ShutdownHookCallbacksThreadTest.java index 36a25dd7b..0af50c7a3 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ShutdownHookCallbacksThreadTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ShutdownHookCallbacksThreadTest.java @@ -5,7 +5,6 @@ import static io.microsphere.util.ShutdownHookCallbacksThread.INSTANCE; import static io.microsphere.util.ShutdownHookUtils.addShutdownHookCallback; - /** * {@link ShutdownHookCallbacksThread} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ShutdownHookUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ShutdownHookUtilsTest.java index ce79b62fd..ae7a12fd5 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ShutdownHookUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ShutdownHookUtilsTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.Queue; import static io.microsphere.util.ShutdownHookUtils.SHUTDOWN_HOOK_CALLBACKS_THREAD_FILTER; @@ -38,7 +37,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ShutdownHookUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/StackTraceUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/StackTraceUtilsTest.java index 12fb90663..89a3a3e0a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/StackTraceUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/StackTraceUtilsTest.java @@ -8,7 +8,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link StackTraceUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/StopWatchTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/StopWatchTest.java index 3a6a6a6fa..c20b33dde 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/StopWatchTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/StopWatchTest.java @@ -32,7 +32,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link StopWatch} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/StringUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/StringUtilsTest.java index f1e206d12..d66248ce6 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/StringUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/StringUtilsTest.java @@ -47,7 +47,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.springframework.util.StringUtils.delimitedListToStringArray; - /** * {@link StringUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/SystemUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/SystemUtilsTest.java index 22849cc3f..78d7b880a 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/SystemUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/SystemUtilsTest.java @@ -21,7 +21,6 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import javax.lang.model.SourceVersion; import java.lang.reflect.Field; import java.util.Map; @@ -101,7 +100,6 @@ import static javax.lang.model.SourceVersion.values; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link SystemUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ThrowableUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ThrowableUtilsTest.java index aba201545..b263bf158 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ThrowableUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ThrowableUtilsTest.java @@ -24,7 +24,6 @@ import static io.microsphere.util.ThrowableUtils.getRootCause; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; - /** * {@link ThrowableUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/TypeFinderTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/TypeFinderTest.java index ae3258bf4..2876c7149 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/TypeFinderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/TypeFinderTest.java @@ -6,14 +6,14 @@ import io.microsphere.test.StringIntegerToBoolean; import io.microsphere.test.StringIntegerToBooleanClass; import io.microsphere.util.TypeFinder.Include; -import org.junit.jupiter.api.Test; - import java.io.Serializable; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; +import java.util.ArrayList; import java.util.List; import java.util.function.BiFunction; +import org.junit.jupiter.api.Test; import static io.microsphere.AbstractTestCase.assertValues; import static io.microsphere.collection.ListUtils.newArrayList; @@ -37,7 +37,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link TypeFinder} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/ValueHolderTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/ValueHolderTest.java index 832fee552..0adb6885e 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/ValueHolderTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/ValueHolderTest.java @@ -23,7 +23,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link ValueHolder} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/VersionOperatorTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/VersionOperatorTest.java index be96ecaab..a06a7a232 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/VersionOperatorTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/VersionOperatorTest.java @@ -31,7 +31,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * The {@link Operator} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/VersionTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/VersionTest.java index ef14030e4..67a0b1a99 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/VersionTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/VersionTest.java @@ -17,7 +17,6 @@ package io.microsphere.util; import org.junit.jupiter.api.Test; - import javax.annotation.Nullable; import static io.microsphere.constants.SymbolConstants.DOT; @@ -39,7 +38,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link Version} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/VersionUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/VersionUtilsTest.java index bb133b337..723ef701c 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/VersionUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/VersionUtilsTest.java @@ -48,7 +48,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link VersionUtils} Test * diff --git a/microsphere-java-core/src/test/java/io/microsphere/util/jar/JarUtilsTest.java b/microsphere-java-core/src/test/java/io/microsphere/util/jar/JarUtilsTest.java index b19a02ef6..68bf6fd83 100644 --- a/microsphere-java-core/src/test/java/io/microsphere/util/jar/JarUtilsTest.java +++ b/microsphere-java-core/src/test/java/io/microsphere/util/jar/JarUtilsTest.java @@ -7,7 +7,6 @@ import io.microsphere.filter.JarEntryFilter; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import javax.annotation.Nonnull; import java.io.File; import java.io.IOException; @@ -43,7 +42,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link JarUtils} Test * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/annotation/TestAnnotation.java b/microsphere-java-test/src/main/java/io/microsphere/test/annotation/TestAnnotation.java index 5669e4936..686e86b20 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/annotation/TestAnnotation.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/annotation/TestAnnotation.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.ConfigurationProperty; import io.microsphere.annotation.Since; - import java.lang.annotation.Annotation; import java.lang.annotation.Documented; import java.lang.annotation.Retention; @@ -29,7 +28,6 @@ import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import static java.util.concurrent.TimeUnit.DAYS; - /** * The {@link Annotation} for testing * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/AbstractAnnotationProcessingTest.java b/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/AbstractAnnotationProcessingTest.java index 57f4a8daf..3aee74c8a 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/AbstractAnnotationProcessingTest.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/AbstractAnnotationProcessingTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; - import javax.annotation.processing.ProcessingEnvironment; import javax.annotation.processing.RoundEnvironment; import javax.lang.model.AnnotatedConstruct; @@ -42,7 +41,6 @@ import java.util.List; import java.util.Set; import java.util.function.Predicate; - /** * Abstract {@link Annotation} Processing Test case * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/AnnotationProcessingTestProcessor.java b/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/AnnotationProcessingTestProcessor.java index 3192d0140..98cf9421f 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/AnnotationProcessingTestProcessor.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/AnnotationProcessingTestProcessor.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.InvocationInterceptor.Invocation; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; - import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.ProcessingEnvironment; import javax.annotation.processing.RoundEnvironment; @@ -35,7 +34,6 @@ import static io.microsphere.util.ExceptionUtils.wrap; import static io.microsphere.util.ThrowableUtils.getRootCause; import static javax.lang.model.SourceVersion.latestSupported; - /** * {@link AnnotationProcessingTestProcessor} * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/CompilerInvocationInterceptor.java b/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/CompilerInvocationInterceptor.java index 5a9d77af2..cff3f5185 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/CompilerInvocationInterceptor.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/annotation/processing/CompilerInvocationInterceptor.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.InvocationInterceptor; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; - import javax.annotation.processing.Processor; import java.lang.reflect.Method; import java.util.LinkedHashSet; @@ -32,7 +31,6 @@ import static io.microsphere.collection.SetUtils.newLinkedHashSet; import static io.microsphere.util.ArrayUtils.EMPTY_CLASS_ARRAY; import static java.util.ServiceLoader.load; - /** * {@link InvocationInterceptor} based on Java {@link Compiler} * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/model/Ancestor.java b/microsphere-java-test/src/main/java/io/microsphere/test/model/Ancestor.java index cf0e07f70..488972a23 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/model/Ancestor.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/model/Ancestor.java @@ -17,7 +17,6 @@ package io.microsphere.test.model; import java.io.Serializable; - /** * Ancestor * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/model/CollectionTypeModel.java b/microsphere-java-test/src/main/java/io/microsphere/test/model/CollectionTypeModel.java index 414d65451..9635c2808 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/model/CollectionTypeModel.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/model/CollectionTypeModel.java @@ -21,7 +21,6 @@ import java.util.List; import java.util.Queue; import java.util.Set; - /** * {@link Collection} Type Model * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/model/ConfigurationPropertyModel.java b/microsphere-java-test/src/main/java/io/microsphere/test/model/ConfigurationPropertyModel.java index a8e206bd0..448ec8ba6 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/model/ConfigurationPropertyModel.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/model/ConfigurationPropertyModel.java @@ -18,7 +18,6 @@ package io.microsphere.test.model; import io.microsphere.annotation.ConfigurationProperty; - /** * {@link ConfigurationProperty} Model * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/model/MapTypeModel.java b/microsphere-java-test/src/main/java/io/microsphere/test/model/MapTypeModel.java index bf051c5b9..b6b5f4510 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/model/MapTypeModel.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/model/MapTypeModel.java @@ -21,7 +21,6 @@ import java.util.NavigableMap; import java.util.SortedMap; import java.util.TreeMap; - /** * {@link Map} Type model * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/model/Model.java b/microsphere-java-test/src/main/java/io/microsphere/test/model/Model.java index 5d972f3c9..2c1549947 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/model/Model.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/model/Model.java @@ -19,7 +19,6 @@ import java.math.BigDecimal; import java.math.BigInteger; import java.util.concurrent.TimeUnit; - /** * Model Object * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/model/SimpleTypeModel.java b/microsphere-java-test/src/main/java/io/microsphere/test/model/SimpleTypeModel.java index 86a8b6b8b..753778039 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/model/SimpleTypeModel.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/model/SimpleTypeModel.java @@ -19,7 +19,6 @@ import java.math.BigDecimal; import java.math.BigInteger; import java.util.Date; - /** * Simple Type model * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/model/StringArrayList.java b/microsphere-java-test/src/main/java/io/microsphere/test/model/StringArrayList.java index e7c115a09..2f8b06e4c 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/model/StringArrayList.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/model/StringArrayList.java @@ -18,7 +18,6 @@ package io.microsphere.test.model; import java.util.ArrayList; - /** * String type {@link ArrayList} * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/service/DefaultTestService.java b/microsphere-java-test/src/main/java/io/microsphere/test/service/DefaultTestService.java index 53b1564ee..4457e6be4 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/service/DefaultTestService.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/service/DefaultTestService.java @@ -17,9 +17,7 @@ package io.microsphere.test.service; import io.microsphere.test.model.Model; - import java.util.concurrent.TimeUnit; - /** * {@link TestService} Implementation * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/service/GenericTestService.java b/microsphere-java-test/src/main/java/io/microsphere/test/service/GenericTestService.java index 76f6b33b4..a3e209da1 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/service/GenericTestService.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/service/GenericTestService.java @@ -17,7 +17,6 @@ package io.microsphere.test.service; import java.util.EventListener; - /** * {@link TestService} Implementation * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/service/TestService.java b/microsphere-java-test/src/main/java/io/microsphere/test/service/TestService.java index 3a859f96d..449a6709f 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/service/TestService.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/service/TestService.java @@ -17,7 +17,6 @@ package io.microsphere.test.service; import io.microsphere.test.model.Model; - import javax.ws.rs.DefaultValue; import javax.ws.rs.GET; import javax.ws.rs.POST; @@ -25,7 +24,6 @@ import javax.ws.rs.Path; import javax.ws.rs.PathParam; import java.util.concurrent.TimeUnit; - /** * Test Service * diff --git a/microsphere-java-test/src/main/java/io/microsphere/test/service/TestServiceImpl.java b/microsphere-java-test/src/main/java/io/microsphere/test/service/TestServiceImpl.java index 244b7862b..927f616d0 100644 --- a/microsphere-java-test/src/main/java/io/microsphere/test/service/TestServiceImpl.java +++ b/microsphere-java-test/src/main/java/io/microsphere/test/service/TestServiceImpl.java @@ -26,14 +26,12 @@ import org.springframework.context.annotation.ComponentScans; import org.springframework.core.env.Environment; import org.springframework.stereotype.Service; - import javax.xml.ws.ServiceMode; import java.io.Serializable; import static java.util.concurrent.TimeUnit.HOURS; import static org.springframework.context.annotation.FilterType.ASPECTJ; import static org.springframework.context.annotation.ScopedProxyMode.INTERFACES; - /** * @author Mercy * @since 1.0.0 diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/annotation/processing/AnnotationProcessingTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/annotation/processing/AnnotationProcessingTest.java index 7696da277..c8473e17e 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/annotation/processing/AnnotationProcessingTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/annotation/processing/AnnotationProcessingTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; import org.junit.jupiter.api.extension.TestExecutionExceptionHandler; - import javax.lang.model.element.Element; import javax.lang.model.type.TypeMirror; import java.lang.reflect.Method; @@ -33,7 +32,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; - /** * {@link AbstractAnnotationProcessingTest} Test * diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/AncestorTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/AncestorTest.java index bb681aad2..6839b0dd7 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/AncestorTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/AncestorTest.java @@ -5,7 +5,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Unit tests for the Ancestor class */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/ArrayTypeModelTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/ArrayTypeModelTest.java index ebf9644af..d076f4aff 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/ArrayTypeModelTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/ArrayTypeModelTest.java @@ -10,7 +10,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; - /** * Unit tests for the ArrayTypeModel class */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/CollectionTypeModelTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/CollectionTypeModelTest.java index 6620715ce..61f45d08e 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/CollectionTypeModelTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/CollectionTypeModelTest.java @@ -2,7 +2,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.ArrayList; import java.util.Collection; import java.util.Deque; @@ -21,7 +20,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Unit tests for the CollectionTypeModel class */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/ColorTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/ColorTest.java index 36c057efa..37635c57b 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/ColorTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/ColorTest.java @@ -11,7 +11,6 @@ import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Unit tests for the Color enum */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/ConfigurationPropertyModelTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/ConfigurationPropertyModelTest.java index 97c895fd1..f2fe4442d 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/ConfigurationPropertyModelTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/ConfigurationPropertyModelTest.java @@ -8,7 +8,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Unit tests for the ConfigurationPropertyModel class */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/MapTypeModelTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/MapTypeModelTest.java index 89105740d..fce3801c5 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/MapTypeModelTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/MapTypeModelTest.java @@ -2,7 +2,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.HashMap; import java.util.Map; import java.util.NavigableMap; @@ -17,7 +16,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Unit tests for the MapTypeModel class */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/ModelTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/ModelTest.java index 425f309fa..6dd522c41 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/ModelTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/ModelTest.java @@ -2,7 +2,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.math.BigDecimal; import java.math.BigInteger; import java.util.concurrent.TimeUnit; @@ -10,7 +9,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Unit tests for the Model class */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/ParentTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/ParentTest.java index 57bbc815f..b13c149c2 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/ParentTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/ParentTest.java @@ -6,7 +6,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Unit tests for the Parent class */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/PrimitiveTypeModelTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/PrimitiveTypeModelTest.java index 05738cad4..30f72f7a0 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/PrimitiveTypeModelTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/PrimitiveTypeModelTest.java @@ -5,7 +5,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; - /** * Unit tests for the PrimitiveTypeModel class */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/SimpleTypeModelTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/SimpleTypeModelTest.java index a1e8f43a5..a4f1a490a 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/SimpleTypeModelTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/SimpleTypeModelTest.java @@ -2,7 +2,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.math.BigDecimal; import java.math.BigInteger; import java.util.Date; @@ -11,7 +10,6 @@ import static java.lang.Boolean.TRUE; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; - /** * Unit tests for the SimpleTypeModel class */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/model/StringArrayListTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/model/StringArrayListTest.java index bc8dffc5a..b0d45e508 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/model/StringArrayListTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/model/StringArrayListTest.java @@ -2,7 +2,6 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; @@ -11,7 +10,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Unit tests for the StringArrayList class */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/service/DefaultTestServiceTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/service/DefaultTestServiceTest.java index a300041d5..ee4d3411b 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/service/DefaultTestServiceTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/service/DefaultTestServiceTest.java @@ -3,13 +3,11 @@ import io.microsphere.test.model.Model; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import java.util.concurrent.TimeUnit; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; - /** * Unit tests for the DefaultTestService class. */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/service/GenericTestServiceTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/service/GenericTestServiceTest.java index 92ce5fe61..7f25fe6d5 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/service/GenericTestServiceTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/service/GenericTestServiceTest.java @@ -7,7 +7,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Unit tests for the GenericTestService class. */ diff --git a/microsphere-java-test/src/test/java/io/microsphere/test/service/TestServiceImplTest.java b/microsphere-java-test/src/test/java/io/microsphere/test/service/TestServiceImplTest.java index 2cb9602e6..799d6af8c 100644 --- a/microsphere-java-test/src/test/java/io/microsphere/test/service/TestServiceImplTest.java +++ b/microsphere-java-test/src/test/java/io/microsphere/test/service/TestServiceImplTest.java @@ -11,7 +11,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.mockito.Mockito.mock; - /** * Unit tests for the TestServiceImpl class. */ diff --git a/microsphere-jdk-tools/src/main/java/io/microsphere/jdk/tools/compiler/Compiler.java b/microsphere-jdk-tools/src/main/java/io/microsphere/jdk/tools/compiler/Compiler.java index 50aa1588b..8207a12e0 100644 --- a/microsphere-jdk-tools/src/main/java/io/microsphere/jdk/tools/compiler/Compiler.java +++ b/microsphere-jdk-tools/src/main/java/io/microsphere/jdk/tools/compiler/Compiler.java @@ -17,7 +17,6 @@ package io.microsphere.jdk.tools.compiler; import io.microsphere.logging.Logger; - import javax.annotation.processing.Processor; import javax.tools.DiagnosticListener; import javax.tools.JavaCompiler; @@ -61,7 +60,6 @@ import static javax.tools.StandardLocation.SOURCE_OUTPUT; import static javax.tools.StandardLocation.SOURCE_PATH; import static javax.tools.ToolProvider.getSystemJavaCompiler; - /** * The Java Compiler * diff --git a/microsphere-jdk-tools/src/test/java/io/microsphere/jdk/tools/compiler/CompilerTest.java b/microsphere-jdk-tools/src/test/java/io/microsphere/jdk/tools/compiler/CompilerTest.java index d4db543f3..d4b7fa342 100644 --- a/microsphere-jdk-tools/src/test/java/io/microsphere/jdk/tools/compiler/CompilerTest.java +++ b/microsphere-jdk-tools/src/test/java/io/microsphere/jdk/tools/compiler/CompilerTest.java @@ -1,7 +1,6 @@ package io.microsphere.jdk.tools.compiler; import org.junit.jupiter.api.Test; - import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.Processor; import javax.annotation.processing.RoundEnvironment; @@ -26,7 +25,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * Unit tests for the Compiler class * diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/element/StringAnnotationValue.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/element/StringAnnotationValue.java index f70609607..af187cfba 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/element/StringAnnotationValue.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/element/StringAnnotationValue.java @@ -18,10 +18,8 @@ package io.microsphere.lang.model.element; import io.microsphere.annotation.Immutable; - import javax.lang.model.element.AnnotationValue; import javax.lang.model.element.AnnotationValueVisitor; - /** * {@link AnnotationValue} for String type * diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/AnnotatedElementJSONElementVisitor.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/AnnotatedElementJSONElementVisitor.java index f59cae6d9..bf80c6398 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/AnnotatedElementJSONElementVisitor.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/AnnotatedElementJSONElementVisitor.java @@ -18,7 +18,6 @@ package io.microsphere.lang.model.util; import io.microsphere.annotation.Nonnull; - import javax.annotation.processing.ProcessingEnvironment; import javax.lang.model.element.Element; import javax.lang.model.element.ElementVisitor; @@ -33,7 +32,6 @@ import static io.microsphere.lang.model.util.ElementUtils.matchesElementType; import static io.microsphere.lang.model.util.TypeUtils.getDeclaredType; import static io.microsphere.util.Assert.assertNotNull; - /** * An abstract implementation of {@link ElementVisitor} that generates JSON content for elements * annotated with a specific annotation. diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/AnnotationUtils.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/AnnotationUtils.java index 6925ab55d..f4f589dd4 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/AnnotationUtils.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/AnnotationUtils.java @@ -20,27 +20,27 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; - -import javax.annotation.processing.ProcessingEnvironment; -import javax.lang.model.AnnotatedConstruct; -import javax.lang.model.element.AnnotationMirror; -import javax.lang.model.element.AnnotationValue; -import javax.lang.model.element.AnnotationValueVisitor; -import javax.lang.model.element.Element; -import javax.lang.model.element.ExecutableElement; -import javax.lang.model.element.TypeElement; -import javax.lang.model.type.DeclaredType; -import javax.lang.model.type.TypeMirror; import java.lang.annotation.Annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Target; import java.lang.reflect.Type; import java.util.Collection; +import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Objects; import java.util.function.Predicate; +import javax.annotation.processing.ProcessingEnvironment; +import javax.lang.model.AnnotatedConstruct; +import javax.lang.model.element.AnnotationMirror; +import javax.lang.model.element.AnnotationValue; +import javax.lang.model.element.AnnotationValueVisitor; +import javax.lang.model.element.Element; +import javax.lang.model.element.ExecutableElement; +import javax.lang.model.element.TypeElement; +import javax.lang.model.type.DeclaredType; +import javax.lang.model.type.TypeMirror; import static io.microsphere.collection.CollectionUtils.isEmpty; import static io.microsphere.collection.CollectionUtils.size; @@ -64,7 +64,6 @@ import static java.util.Collections.unmodifiableList; import static java.util.Collections.unmodifiableMap; import static java.util.stream.Collectors.toList; - /** * A utility interface for working with annotations in the {@code javax.lang.model.*} package. *

diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ClassUtils.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ClassUtils.java index c17a14c54..c2718b8ac 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ClassUtils.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ClassUtils.java @@ -18,7 +18,6 @@ package io.microsphere.lang.model.util; import io.microsphere.util.Utils; - import javax.lang.model.type.TypeMirror; import static io.microsphere.constants.SymbolConstants.DOLLAR_CHAR; @@ -26,7 +25,6 @@ import static io.microsphere.lang.model.util.TypeUtils.ofTypeElement; import static io.microsphere.util.ClassLoaderUtils.getClassLoader; import static io.microsphere.util.ClassLoaderUtils.resolveClass; - /** * The utilities class for {@link Class} * diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ConstructorUtils.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ConstructorUtils.java index cdbc6f31a..e3fe99552 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ConstructorUtils.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ConstructorUtils.java @@ -21,7 +21,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; - import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; import javax.lang.model.element.ExecutableElement; @@ -40,7 +39,6 @@ import static io.microsphere.lang.model.util.MemberUtils.getDeclaredMembers; import static java.util.Collections.emptyList; import static javax.lang.model.util.ElementFilter.constructorsIn; - /** * The utils class for {@link Constructor constructor} * diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ElementUtils.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ElementUtils.java index 49b469bce..05e9cbf51 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ElementUtils.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ElementUtils.java @@ -20,7 +20,6 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.util.Utils; - import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; import javax.lang.model.element.ExecutableElement; @@ -46,7 +45,6 @@ import static javax.lang.model.element.ElementKind.valueOf; import static javax.lang.model.element.Modifier.PUBLIC; import static javax.lang.model.element.Modifier.STATIC; - /** * The utility class for {@link Element} * diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ExecutableElementComparator.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ExecutableElementComparator.java index 31dcd23ba..ad9845ef1 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ExecutableElementComparator.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ExecutableElementComparator.java @@ -17,12 +17,10 @@ package io.microsphere.lang.model.util; import io.microsphere.util.CharSequenceComparator; - import javax.lang.model.element.ExecutableElement; import javax.lang.model.element.VariableElement; import java.util.Comparator; import java.util.List; - /** * The Comparator class for {@link ExecutableElement}, the comparison rule : *

    diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/FieldUtils.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/FieldUtils.java index fc32780f7..9564ce99c 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/FieldUtils.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/FieldUtils.java @@ -20,7 +20,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; - import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; import javax.lang.model.element.Modifier; @@ -42,7 +41,6 @@ import static javax.lang.model.element.ElementKind.FIELD; import static javax.lang.model.element.Modifier.STATIC; import static javax.lang.model.util.ElementFilter.fieldsIn; - /** * A utility interface for working with fields in the context of Java annotation processing. *

    diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/JSONAnnotationValueVisitor.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/JSONAnnotationValueVisitor.java index 4e8cefab3..716b2d3b0 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/JSONAnnotationValueVisitor.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/JSONAnnotationValueVisitor.java @@ -38,7 +38,6 @@ import static io.microsphere.lang.model.util.AnnotationUtils.getAttributeName; import static io.microsphere.lang.model.util.AnnotationUtils.getElementValues; import static io.microsphere.lang.model.util.TypeUtils.getTypeName; - /** * A visitor implementation for converting {@link AnnotationValue} objects into JSON-formatted strings. * This class extends {@link SimpleAnnotationValueVisitor6} and is designed to work with Java annotation diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/JSONElementVisitor.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/JSONElementVisitor.java index 416eafce3..f5fa0d436 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/JSONElementVisitor.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/JSONElementVisitor.java @@ -29,7 +29,6 @@ import java.util.List; import static java.lang.Boolean.FALSE; - /** * A specialized {@link ElementVisitor} implementation that traverses Java elements and generates JSON * representations of the elements' metadata. diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/LoggerUtils.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/LoggerUtils.java index cf93fa928..1a79bf5bc 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/LoggerUtils.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/LoggerUtils.java @@ -20,7 +20,6 @@ import io.microsphere.util.Utils; import static io.microsphere.logging.LoggerFactory.getLogger; - /** * Logger Utils * diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/MemberUtils.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/MemberUtils.java index 9eedd007a..4c8c31f2c 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/MemberUtils.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/MemberUtils.java @@ -19,7 +19,6 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.util.Utils; - import javax.lang.model.element.Element; import javax.lang.model.element.TypeElement; import javax.lang.model.type.TypeMirror; @@ -33,7 +32,6 @@ import static io.microsphere.lang.model.util.TypeUtils.ofTypeElement; import static java.util.Collections.emptyList; import static java.util.stream.Collectors.toList; - /** * A utility interface for handling members (such as fields, methods, constructors) from types * in the {@link javax.lang.model} package. diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/MessagerUtils.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/MessagerUtils.java index 967e89780..acbab96f1 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/MessagerUtils.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/MessagerUtils.java @@ -18,7 +18,6 @@ package io.microsphere.lang.model.util; import io.microsphere.util.Utils; - import javax.annotation.processing.Messager; import javax.annotation.processing.ProcessingEnvironment; import javax.tools.Diagnostic.Kind; @@ -32,7 +31,6 @@ import static javax.tools.Diagnostic.Kind.MANDATORY_WARNING; import static javax.tools.Diagnostic.Kind.NOTE; import static javax.tools.Diagnostic.Kind.WARNING; - /** * {@link Messager} utilities class * diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/MethodUtils.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/MethodUtils.java index 5f5fd5b4c..007e547bc 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/MethodUtils.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/MethodUtils.java @@ -20,7 +20,6 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; - import javax.annotation.processing.ProcessingEnvironment; import javax.lang.model.element.Element; import javax.lang.model.element.ExecutableElement; @@ -53,7 +52,6 @@ import static java.util.stream.Collectors.toList; import static javax.lang.model.element.ElementKind.METHOD; import static javax.lang.model.util.ElementFilter.methodsIn; - /** * The utilities class for method in the package "javax.lang.model." * diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitor.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitor.java index b31cd1aad..3689f42c0 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitor.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitor.java @@ -17,6 +17,11 @@ package io.microsphere.lang.model.util; +import java.lang.reflect.Method; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.AnnotationValue; import javax.lang.model.element.AnnotationValueVisitor; @@ -25,10 +30,6 @@ import javax.lang.model.type.ArrayType; import javax.lang.model.type.TypeMirror; import javax.lang.model.util.SimpleAnnotationValueVisitor6; -import java.lang.reflect.Method; -import java.util.List; -import java.util.Map; -import java.util.Map.Entry; import static io.microsphere.collection.MapUtils.newFixedLinkedHashMap; import static io.microsphere.lang.model.util.AnnotationUtils.getAttributeName; @@ -40,7 +41,6 @@ import static io.microsphere.util.ClassLoaderUtils.resolveClass; import static java.lang.Enum.valueOf; import static java.lang.reflect.Array.set; - /** * A visitor for resolving annotation values into their corresponding runtime representations. * diff --git a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/TypeUtils.java b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/TypeUtils.java index 0d3949df4..98d075287 100644 --- a/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/TypeUtils.java +++ b/microsphere-lang-model/src/main/java/io/microsphere/lang/model/util/TypeUtils.java @@ -21,7 +21,6 @@ import io.microsphere.annotation.Nullable; import io.microsphere.util.TypeFinder; import io.microsphere.util.Utils; - import javax.annotation.processing.ProcessingEnvironment; import javax.lang.model.element.Element; import javax.lang.model.element.TypeElement; @@ -59,7 +58,6 @@ import static javax.lang.model.element.ElementKind.ENUM; import static javax.lang.model.element.ElementKind.INTERFACE; import static javax.lang.model.type.TypeKind.ARRAY; - /** * The utilities class for type in the package "javax.lang.model.*" * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/element/StringAnnotationValueTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/element/StringAnnotationValueTest.java index 442dfb861..e6189f6fa 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/element/StringAnnotationValueTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/element/StringAnnotationValueTest.java @@ -22,7 +22,6 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link StringAnnotationValue} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/AnnotatedElementJSONElementVisitorTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/AnnotatedElementJSONElementVisitorTest.java index 3ef668482..2355c583a 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/AnnotatedElementJSONElementVisitorTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/AnnotatedElementJSONElementVisitorTest.java @@ -18,13 +18,11 @@ package io.microsphere.lang.model.util; import org.junit.jupiter.api.Test; - import javax.lang.model.element.ExecutableElement; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link AnnotatedElementJSONElementVisitor} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/AnnotationUtilsTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/AnnotationUtilsTest.java index b9aa9add2..13cc98e74 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/AnnotationUtilsTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/AnnotationUtilsTest.java @@ -28,7 +28,6 @@ import org.springframework.context.annotation.ComponentScans; import org.springframework.stereotype.Component; import org.springframework.stereotype.Service; - import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.AnnotationValue; import javax.lang.model.element.Element; @@ -90,7 +89,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * The {@link AnnotationUtils} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ClassUtilsTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ClassUtilsTest.java index eb83d0ae1..eb4351c98 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ClassUtilsTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ClassUtilsTest.java @@ -25,7 +25,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link ClassUtils} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ConstructorUtilsTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ConstructorUtilsTest.java index 6e8bfc1fe..33ceb2a17 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ConstructorUtilsTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ConstructorUtilsTest.java @@ -19,7 +19,6 @@ import org.junit.jupiter.api.Test; import org.springframework.core.env.Environment; - import javax.lang.model.element.ExecutableElement; import java.io.Serializable; import java.util.List; @@ -35,7 +34,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ConstructorUtils} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ElementUtilsTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ElementUtilsTest.java index f7e45a662..af8ab4096 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ElementUtilsTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ElementUtilsTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; - import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; import javax.lang.model.element.ExecutableElement; @@ -79,7 +78,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ElementUtils} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ExecutableElementComparatorTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ExecutableElementComparatorTest.java index 9043220bb..76a5b1969 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ExecutableElementComparatorTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ExecutableElementComparatorTest.java @@ -2,7 +2,6 @@ import io.microsphere.test.service.TestService; import org.junit.jupiter.api.Test; - import javax.lang.model.element.ExecutableElement; import javax.lang.model.element.TypeElement; import java.lang.reflect.Type; @@ -10,7 +9,6 @@ import static io.microsphere.lang.model.util.ExecutableElementComparator.INSTANCE; import static io.microsphere.lang.model.util.MethodUtils.findMethod; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link ExecutableElementComparator} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/FieldUtilsTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/FieldUtilsTest.java index f2763dfb1..55a1d0a70 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/FieldUtilsTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/FieldUtilsTest.java @@ -19,7 +19,6 @@ import io.microsphere.test.model.Color; import io.microsphere.test.model.Model; import org.junit.jupiter.api.Test; - import javax.lang.model.element.ExecutableElement; import javax.lang.model.element.TypeElement; import javax.lang.model.element.VariableElement; @@ -58,7 +57,6 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link FieldUtils} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/JSONAnnotationValueVisitorTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/JSONAnnotationValueVisitorTest.java index 54d2d0544..13a377f32 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/JSONAnnotationValueVisitorTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/JSONAnnotationValueVisitorTest.java @@ -21,7 +21,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; - import javax.lang.model.element.AnnotationValue; import javax.lang.model.element.ExecutableElement; import java.lang.reflect.Method; @@ -31,7 +30,6 @@ import static io.microsphere.lang.model.util.AnnotationUtils.getElementValues; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertSame; - /** * {@link JSONAnnotationValueVisitor} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/JSONElementVisitorTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/JSONElementVisitorTest.java index 900ba3404..567e6efc2 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/JSONElementVisitorTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/JSONElementVisitorTest.java @@ -22,7 +22,6 @@ import io.microsphere.test.model.StringArrayList; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; - import javax.lang.model.element.Element; import javax.lang.model.element.ExecutableElement; import javax.lang.model.element.PackageElement; @@ -38,7 +37,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link JSONElementVisitor} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/LoggerUtilsTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/LoggerUtilsTest.java index db2713d77..26cfba20e 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/LoggerUtilsTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/LoggerUtilsTest.java @@ -26,7 +26,6 @@ import static io.microsphere.lang.model.util.LoggerUtils.warn; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertNotNull; - /** * {@link LoggerUtils} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/MemberUtilsTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/MemberUtilsTest.java index 59b930db4..7a8d2f5b5 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/MemberUtilsTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/MemberUtilsTest.java @@ -18,7 +18,6 @@ import io.microsphere.test.model.Model; import org.junit.jupiter.api.Test; - import javax.lang.model.element.Element; import javax.lang.model.element.TypeElement; import javax.lang.model.element.VariableElement; @@ -32,7 +31,6 @@ import static io.microsphere.lang.model.util.MemberUtils.getDeclaredMembers; import static javax.lang.model.util.ElementFilter.fieldsIn; import static org.junit.jupiter.api.Assertions.assertEquals; - /** * {@link MemberUtils} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/MessagerUtilsTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/MessagerUtilsTest.java index d0c3e3f26..c9f83bd87 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/MessagerUtilsTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/MessagerUtilsTest.java @@ -20,7 +20,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; - import javax.annotation.processing.Messager; import java.lang.reflect.Method; @@ -31,7 +30,6 @@ import static io.microsphere.lang.model.util.MessagerUtils.printWarning; import static javax.tools.Diagnostic.Kind.OTHER; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; - /** * {@link MessagerUtils} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/MethodUtilsTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/MethodUtilsTest.java index ae8c773c9..e8b591af8 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/MethodUtilsTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/MethodUtilsTest.java @@ -23,7 +23,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; - import javax.lang.model.element.Element; import javax.lang.model.element.ExecutableElement; import javax.lang.model.element.TypeElement; @@ -66,7 +65,6 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link MethodUtils} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitorTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitorTest.java index d6a12e667..30a7a284a 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitorTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/ResolvableAnnotationValueVisitorTest.java @@ -23,7 +23,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; - import javax.lang.model.element.AnnotationValue; import javax.lang.model.element.AnnotationValueVisitor; import javax.lang.model.element.ExecutableElement; @@ -42,7 +41,6 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * {@link ResolvableAnnotationValueVisitor} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/TypeUtilsTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/TypeUtilsTest.java index 75d940e1e..fdba82659 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/TypeUtilsTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/TypeUtilsTest.java @@ -27,7 +27,6 @@ import io.microsphere.test.service.TestService; import io.microsphere.test.service.TestServiceImpl; import org.junit.jupiter.api.Test; - import javax.lang.model.element.Element; import javax.lang.model.element.TypeElement; import javax.lang.model.type.DeclaredType; @@ -106,7 +105,6 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; - /** * The {@link TypeUtils} Test * diff --git a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/UtilTest.java b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/UtilTest.java index 3ce25a81a..0c63dd52f 100644 --- a/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/UtilTest.java +++ b/microsphere-lang-model/src/test/java/io/microsphere/lang/model/util/UtilTest.java @@ -21,7 +21,6 @@ import io.microsphere.test.service.TestServiceImpl; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; - import javax.lang.model.element.Element; import javax.lang.model.element.ExecutableElement; import javax.lang.model.element.TypeElement; @@ -37,7 +36,6 @@ import static io.microsphere.lang.model.util.MethodUtils.findMethod; import static java.util.Collections.emptyList; import static org.junit.jupiter.api.Assertions.assertSame; - /** * The utilies class for testing * From abbbbcf7a7d6d5da464c5346cda179474378e86a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 30 May 2026 04:38:11 +0000 Subject: [PATCH 5/6] Restore blank lines between import sections in all Java files --- ...figurationPropertyAnnotationProcessor.java | 10 +++--- ...nfigurationPropertyJSONElementVisitor.java | 8 +++-- .../annotation/processor/FilerProcessor.java | 6 ++-- .../processor/ResourceProcessor.java | 10 +++--- ...rationPropertyAnnotationProcessorTest.java | 4 ++- ...urationPropertyJSONElementVisitorTest.java | 6 ++-- .../processor/FilerProcessorTest.java | 10 +++--- .../processor/ResourceProcessorTest.java | 10 +++--- .../TestConfigurationPropertyLoader.java | 6 ++-- .../annotation/ConfigurationProperty.java | 3 +- .../microsphere/annotation/Experimental.java | 3 +- .../io/microsphere/annotation/Immutable.java | 3 +- .../io/microsphere/annotation/Nonnull.java | 5 +-- .../io/microsphere/annotation/Nullable.java | 5 +-- .../java/io/microsphere/annotation/Since.java | 3 +- .../annotation/concurrent/NotThreadSafe.java | 5 +-- .../annotation/concurrent/ThreadSafe.java | 5 +-- .../annotation/ConfigurationPropertyTest.java | 3 +- .../annotation/ExperimentalTest.java | 3 +- .../microsphere/annotation/ImmutableTest.java | 3 +- .../microsphere/annotation/NonnullTest.java | 3 +- .../microsphere/annotation/NullableTest.java | 3 +- .../io/microsphere/annotation/SinceTest.java | 3 +- .../io/microsphere/beans/BeanMetadata.java | 4 ++- .../io/microsphere/beans/BeanProperty.java | 4 ++- .../java/io/microsphere/beans/BeanUtils.java | 4 ++- .../beans/ConfigurationProperty.java | 4 ++- .../AbstractArtifactResourceResolver.java | 3 +- .../AbstractURLClassPathHandle.java | 4 ++- .../ArchiveFileArtifactResourceResolver.java | 3 +- .../io/microsphere/classloading/Artifact.java | 4 ++- .../classloading/ArtifactDetector.java | 4 ++- .../ArtifactResourceResolver.java | 4 ++- .../BannedArtifactClassLoadingExecutor.java | 4 ++- .../ClassicURLClassPathHandle.java | 2 +- .../ManifestArtifactResourceResolver.java | 4 ++- .../classloading/MavenArtifact.java | 4 ++- .../MavenArtifactResourceResolver.java | 3 +- .../ModernURLClassPathHandle.java | 2 +- .../classloading/NoOpURLClassPathHandle.java | 3 +- .../ServiceLoadingURLClassPathHandle.java | 3 +- .../StreamArtifactResourceResolver.java | 4 ++- .../classloading/URLClassPathHandle.java | 4 ++- .../microsphere/collection/AbstractDeque.java | 3 +- .../collection/ArrayEnumeration.java | 3 +- .../io/microsphere/collection/ArrayStack.java | 3 +- .../collection/CollectionUtils.java | 4 ++- .../microsphere/collection/DefaultEntry.java | 3 +- .../collection/DelegatingDeque.java | 3 +- .../collection/DelegatingIterator.java | 4 ++- .../collection/DelegatingQueue.java | 4 ++- .../io/microsphere/collection/EmptyDeque.java | 4 ++- .../microsphere/collection/EmptyIterable.java | 3 +- .../microsphere/collection/EmptyIterator.java | 4 ++- .../EnumerationIteratorAdapter.java | 3 +- .../collection/EnumerationUtils.java | 4 ++- .../collection/ImmutableEntry.java | 4 ++- .../collection/IterableAdapter.java | 3 +- .../io/microsphere/collection/Iterators.java | 4 ++- .../io/microsphere/collection/ListUtils.java | 4 ++- .../java/io/microsphere/collection/Lists.java | 4 ++- .../io/microsphere/collection/MapUtils.java | 4 ++- .../java/io/microsphere/collection/Maps.java | 4 ++- .../collection/PropertiesUtils.java | 4 ++- .../io/microsphere/collection/QueueUtils.java | 4 ++- .../collection/ReadOnlyIterator.java | 4 ++- .../microsphere/collection/ReversedDeque.java | 3 +- .../io/microsphere/collection/SetUtils.java | 4 ++- .../java/io/microsphere/collection/Sets.java | 4 ++- .../collection/SingletonDeque.java | 4 ++- .../collection/SingletonEnumeration.java | 4 ++- .../collection/SingletonIterator.java | 4 ++- .../collection/UnmodifiableDeque.java | 4 ++- .../collection/UnmodifiableIterator.java | 4 ++- .../collection/UnmodifiableQueue.java | 4 ++- .../concurrent/CustomizedThreadFactory.java | 3 +- .../concurrent/DelegatingBlockingQueue.java | 4 ++- .../DelegatingScheduledExecutorService.java | 3 +- .../microsphere/concurrent/ExecutorUtils.java | 4 ++- .../io/microsphere/constants/Constants.java | 2 +- .../microsphere/constants/FileConstants.java | 3 +- .../microsphere/constants/PathConstants.java | 2 +- .../constants/PropertyConstants.java | 2 +- .../constants/ProtocolConstants.java | 3 +- .../constants/ResourceConstants.java | 3 +- .../constants/SeparatorConstants.java | 3 +- .../constants/SymbolConstants.java | 2 +- .../convert/AbstractConverter.java | 4 ++- .../convert/ByteArrayToObjectConverter.java | 4 ++- .../io/microsphere/convert/Converter.java | 3 +- .../io/microsphere/convert/Converters.java | 4 ++- .../convert/MapToPropertiesConverter.java | 3 +- .../convert/NumberToByteConverter.java | 2 +- .../convert/NumberToCharacterConverter.java | 3 +- .../convert/NumberToDoubleConverter.java | 2 +- .../convert/NumberToFloatConverter.java | 2 +- .../convert/NumberToIntegerConverter.java | 2 +- .../convert/NumberToLongConverter.java | 2 +- .../convert/NumberToShortConverter.java | 2 +- .../convert/ObjectToBooleanConverter.java | 3 +- .../convert/ObjectToByteArrayConverter.java | 4 ++- .../convert/ObjectToByteConverter.java | 3 +- .../convert/ObjectToCharacterConverter.java | 3 +- .../convert/ObjectToDoubleConverter.java | 3 +- .../convert/ObjectToFloatConverter.java | 3 +- .../convert/ObjectToIntegerConverter.java | 3 +- .../convert/ObjectToLongConverter.java | 3 +- .../convert/ObjectToOptionalConverter.java | 3 +- .../convert/ObjectToShortConverter.java | 3 +- .../convert/ObjectToStringConverter.java | 2 +- .../convert/PropertiesToStringConverter.java | 3 +- .../microsphere/convert/StringConverter.java | 2 +- .../convert/StringToBooleanConverter.java | 3 +- .../convert/StringToByteConverter.java | 3 +- .../convert/StringToCharArrayConverter.java | 2 +- .../convert/StringToCharacterConverter.java | 3 +- .../convert/StringToClassConverter.java | 3 +- .../convert/StringToDoubleConverter.java | 3 +- .../convert/StringToDurationConverter.java | 3 +- .../convert/StringToFloatConverter.java | 3 +- .../convert/StringToInputStreamConverter.java | 4 ++- .../convert/StringToIntegerConverter.java | 3 +- .../convert/StringToLongConverter.java | 3 +- .../convert/StringToShortConverter.java | 3 +- .../convert/StringToStringConverter.java | 3 +- .../convert/multiple/MultiValueConverter.java | 4 ++- .../multiple/StringToArrayConverter.java | 3 +- .../StringToBlockingDequeConverter.java | 3 +- .../StringToBlockingQueueConverter.java | 3 +- .../multiple/StringToCollectionConverter.java | 3 +- .../multiple/StringToDequeConverter.java | 3 +- .../multiple/StringToIterableConverter.java | 4 ++- .../multiple/StringToListConverter.java | 3 +- .../multiple/StringToMultiValueConverter.java | 3 +- .../StringToNavigableSetConverter.java | 3 +- .../multiple/StringToQueueConverter.java | 3 +- .../multiple/StringToSetConverter.java | 3 +- .../multiple/StringToSortedSetConverter.java | 3 +- .../StringToTransferQueueConverter.java | 3 +- .../event/AbstractEventDispatcher.java | 4 ++- .../event/ConditionalEventListener.java | 2 +- .../event/DirectEventDispatcher.java | 3 +- .../main/java/io/microsphere/event/Event.java | 3 +- .../io/microsphere/event/EventDispatcher.java | 3 +- .../io/microsphere/event/EventListener.java | 4 ++- .../io/microsphere/event/GenericEvent.java | 2 +- .../event/GenericEventListener.java | 4 ++- .../java/io/microsphere/event/Listenable.java | 4 ++- .../event/ParallelEventDispatcher.java | 3 +- .../filter/ClassFileJarEntryFilter.java | 3 +- .../io/microsphere/filter/ClassFilter.java | 2 +- .../java/io/microsphere/filter/Filter.java | 3 +- .../io/microsphere/filter/FilterOperator.java | 3 +- .../io/microsphere/filter/FilterUtils.java | 4 ++- .../io/microsphere/filter/JarEntryFilter.java | 3 +- .../filter/PackageNameClassFilter.java | 3 +- .../filter/PackageNameClassNameFilter.java | 3 +- .../microsphere/filter/TrueClassFilter.java | 2 +- .../microsphere/invoke/MethodHandleUtils.java | 6 ++-- .../invoke/MethodHandlesLookupUtils.java | 4 ++- .../microsphere/io/DefaultDeserializer.java | 3 +- .../io/microsphere/io/DefaultSerializer.java | 3 +- .../java/io/microsphere/io/Deserializer.java | 3 +- .../java/io/microsphere/io/Deserializers.java | 4 ++- .../io/FastByteArrayInputStream.java | 3 +- .../io/FastByteArrayOutputStream.java | 3 +- .../java/io/microsphere/io/FileUtils.java | 4 ++- .../io/microsphere/io/FileWatchService.java | 4 ++- .../main/java/io/microsphere/io/IOUtils.java | 4 ++- .../java/io/microsphere/io/Serializer.java | 3 +- .../java/io/microsphere/io/Serializers.java | 4 ++- .../io/StandardFileWatchService.java | 6 ++-- .../microsphere/io/StringBuilderWriter.java | 3 +- .../io/microsphere/io/StringDeserializer.java | 3 +- .../io/microsphere/io/StringSerializer.java | 3 +- .../io/event/FileChangedEvent.java | 4 ++- .../io/event/FileChangedListener.java | 3 +- .../io/event/LoggingFileChangedListener.java | 3 +- .../io/filter/DirectoryFileFilter.java | 3 +- .../io/filter/FileExtensionFilter.java | 4 ++- .../microsphere/io/filter/IOFileFilter.java | 4 ++- .../microsphere/io/filter/NameFileFilter.java | 3 +- .../microsphere/io/filter/TrueFileFilter.java | 3 +- .../io/microsphere/io/scanner/Scanner.java | 4 ++- .../io/scanner/SimpleClassScanner.java | 4 ++- .../io/scanner/SimpleFileScanner.java | 4 ++- .../io/scanner/SimpleJarEntryScanner.java | 4 ++- .../main/java/io/microsphere/json/JSON.java | 3 +- .../java/io/microsphere/json/JSONArray.java | 4 ++- .../io/microsphere/json/JSONException.java | 2 +- .../java/io/microsphere/json/JSONObject.java | 4 ++- .../io/microsphere/json/JSONStringer.java | 3 +- .../java/io/microsphere/json/JSONTokener.java | 3 +- .../java/io/microsphere/json/JSONUtils.java | 6 ++-- .../io/microsphere/json/package-info.java | 2 +- .../microsphere/lang/ClassDataRepository.java | 6 ++-- .../microsphere/lang/DelegatingWrapper.java | 3 +- .../java/io/microsphere/lang/Deprecation.java | 4 ++- .../io/microsphere/lang/MutableInteger.java | 2 +- .../java/io/microsphere/lang/Prioritized.java | 3 +- .../java/io/microsphere/lang/Wrapper.java | 2 +- .../io/microsphere/lang/WrapperProcessor.java | 2 +- .../microsphere/lang/function/Predicates.java | 4 ++- .../io/microsphere/lang/function/Streams.java | 4 ++- .../lang/function/ThrowableAction.java | 3 +- .../lang/function/ThrowableBiConsumer.java | 3 +- .../lang/function/ThrowableBiFunction.java | 3 +- .../lang/function/ThrowableConsumer.java | 3 +- .../lang/function/ThrowableFunction.java | 3 +- .../lang/function/ThrowableSupplier.java | 3 +- .../microsphere/logging/ACLLoggerFactory.java | 2 +- .../microsphere/logging/AbstractLogger.java | 3 +- .../microsphere/logging/JDKLoggerFactory.java | 4 ++- .../java/io/microsphere/logging/Logger.java | 2 +- .../io/microsphere/logging/LoggerFactory.java | 4 ++- .../io/microsphere/logging/NoOpLogger.java | 3 +- .../logging/NoOpLoggerFactory.java | 2 +- .../logging/Sfl4jLoggerFactory.java | 3 +- .../io/microsphere/management/JmxUtils.java | 4 ++- .../management/MBeanAttribute.java | 4 ++- .../management/ManagementUtils.java | 4 ++- .../builder/MBeanAttributeInfoBuilder.java | 4 ++- .../builder/MBeanConstructorInfoBuilder.java | 5 +-- .../builder/MBeanDescribableBuilder.java | 4 ++- .../builder/MBeanExecutableInfoBuilder.java | 10 +++--- .../builder/MBeanFeatureInfoBuilder.java | 4 ++- .../management/builder/MBeanInfoBuilder.java | 14 ++++---- .../builder/MBeanNotificationInfoBuilder.java | 6 ++-- .../builder/MBeanOperationInfoBuilder.java | 6 ++-- .../builder/MBeanParameterInfoBuilder.java | 8 +++-- ...taResourceConfigurationPropertyLoader.java | 3 +- ...thResourceConfigurationPropertyLoader.java | 4 ++- .../ConfigurationPropertyGenerator.java | 4 ++- .../metadata/ConfigurationPropertyLoader.java | 4 ++- .../metadata/ConfigurationPropertyReader.java | 4 ++- ...DefaultConfigurationPropertyGenerator.java | 6 ++-- .../DefaultConfigurationPropertyReader.java | 6 ++-- ...taResourceConfigurationPropertyLoader.java | 3 +- ...lectiveConfigurationPropertyGenerator.java | 3 +- .../java/io/microsphere/misc/UnsafeUtils.java | 2 +- ...positeSubProtocolURLConnectionFactory.java | 4 ++- .../net/CompositeURLStreamHandlerFactory.java | 4 ++- .../net/DelegatingURLConnection.java | 3 +- .../DelegatingURLStreamHandlerFactory.java | 3 +- .../ExtendableProtocolURLStreamHandler.java | 4 ++- .../net/MutableURLStreamHandlerFactory.java | 3 +- .../ServiceLoaderURLStreamHandlerFactory.java | 4 ++- .../net/StandardURLStreamHandlerFactory.java | 4 ++- .../net/SubProtocolURLConnectionFactory.java | 3 +- .../java/io/microsphere/net/URLUtils.java | 4 ++- .../io/microsphere/net/classpath/Handler.java | 4 ++- .../net/console/ConsoleURLConnection.java | 3 +- .../io/microsphere/net/console/Handler.java | 4 ++- .../microsphere/nio/charset/CharsetUtils.java | 4 ++- .../process/ClassicProcessIdResolver.java | 3 +- .../process/ModernProcessIdResolver.java | 3 +- .../microsphere/process/ProcessExecutor.java | 4 ++- .../process/ProcessIdResolver.java | 3 +- .../microsphere/process/ProcessManager.java | 4 ++- .../VirtualMachineProcessIdResolver.java | 4 ++- .../reflect/AccessibleObjectUtils.java | 4 ++- .../microsphere/reflect/ClassDefinition.java | 3 +- .../reflect/ConstructorDefinition.java | 4 ++- .../microsphere/reflect/ConstructorUtils.java | 4 ++- .../reflect/ExecutableDefinition.java | 4 ++- .../microsphere/reflect/ExecutableUtils.java | 4 ++- .../microsphere/reflect/FieldDefinition.java | 4 ++- .../io/microsphere/reflect/FieldUtils.java | 4 ++- .../java/io/microsphere/reflect/JavaType.java | 4 ++- .../microsphere/reflect/MemberDefinition.java | 4 ++- .../io/microsphere/reflect/MemberUtils.java | 4 ++- .../microsphere/reflect/MethodDefinition.java | 4 ++- .../io/microsphere/reflect/MethodUtils.java | 4 ++- .../java/io/microsphere/reflect/Modifier.java | 2 +- .../io/microsphere/reflect/MultipleType.java | 4 ++- .../io/microsphere/reflect/ProxyUtils.java | 4 ++- .../microsphere/reflect/ReflectionUtils.java | 4 ++- .../reflect/ReflectiveDefinition.java | 4 ++- .../io/microsphere/reflect/TypeUtils.java | 4 ++- .../generics/ParameterizedTypeImpl.java | 3 +- .../reflect/generics/TypeArgument.java | 3 +- .../microsphere/security/SecurityUtils.java | 4 ++- .../java/io/microsphere/text/FormatUtils.java | 3 +- .../io/microsphere/util/AnnotationUtils.java | 4 ++- .../java/io/microsphere/util/ArrayUtils.java | 4 ++- .../main/java/io/microsphere/util/Assert.java | 4 ++- .../java/io/microsphere/util/BaseUtils.java | 2 +- .../util/CharSequenceComparator.java | 3 +- .../microsphere/util/CharSequenceUtils.java | 3 +- .../io/microsphere/util/ClassLoaderUtils.java | 4 ++- .../io/microsphere/util/ClassPathUtils.java | 4 ++- .../java/io/microsphere/util/ClassUtils.java | 4 ++- .../java/io/microsphere/util/Compatible.java | 4 ++- .../java/io/microsphere/util/Configurer.java | 4 ++- .../io/microsphere/util/ExceptionUtils.java | 4 ++- .../java/io/microsphere/util/Functional.java | 3 +- .../util/HierarchicalClassComparator.java | 3 +- .../io/microsphere/util/IterableUtils.java | 4 ++- .../java/io/microsphere/util/NumberUtils.java | 2 +- .../java/io/microsphere/util/ObjectUtils.java | 4 ++- .../microsphere/util/PriorityComparator.java | 3 +- .../util/PropertyResourceBundleControl.java | 3 +- .../util/PropertyResourceBundleUtils.java | 4 ++- .../microsphere/util/ServiceLoaderUtils.java | 4 ++- .../util/ShutdownHookCallbacksThread.java | 3 +- .../microsphere/util/ShutdownHookUtils.java | 4 ++- .../io/microsphere/util/StackTraceUtils.java | 3 +- .../java/io/microsphere/util/StopWatch.java | 3 +- .../java/io/microsphere/util/StringUtils.java | 4 ++- .../java/io/microsphere/util/SystemUtils.java | 4 ++- .../io/microsphere/util/ThrowableUtils.java | 2 +- .../java/io/microsphere/util/TypeFinder.java | 4 ++- .../main/java/io/microsphere/util/Utils.java | 2 +- .../java/io/microsphere/util/ValueHolder.java | 3 +- .../java/io/microsphere/util/Version.java | 4 ++- .../io/microsphere/util/VersionUtils.java | 3 +- .../io/microsphere/util/jar/JarUtils.java | 4 ++- .../java/io/microsphere/AbstractTestCase.java | 6 ++-- .../java/io/microsphere/JSONTestUtils.java | 3 +- .../test/java/io/microsphere/Loggable.java | 3 +- .../test/java/io/microsphere/LoggingTest.java | 3 +- .../microsphere/beans/BeanMetadataTest.java | 8 +++-- .../microsphere/beans/BeanPropertyTest.java | 3 +- .../io/microsphere/beans/BeanUtilsTest.java | 6 ++-- .../beans/ConfigurationPropertyTest.java | 4 ++- .../AbstractArtifactResourceResolverTest.java | 10 +++--- .../AbstractURLClassPathHandleTest.java | 3 +- ...chiveFileArtifactResourceResolverTest.java | 5 +-- .../classloading/ArtifactDetectorTest.java | 8 +++-- .../classloading/ArtifactTest.java | 5 +-- ...annedArtifactClassLoadingExecutorTest.java | 5 +-- .../BaseURLClassPathHandleTest.java | 6 ++-- .../ClassicURLClassPathHandleTest.java | 5 +-- .../ErrorArtifactResourceResolver.java | 3 +- .../ErrorArtifactResourceResolverTest.java | 3 +- .../ManifestArtifactResourceResolverTest.java | 5 +-- .../MavenArtifactResourceResolverTest.java | 3 +- .../classloading/MavenArtifactTest.java | 5 +-- .../ModernURLClassPathHandleTest.java | 3 +- .../NoOpURLClassPathHandleTest.java | 3 +- .../ServiceLoadingURLClassPathHandleTest.java | 7 ++-- .../StreamArtifactResourceResolverTest.java | 5 +-- .../classloading/URLClassPathHandleTest.java | 5 +-- .../collection/AbstractDequeTest.java | 7 ++-- .../collection/AbstractEnumerationTest.java | 7 ++-- .../collection/ArrayEnumerationTest.java | 3 +- .../collection/ArrayStackTest.java | 5 +-- .../collection/CollectionUtilsTest.java | 4 ++- .../collection/DefaultEntryTest.java | 3 +- .../collection/DelegatingDequeTest.java | 5 +-- .../collection/DelegatingIteratorTest.java | 9 ++--- .../collection/DelegatingQueueTest.java | 5 +-- .../collection/EmptyDequeTest.java | 5 +-- .../collection/EmptyIterableTest.java | 3 +- .../collection/EmptyIteratorTest.java | 5 +-- .../collection/EmptyQueueTest.java | 5 +-- .../EnumerationIteratorAdapterTest.java | 3 +- .../collection/EnumerationUtilsTest.java | 5 +-- .../collection/ImmutableEntryTest.java | 3 +- .../collection/IterableAdapterTest.java | 5 +-- .../microsphere/collection/IteratorsTest.java | 5 +-- .../collection/LinkedListTest.java | 3 +- .../microsphere/collection/ListUtilsTest.java | 6 ++-- .../collection/ListsBenchmark.java | 3 +- .../io/microsphere/collection/ListsTest.java | 9 ++--- .../microsphere/collection/MapUtilsTest.java | 5 +-- .../io/microsphere/collection/MapsTest.java | 9 ++--- .../collection/MutableCollectionTest.java | 7 ++-- .../collection/MutableDequeTest.java | 5 +-- .../collection/MutableQueueTest.java | 5 +-- .../collection/PropertiesUtilsTest.java | 5 +-- .../collection/QueueUtilsTest.java | 5 +-- .../collection/ReadOnlyIteratorTest.java | 6 ++-- .../collection/ReversedDequeTest.java | 5 +-- .../microsphere/collection/SetUtilsTest.java | 3 +- .../io/microsphere/collection/SetsTest.java | 9 ++--- .../collection/SingletonDequeTest.java | 5 +-- .../collection/SingletonEnumerationTest.java | 3 +- .../collection/SingletonIteratorTest.java | 3 +- .../io/microsphere/collection/TestDeque.java | 3 +- .../collection/UnmodifiableDequeTest.java | 3 +- .../collection/UnmodifiableIteratorTest.java | 3 +- .../collection/UnmodifiableQueueTest.java | 3 +- .../CustomizedThreadFactoryTest.java | 5 +-- .../DelegatingBlockingQueueTest.java | 4 ++- ...elegatingScheduledExecutorServiceTest.java | 6 ++-- .../concurrent/ExecutorUtilsTest.java | 10 +++--- .../microsphere/constants/ConstantsTest.java | 3 +- .../constants/FileConstantsTest.java | 3 +- .../constants/PathConstantsTest.java | 3 +- .../constants/PropertyConstantsTest.java | 3 +- .../constants/ProtocolConstantsTest.java | 3 +- .../constants/ResourceConstantsTest.java | 3 +- .../constants/SeparatorConstantsTest.java | 3 +- .../constants/SymbolConstantsTest.java | 3 +- .../convert/AbstractConverterTest.java | 3 +- .../convert/BaseConverterTest.java | 4 ++- .../ByteArrayToObjectConverterTest.java | 3 +- .../io/microsphere/convert/ConverterTest.java | 5 +-- .../convert/MapToPropertiesConverterTest.java | 5 +-- .../convert/NumberToByteConverterTest.java | 3 +- .../NumberToCharacterConverterTest.java | 3 +- .../convert/NumberToDoubleConverterTest.java | 3 +- .../convert/NumberToFloatConverterTest.java | 3 +- .../convert/NumberToIntegerConverterTest.java | 3 +- .../convert/NumberToLongConverterTest.java | 3 +- .../convert/NumberToShortConverterTest.java | 3 +- .../convert/ObjectToBooleanConverterTest.java | 3 +- .../ObjectToByteArrayConverterTest.java | 4 ++- .../convert/ObjectToByteConverterTest.java | 3 +- .../ObjectToCharacterConverterTest.java | 3 +- .../convert/ObjectToDoubleConverterTest.java | 3 +- .../convert/ObjectToFloatConverterTest.java | 3 +- .../convert/ObjectToIntegerConverterTest.java | 3 +- .../convert/ObjectToLongConverterTest.java | 3 +- .../ObjectToOptionalConverterTest.java | 5 +-- .../convert/ObjectToShortConverterTest.java | 3 +- .../convert/ObjectToStringConverterTest.java | 3 +- .../PropertiesToStringConverterTest.java | 5 +-- .../convert/StringToBooleanConverterTest.java | 3 +- .../convert/StringToByteConverterTest.java | 3 +- .../StringToCharArrayConverterTest.java | 3 +- .../StringToCharacterConverterTest.java | 3 +- .../convert/StringToClassConverterTest.java | 3 +- .../convert/StringToDoubleConverterTest.java | 3 +- .../StringToDurationConverterTest.java | 3 +- .../convert/StringToFloatConverterTest.java | 3 +- .../StringToInputStreamConverterTest.java | 4 ++- .../convert/StringToIntegerConverterTest.java | 3 +- .../convert/StringToLongConverterTest.java | 3 +- .../convert/StringToShortConverterTest.java | 3 +- .../convert/StringToStringConverterTest.java | 3 +- .../multiple/MultiValueConverterTest.java | 5 +-- .../multiple/StringToArrayConverterTest.java | 3 +- .../StringToBlockingDequeConverterTest.java | 8 +++-- .../StringToBlockingQueueConverterTest.java | 8 +++-- .../StringToCollectionConverterTest.java | 7 ++-- .../multiple/StringToDequeConverterTest.java | 8 +++-- .../StringToIterableConverterTest.java | 8 +++-- .../multiple/StringToListConverterTest.java | 8 +++-- .../StringToMultiValueConverterTest.java | 3 +- .../StringToNavigableSetConverterTest.java | 8 +++-- .../multiple/StringToQueueConverterTest.java | 8 +++-- .../multiple/StringToSetConverterTest.java | 8 +++-- .../StringToSortedSetConverterTest.java | 8 +++-- .../StringToTransferQueueConverterTest.java | 8 +++-- .../event/AbstractEventDispatcherTest.java | 7 ++-- .../event/AbstractEventListener.java | 4 ++- .../event/ConditionalEventListenerTest.java | 3 +- .../event/DirectEventDispatcherTest.java | 3 +- .../java/io/microsphere/event/EchoEvent.java | 2 +- .../microsphere/event/EchoEventListener.java | 3 +- .../microsphere/event/EchoEventListener2.java | 3 +- .../event/EventDispatcherTest.java | 5 +-- .../microsphere/event/EventListenerTest.java | 3 +- .../event/GenericEventListenerTest.java | 3 +- .../microsphere/event/GenericEventTest.java | 5 +-- .../io/microsphere/event/ListenableTest.java | 3 +- .../event/ParallelEventDispatcherTest.java | 5 +-- .../filter/ClassFileJarEntryFilterTest.java | 5 +-- .../filter/FilterOperatorTest.java | 3 +- .../io/microsphere/filter/FilterTest.java | 3 +- .../microsphere/filter/FilterUtilsTest.java | 5 +-- .../filter/PackageNameClassFilterTest.java | 3 +- .../PackageNameClassNameFilterTest.java | 3 +- .../filter/TrueClassFilterTest.java | 3 +- .../invoke/MethodHandleUtilsBenchmark.java | 7 ++-- .../invoke/MethodHandleUtilsTest.java | 6 ++-- .../invoke/MethodHandlesLookupUtilsTest.java | 6 ++-- .../io/DefaultDeserializerTest.java | 5 +-- .../DefaultSerializerAndDeserializerTest.java | 5 +-- .../io/microsphere/io/DeserializersTest.java | 3 +- .../io/FastByteArrayInputStreamTest.java | 7 ++-- .../io/FastByteArrayOutputStreamTest.java | 5 +-- .../java/io/microsphere/io/FileUtilsTest.java | 6 ++-- .../microsphere/io/FileWatchServiceTest.java | 6 ++-- .../java/io/microsphere/io/IOUtilsTest.java | 10 +++--- .../io/SerializersAndDeserializersTest.java | 7 ++-- .../io/microsphere/io/SerializersTest.java | 3 +- .../io/StandardFileWatchServiceTest.java | 14 ++++---- .../io/StringBuilderWriterTest.java | 3 +- .../StringSerializerAndDeserializerTest.java | 5 +-- .../io/event/DefaultFileChangedListener.java | 2 +- .../io/event/FileChangedEventTest.java | 5 +-- .../io/event/FileChangedListenerTest.java | 8 +++-- .../event/LoggingFileChangedListenerTest.java | 7 ++-- .../io/filter/DirectoryFileFilterTest.java | 5 +-- .../io/filter/FileExtensionFilterTest.java | 7 ++-- .../io/filter/IOFileFilterTest.java | 5 +-- .../io/filter/NameFileFilterTest.java | 5 +-- .../io/filter/TrueFileFilterTest.java | 3 +- .../io/scanner/SimpleClassScannerTest.java | 8 +++-- .../io/scanner/SimpleFileScannerTest.java | 6 ++-- .../io/scanner/SimpleJarEntryScannerTest.java | 8 +++-- .../io/microsphere/json/JSONArrayTest.java | 7 ++-- .../microsphere/json/JSONExceptionTest.java | 3 +- .../io/microsphere/json/JSONObjectTest.java | 3 +- .../io/microsphere/json/JSONStringerTest.java | 3 +- .../java/io/microsphere/json/JSONTest.java | 3 +- .../io/microsphere/json/JSONTokenerTest.java | 3 +- .../io/microsphere/json/JSONUtilsTest.java | 8 +++-- .../UtilsTestBeforeAllExtension.java | 6 ++-- .../annotation/UtilsTestExtension.java | 6 ++-- .../lang/ClassDataRepositoryTest.java | 8 +++-- .../lang/DelegatingWrapperImpl.java | 2 +- .../lang/DelegatingWrapperTest.java | 3 +- .../io/microsphere/lang/DeprecationTest.java | 4 ++- .../microsphere/lang/MutableIntegerTest.java | 3 +- .../io/microsphere/lang/PrioritizedTest.java | 3 +- .../java/io/microsphere/lang/WrapperTest.java | 3 +- .../lang/function/PredicatesTest.java | 5 +-- .../lang/function/StreamsTest.java | 5 +-- .../lang/function/ThrowableActionTest.java | 4 ++- .../function/ThrowableBiConsumerTest.java | 4 ++- .../function/ThrowableBiFunctionTest.java | 3 +- .../lang/function/ThrowableConsumerTest.java | 3 +- .../lang/function/ThrowableFunctionTest.java | 3 +- .../lang/function/ThrowableSupplierTest.java | 3 +- .../logging/ACLLoggerFactoryTest.java | 2 +- .../logging/AbstractLoggerTest.java | 3 +- .../logging/JDKLoggerFactoryTest.java | 5 +-- .../logging/LoggerFactoryTest.java | 7 ++-- .../logging/NoDelegateLoggerFactory.java | 2 +- .../logging/NoOpLoggerFactoryTest.java | 5 +-- .../microsphere/logging/NoOpLoggerTest.java | 2 +- .../logging/Sfl4jLoggerFactoryTest.java | 2 +- .../microsphere/management/CacheControl.java | 2 +- .../management/CacheControlMBean.java | 2 +- .../microsphere/management/JmxUtilsTest.java | 19 +++++----- .../management/MBeanAttributeTest.java | 11 +++--- .../management/ManagementUtilsTest.java | 3 +- .../java/io/microsphere/management/Units.java | 5 +-- .../AbstractMBeanDescribableBuilderTest.java | 5 +-- .../AbstractMBeanFeatureInfoBuilderTest.java | 5 +-- .../MBeanAttributeInfoBuilderTest.java | 5 +-- .../MBeanConstructorInfoBuilderTest.java | 7 ++-- .../builder/MBeanFeatureInfoBuilderTest.java | 2 +- .../builder/MBeanInfoBuilderTest.java | 14 ++++---- .../MBeanNotificationInfoBuilderTest.java | 5 +-- .../MBeanOperationInfoBuilderTest.java | 8 +++-- .../MBeanParameterInfoBuilderTest.java | 3 +- ...sourceConfigurationPropertyLoaderTest.java | 6 ++-- ...sourceConfigurationPropertyLoaderTest.java | 6 ++-- ...ConfigurationPropertiesJSONReaderTest.java | 8 +++-- .../ConfigurationPropertyLoaderTest.java | 6 ++-- ...ultConfigurationPropertyGeneratorTest.java | 6 ++-- .../DefaultConfigurationPropertyLoader.java | 4 ++- ...efaultConfigurationPropertyReaderTest.java | 8 +++-- .../EmptyConfigurationPropertyLoader.java | 4 ++- .../ErrorConfigurationPropertyLoader.java | 4 ++- ...sourceConfigurationPropertyLoaderTest.java | 6 ++-- .../NullConfigurationPropertyLoader.java | 4 ++- ...iveConfigurationPropertyGeneratorTest.java | 4 ++- .../io/microsphere/misc/UnsafeUtilTest.java | 2 +- ...xtendableProtocolURLStreamHandlerTest.java | 3 +- ...teSubProtocolURLConnectionFactoryTest.java | 8 +++-- .../CompositeURLStreamHandlerFactoryTest.java | 7 ++-- ...onsoleSubProtocolURLConnectionFactory.java | 4 ++- .../net/DelegatingURLConnectionTest.java | 9 ++--- ...DelegatingURLStreamHandlerFactoryTest.java | 3 +- ...xtendableProtocolURLStreamHandlerTest.java | 4 ++- .../FalseSubProtocolURLConnectionFactory.java | 3 +- .../MutableURLStreamHandlerFactoryTest.java | 3 +- .../NullSubProtocolURLConnectionFactory.java | 3 +- ...viceLoaderURLStreamHandlerFactoryTest.java | 10 +++--- .../StandardURLStreamHandlerFactoryTest.java | 4 ++- .../SubProtocolURLConnectionFactoryTest.java | 6 ++-- .../java/io/microsphere/net/URLUtilsTest.java | 12 ++++--- .../net/classpath/HandlerTest.java | 6 ++-- .../net/console/ConsoleURLConnectionTest.java | 7 ++-- .../microsphere/net/console/HandlerTest.java | 4 ++- .../java/io/microsphere/net/test/Handler.java | 3 +- .../io/microsphere/net/test/HandlerTest.java | 4 ++- .../nio/charset/CharsetUtilsTest.java | 3 +- .../performance/AbstractPerformanceTest.java | 4 ++- .../performance/PerformanceAction.java | 2 +- .../process/ClassicProcessIdResolverTest.java | 4 ++- .../process/ModernProcessIdResolverTest.java | 4 ++- .../process/ProcessExecutorTest.java | 8 +++-- .../process/ProcessManagerTest.java | 8 +++-- .../VirtualMachineProcessIdResolverTest.java | 4 ++- .../AbstractExecutableDefinitionTest.java | 3 +- .../reflect/AbstractJavaTypeKindTest.java | 2 +- .../reflect/AbstractJavaTypeTest.java | 11 +++--- .../reflect/AbstractMemberDefinitionTest.java | 3 +- .../AbstractReflectiveDefinitionTest.java | 8 +++-- .../reflect/AccessibleObjectUtilsTest.java | 7 ++-- .../reflect/ClassDefinitionTest.java | 3 +- .../reflect/ConstructorDefinitionTest.java | 5 +-- .../reflect/ConstructorUtilsTest.java | 4 ++- .../reflect/ExecutableUtilsTest.java | 5 +-- .../reflect/FieldDefinitionTest.java | 5 +-- .../microsphere/reflect/FieldUtilsTest.java | 8 +++-- .../microsphere/reflect/JavaTypeKindTest.java | 6 ++-- .../reflect/JavaTypeKindTestForClass.java | 6 ++-- .../JavaTypeKindTestForGenericArrayType.java | 6 ++-- .../JavaTypeKindTestForParameterizedType.java | 6 ++-- .../JavaTypeKindTestForTypeVariable.java | 6 ++-- .../reflect/JavaTypeKindTestForUnknown.java | 4 ++- .../JavaTypeKindTestForWildcardType.java | 6 ++-- .../io/microsphere/reflect/JavaTypeTest.java | 8 +++-- .../reflect/JavaTypeTestForClass.java | 4 ++- .../JavaTypeTestForGenericArrayType.java | 4 ++- .../reflect/JavaTypeTestForObjectClass.java | 3 +- .../JavaTypeTestForParameterizedType.java | 4 ++- .../reflect/JavaTypeTestForTypeVariable.java | 4 ++- .../reflect/JavaTypeTestForUnknown.java | 4 ++- .../reflect/JavaTypeTestForWildcardType.java | 4 ++- .../microsphere/reflect/MemberUtilsTest.java | 5 +-- .../reflect/MethodDefinitionTest.java | 5 +-- .../microsphere/reflect/MethodUtilsTest.java | 10 +++--- .../io/microsphere/reflect/ModifierTest.java | 5 +-- .../microsphere/reflect/MultipleTypeTest.java | 3 +- .../microsphere/reflect/ProxyUtilsTest.java | 3 +- .../microsphere/reflect/ReflectionTest.java | 2 +- .../reflect/ReflectionUtilsBenchmark.java | 3 +- .../reflect/ReflectionUtilsTest.java | 6 ++-- .../reflect/ReflectiveDefinitionImpl.java | 3 +- .../reflect/ReflectiveDefinitionTest.java | 5 +-- .../io/microsphere/reflect/TypeUtilsTest.java | 6 ++-- .../generics/ParameterizedTypeImplTest.java | 7 ++-- .../reflect/generics/TypeArgumentTest.java | 3 +- .../security/SecurityUtilsTest.java | 7 ++-- .../security/TestSecurityManager.java | 3 +- .../src/test/java/io/microsphere/test/A.java | 3 +- .../src/test/java/io/microsphere/test/B.java | 2 +- .../test/java/io/microsphere/test/BF3.java | 3 +- .../src/test/java/io/microsphere/test/C.java | 3 +- .../src/test/java/io/microsphere/test/D.java | 2 +- .../test/java/io/microsphere/test/Data.java | 3 +- .../src/test/java/io/microsphere/test/E.java | 3 +- .../microsphere/test/MultipleValueData.java | 4 ++- .../java/io/microsphere/test/MyHashMap.java | 3 +- .../java/io/microsphere/test/StringBF2.java | 2 +- .../test/StringBooleanToInteger.java | 2 +- .../test/StringIntegerBooleanHashMap.java | 2 +- .../io/microsphere/test/StringIntegerF1.java | 2 +- .../test/StringIntegerHashMap.java | 3 +- .../test/StringIntegerToBoolean.java | 2 +- .../test/StringIntegerToBooleanClass.java | 2 +- .../microsphere/test/StringToIntegerF1.java | 2 +- .../io/microsphere/text/FormatUtilsTest.java | 3 +- .../microsphere/util/AnnotationUtilsTest.java | 6 ++-- .../io/microsphere/util/ArrayUtilsTest.java | 6 ++-- .../java/io/microsphere/util/AssertTest.java | 5 +-- .../io/microsphere/util/BaseUtilsTest.java | 3 +- .../util/CharSequenceComparatorTest.java | 3 +- .../util/CharSequenceUtilsTest.java | 3 +- .../util/ClassLoaderUtilsPerformanceTest.java | 4 ++- .../util/ClassLoaderUtilsTest.java | 12 ++++--- .../microsphere/util/ClassPathUtilsTest.java | 6 ++-- .../microsphere/util/ClassUtilsBenchmark.java | 3 +- .../io/microsphere/util/ClassUtilsTest.java | 8 +++-- .../io/microsphere/util/CompatibleTest.java | 3 +- .../io/microsphere/util/ConfigurerTest.java | 3 +- .../microsphere/util/ExceptionUtilsTest.java | 5 +-- .../io/microsphere/util/FunctionalTest.java | 5 +-- .../util/HierarchicalClassComparatorTest.java | 5 +-- .../microsphere/util/IterableUtilsTest.java | 5 +-- .../io/microsphere/util/ObjectUtilsTest.java | 3 +- .../util/PriorityComparatorTest.java | 5 +-- .../PropertyResourceBundleControlTest.java | 5 +-- .../util/PropertyResourceBundleUtilsTest.java | 5 +-- .../io/microsphere/util/ResourceTypeTest.java | 5 +-- .../util/ServiceLoaderUtilsTest.java | 8 +++-- .../util/ShutdownHookCallback.java | 3 +- .../util/ShutdownHookCallbacksThreadTest.java | 4 ++- .../util/ShutdownHookUtilsTest.java | 6 ++-- .../microsphere/util/StackTraceUtilsTest.java | 3 +- .../io/microsphere/util/StopWatchTest.java | 4 ++- .../io/microsphere/util/StringUtilsTest.java | 3 +- .../io/microsphere/util/SystemUtilsTest.java | 12 ++++--- .../microsphere/util/ThrowableUtilsTest.java | 4 ++- .../io/microsphere/util/TypeFinderTest.java | 4 ++- .../io/microsphere/util/ValueHolderTest.java | 3 +- .../microsphere/util/VersionOperatorTest.java | 4 ++- .../java/io/microsphere/util/VersionTest.java | 5 +-- .../io/microsphere/util/VersionUtilsTest.java | 3 +- .../io/microsphere/util/jar/JarUtilsTest.java | 10 +++--- .../test/annotation/TestAnnotation.java | 4 ++- .../AbstractAnnotationProcessingTest.java | 24 +++++++------ .../AnnotationProcessingTestProcessor.java | 13 +++---- .../CompilerInvocationInterceptor.java | 12 ++++--- .../io/microsphere/test/model/Ancestor.java | 3 +- .../test/model/ArrayTypeModel.java | 2 +- .../test/model/CollectionTypeModel.java | 3 +- .../java/io/microsphere/test/model/Color.java | 2 +- .../model/ConfigurationPropertyModel.java | 3 +- .../microsphere/test/model/MapTypeModel.java | 3 +- .../java/io/microsphere/test/model/Model.java | 3 +- .../io/microsphere/test/model/Parent.java | 2 +- .../test/model/PrimitiveTypeModel.java | 2 +- .../test/model/SimpleTypeModel.java | 3 +- .../test/model/StringArrayList.java | 3 +- .../test/service/DefaultTestService.java | 4 ++- .../test/service/GenericTestService.java | 3 +- .../microsphere/test/service/TestService.java | 6 ++-- .../test/service/TestServiceImpl.java | 8 +++-- .../processing/AnnotationProcessingTest.java | 13 +++---- .../microsphere/test/model/AncestorTest.java | 3 +- .../test/model/ArrayTypeModelTest.java | 3 +- .../test/model/CollectionTypeModelTest.java | 7 ++-- .../io/microsphere/test/model/ColorTest.java | 3 +- .../model/ConfigurationPropertyModelTest.java | 4 ++- .../test/model/MapTypeModelTest.java | 7 ++-- .../io/microsphere/test/model/ModelTest.java | 7 ++-- .../io/microsphere/test/model/ParentTest.java | 3 +- .../test/model/PrimitiveTypeModelTest.java | 3 +- .../test/model/SimpleTypeModelTest.java | 7 ++-- .../test/model/StringArrayListTest.java | 7 ++-- .../test/service/DefaultTestServiceTest.java | 6 ++-- .../test/service/GenericTestServiceTest.java | 4 ++- .../test/service/TestServiceImplTest.java | 3 +- .../jdk/tools/compiler/Compiler.java | 16 +++++---- .../jdk/tools/compiler/CompilerTest.java | 11 +++--- .../model/element/StringAnnotationValue.java | 4 ++- .../AnnotatedElementJSONElementVisitor.java | 10 +++--- .../lang/model/util/AnnotationUtils.java | 6 ++-- .../lang/model/util/ClassUtils.java | 4 ++- .../lang/model/util/ConstructorUtils.java | 12 ++++--- .../lang/model/util/ElementUtils.java | 14 ++++---- .../util/ExecutableElementComparator.java | 8 +++-- .../lang/model/util/FieldUtils.java | 8 +++-- .../util/JSONAnnotationValueVisitor.java | 11 +++--- .../lang/model/util/JSONElementVisitor.java | 5 +-- .../lang/model/util/LoggerUtils.java | 3 +- .../lang/model/util/MemberUtils.java | 10 +++--- .../lang/model/util/MessagerUtils.java | 4 ++- .../lang/model/util/MethodUtils.java | 12 ++++--- .../ResolvableAnnotationValueVisitor.java | 5 +-- .../lang/model/util/TypeUtils.java | 16 +++++---- .../element/StringAnnotationValueTest.java | 4 ++- ...nnotatedElementJSONElementVisitorTest.java | 5 +-- .../lang/model/util/AnnotationUtilsTest.java | 36 ++++++++++--------- .../lang/model/util/ClassUtilsTest.java | 3 +- .../lang/model/util/ConstructorUtilsTest.java | 9 ++--- .../lang/model/util/ElementUtilsTest.java | 15 ++++---- .../util/ExecutableElementComparatorTest.java | 8 +++-- .../lang/model/util/FieldUtilsTest.java | 14 ++++---- .../util/JSONAnnotationValueVisitorTest.java | 12 ++++--- .../model/util/JSONElementVisitorTest.java | 12 ++++--- .../lang/model/util/LoggerUtilsTest.java | 3 +- .../lang/model/util/MemberUtilsTest.java | 8 +++-- .../lang/model/util/MessagerUtilsTest.java | 7 ++-- .../lang/model/util/MethodUtilsTest.java | 18 +++++----- .../ResolvableAnnotationValueVisitorTest.java | 18 +++++----- .../lang/model/util/TypeUtilsTest.java | 16 +++++---- .../microsphere/lang/model/util/UtilTest.java | 14 ++++---- 748 files changed, 2188 insertions(+), 1208 deletions(-) diff --git a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessor.java b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessor.java index 7060d61e5..fe1c4f18f 100644 --- a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessor.java +++ b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessor.java @@ -21,6 +21,10 @@ import io.microsphere.constants.ResourceConstants; import io.microsphere.json.JSONArray; import io.microsphere.metadata.ConfigurationPropertyGenerator; + +import java.util.Iterator; +import java.util.List; +import java.util.Set; import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.Messager; import javax.annotation.processing.ProcessingEnvironment; @@ -30,9 +34,6 @@ import javax.lang.model.SourceVersion; import javax.lang.model.element.Element; import javax.lang.model.element.TypeElement; -import java.util.Iterator; -import java.util.List; -import java.util.Set; import static io.microsphere.annotation.processor.ConfigurationPropertyJSONElementVisitor.CONFIGURATION_PROPERTY_ANNOTATION_CLASS_NAME; import static io.microsphere.constants.ResourceConstants.CONFIGURATION_PROPERTY_METADATA_RESOURCE; @@ -43,6 +44,7 @@ import static io.microsphere.metadata.ConfigurationPropertyLoader.loadAll; import static javax.lang.model.SourceVersion.latestSupported; import static javax.tools.StandardLocation.CLASS_OUTPUT; + /** * The {@link Processor} for the {@link ConfigurationProperty} annotation * @@ -161,4 +163,4 @@ String toJSON() { public SourceVersion getSupportedSourceVersion() { return latestSupported(); } -} \ No newline at end of file +} diff --git a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitor.java b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitor.java index 3f4a82acb..cf752c435 100644 --- a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitor.java +++ b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitor.java @@ -21,6 +21,9 @@ import io.microsphere.beans.ConfigurationProperty.Metadata; import io.microsphere.lang.model.util.AnnotatedElementJSONElementVisitor; import io.microsphere.metadata.ConfigurationPropertyGenerator; + +import java.util.List; +import java.util.Map; import javax.annotation.processing.ProcessingEnvironment; import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.AnnotationValue; @@ -29,8 +32,6 @@ import javax.lang.model.element.TypeElement; import javax.lang.model.element.VariableElement; import javax.lang.model.type.TypeMirror; -import java.util.List; -import java.util.Map; import static io.microsphere.constants.SymbolConstants.COMMA_CHAR; import static io.microsphere.lang.model.util.AnnotationUtils.getAnnotation; @@ -41,6 +42,7 @@ import static io.microsphere.lang.model.util.TypeUtils.getTypeName; import static io.microsphere.util.ServiceLoaderUtils.loadFirstService; import static io.microsphere.util.StringUtils.isBlank; + /** * {@link ConfigurationProperty @ConfigurationProperty}'s {@link AnnotatedElementJSONElementVisitor} based on * {@link ConfigurationPropertyGenerator} generating the JSON representation of the configuration property metadata. @@ -156,4 +158,4 @@ private void setDeclaredField(io.microsphere.beans.ConfigurationProperty configu String declaredFieldName = field.getSimpleName().toString(); configurationProperty.getMetadata().setDeclaredField(declaredFieldName); } -} \ No newline at end of file +} diff --git a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/FilerProcessor.java b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/FilerProcessor.java index 9122e4bb6..486d2d7e0 100644 --- a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/FilerProcessor.java +++ b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/FilerProcessor.java @@ -18,13 +18,15 @@ package io.microsphere.annotation.processor; import io.microsphere.lang.function.ThrowableFunction; + +import java.util.function.BiFunction; import javax.annotation.processing.Filer; import javax.annotation.processing.ProcessingEnvironment; import javax.tools.JavaFileManager; -import java.util.function.BiFunction; import static io.microsphere.lang.model.util.MessagerUtils.printMandatoryWarning; import static io.microsphere.reflect.FieldUtils.getFieldValue; + /** * A processor class that provides safe and exception-handled operations for interacting with the {@link Filer} * in an annotation processing environment. This class wraps calls to the underlying {@link Filer} instance @@ -98,4 +100,4 @@ public JavaFileManager getJavaFileManager() { return processInFiler(filer -> getFieldValue(filer, "fileManager")); } -} \ No newline at end of file +} diff --git a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ResourceProcessor.java b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ResourceProcessor.java index f8215d8b7..1f36d5a0e 100644 --- a/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ResourceProcessor.java +++ b/microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ResourceProcessor.java @@ -19,9 +19,7 @@ import io.microsphere.lang.function.ThrowableConsumer; import io.microsphere.lang.function.ThrowableFunction; -import javax.annotation.processing.ProcessingEnvironment; -import javax.tools.FileObject; -import javax.tools.JavaFileManager.Location; + import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; @@ -32,6 +30,9 @@ import java.util.function.BiConsumer; import java.util.function.BiFunction; import java.util.function.Function; +import javax.annotation.processing.ProcessingEnvironment; +import javax.tools.FileObject; +import javax.tools.JavaFileManager.Location; import static io.microsphere.collection.MapUtils.newHashMap; import static io.microsphere.lang.model.util.MessagerUtils.printNote; @@ -39,6 +40,7 @@ import static io.microsphere.util.ExceptionUtils.wrap; import static java.util.Optional.empty; import static java.util.Optional.of; + /** * A processor class that provides a comprehensive and exception-safe mechanism for handling resources during annotation processing. * It extends the capabilities of the {@link FilerProcessor} to manage both reading from and writing to resources using various I/O operations. @@ -242,4 +244,4 @@ public void processInResourceWriter(String resourceName, ThrowableConsumer 0; } -} \ No newline at end of file +} diff --git a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessorTest.java b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessorTest.java index dca1e2812..e78893889 100644 --- a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessorTest.java +++ b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessorTest.java @@ -18,10 +18,12 @@ package io.microsphere.annotation.processor; import io.microsphere.test.annotation.processing.AbstractAnnotationProcessingTest; + import org.junit.jupiter.api.Test; import static io.microsphere.util.Assert.assertNotNull; import static java.util.Collections.emptySet; + /** * {@link ConfigurationPropertyAnnotationProcessor} Test * @@ -39,4 +41,4 @@ void testResolveMetadataOnEmptySet() { String json = processor.toJSON(); assertNotNull("[]", json); } -} \ No newline at end of file +} diff --git a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitorTest.java b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitorTest.java index ad2117c5a..9788c42de 100644 --- a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitorTest.java +++ b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitorTest.java @@ -25,13 +25,15 @@ import io.microsphere.reflect.TypeUtils; import io.microsphere.test.annotation.processing.AbstractAnnotationProcessingTest; import io.microsphere.util.ServiceLoaderUtils; -import org.junit.jupiter.api.Test; + import java.util.Set; +import org.junit.jupiter.api.Test; import static io.microsphere.annotation.processor.ConfigurationPropertyJSONElementVisitor.CONFIGURATION_PROPERTY_ANNOTATION_CLASS_NAME; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; + /** * {@link ConfigurationPropertyJSONElementVisitor} Test * @@ -70,4 +72,4 @@ void testSetSourcesOnNoSource() { visitor.setSources(null, "noSource", null); assertNotNull(visitor); } -} \ No newline at end of file +} diff --git a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/FilerProcessorTest.java b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/FilerProcessorTest.java index c040ddd5e..a11aede09 100644 --- a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/FilerProcessorTest.java +++ b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/FilerProcessorTest.java @@ -18,17 +18,19 @@ package io.microsphere.annotation.processor; import io.microsphere.test.annotation.processing.AbstractAnnotationProcessingTest; + +import java.lang.reflect.Method; +import javax.tools.JavaFileManager; +import javax.tools.JavaFileObject; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; -import javax.tools.JavaFileManager; -import javax.tools.JavaFileObject; -import java.lang.reflect.Method; import static io.microsphere.annotation.processor.ResourceProcessor.exists; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; + /** * {@link FilerProcessor} Test * @@ -64,4 +66,4 @@ void testGetJavaFileManager() { JavaFileManager javaFileManager = processor.getJavaFileManager(); assertNotNull(javaFileManager); } -} \ No newline at end of file +} diff --git a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ResourceProcessorTest.java b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ResourceProcessorTest.java index ac21ea3f4..b04cc3480 100644 --- a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ResourceProcessorTest.java +++ b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ResourceProcessorTest.java @@ -18,12 +18,13 @@ package io.microsphere.annotation.processor; import io.microsphere.test.annotation.processing.AbstractAnnotationProcessingTest; + +import java.lang.reflect.Method; +import java.util.Optional; +import javax.tools.FileObject; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; -import javax.tools.FileObject; -import java.lang.reflect.Method; -import java.util.Optional; import static io.microsphere.annotation.processor.ResourceProcessor.FOR_READING; import static io.microsphere.annotation.processor.ResourceProcessor.FOR_WRITING; @@ -42,6 +43,7 @@ import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; + /** * {@link ResourceProcessor} Test * @@ -190,4 +192,4 @@ void testProcessInResourceOnWriterOnFailed() { void testExistsOnNull() { assertFalse(exists(null)); } -} \ No newline at end of file +} diff --git a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/TestConfigurationPropertyLoader.java b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/TestConfigurationPropertyLoader.java index 4ccc04c26..1af14c43e 100644 --- a/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/TestConfigurationPropertyLoader.java +++ b/microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/TestConfigurationPropertyLoader.java @@ -17,15 +17,17 @@ package io.microsphere.annotation.processor; -import io.microsphere.beans.ConfigurationProperty; import io.microsphere.beans.ConfigurationProperty.Metadata; +import io.microsphere.beans.ConfigurationProperty; import io.microsphere.metadata.ConfigurationPropertyLoader; + import java.util.ArrayList; import java.util.List; import java.util.Random; import static io.microsphere.collection.ListUtils.newArrayList; import static io.microsphere.util.ClassUtils.SIMPLE_TYPES; + /** * {@link ConfigurationPropertyLoader} for testing * @@ -67,4 +69,4 @@ public List load() throws Throwable { } return configurationProperties; } -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/ConfigurationProperty.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/ConfigurationProperty.java index 802495250..dd6272f95 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/ConfigurationProperty.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/ConfigurationProperty.java @@ -22,6 +22,7 @@ import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.RetentionPolicy.RUNTIME; + /** * The metadata annotation used to declare on the Java field whose modifiers usually are static and final * for the configuration property. @@ -93,4 +94,4 @@ */ String[] source() default {}; -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Experimental.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Experimental.java index 7be0e7406..498df0028 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Experimental.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Experimental.java @@ -26,6 +26,7 @@ import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.SOURCE; + /** * The marker annotation indicates a feature is experimental, it could be changed or even be removed in the future. * @@ -48,4 +49,4 @@ */ String description() default ""; -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Immutable.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Immutable.java index a8c1f29d2..593118b5e 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Immutable.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Immutable.java @@ -20,6 +20,7 @@ import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.RUNTIME; + /** * Marker annotation to indicate that the annotated element is immutable, this means that its state cannot be seen to * change by callers. @@ -30,4 +31,4 @@ @Documented @Retention(RUNTIME) public @interface Immutable { -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nonnull.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nonnull.java index 399c0d6c9..2078d263b 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nonnull.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nonnull.java @@ -16,11 +16,12 @@ package io.microsphere.annotation; -import javax.annotation.meta.TypeQualifierNickname; import java.lang.annotation.Documented; import java.lang.annotation.Retention; +import javax.annotation.meta.TypeQualifierNickname; import static java.lang.annotation.RetentionPolicy.RUNTIME; + /** * A common Microsphere annotation to declare that annotated elements cannot be {@code null}. * @@ -33,4 +34,4 @@ @javax.annotation.Nonnull @TypeQualifierNickname public @interface Nonnull { -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nullable.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nullable.java index 631194b49..fd739f8d9 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nullable.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nullable.java @@ -16,12 +16,13 @@ package io.microsphere.annotation; -import javax.annotation.meta.TypeQualifierNickname; import java.lang.annotation.Documented; import java.lang.annotation.Retention; +import javax.annotation.meta.TypeQualifierNickname; import static java.lang.annotation.RetentionPolicy.RUNTIME; import static javax.annotation.meta.When.MAYBE; + /** * A common Microsphere annotation to declare that annotated elements can be {@code null} under * some circumstance. @@ -35,4 +36,4 @@ @javax.annotation.Nonnull(when = MAYBE) @TypeQualifierNickname public @interface Nullable { -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Since.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Since.java index bc2b81a58..2b27eecd7 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Since.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/Since.java @@ -31,6 +31,7 @@ import static java.lang.annotation.ElementType.TYPE_PARAMETER; import static java.lang.annotation.ElementType.TYPE_USE; import static java.lang.annotation.RetentionPolicy.RUNTIME; + /** * The annotation that indicates the API is introduced in the first time. * @@ -64,4 +65,4 @@ */ String value(); -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/NotThreadSafe.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/NotThreadSafe.java index f67d253c1..edb88d19d 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/NotThreadSafe.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/NotThreadSafe.java @@ -6,13 +6,14 @@ */ package io.microsphere.annotation.concurrent; -import javax.annotation.concurrent.ThreadSafe; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; +import javax.annotation.concurrent.ThreadSafe; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.CLASS; + /** * The class to which this annotation is applied is not thread-safe. This * annotation primarily exists for clarifying the non-thread-safety of a class @@ -25,4 +26,4 @@ @Target(TYPE) @Retention(CLASS) public @interface NotThreadSafe { -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/ThreadSafe.java b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/ThreadSafe.java index c541e83fe..ea3173ba0 100644 --- a/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/ThreadSafe.java +++ b/microsphere-java-annotations/src/main/java/io/microsphere/annotation/concurrent/ThreadSafe.java @@ -6,13 +6,14 @@ */ package io.microsphere.annotation.concurrent; -import javax.annotation.concurrent.NotThreadSafe; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; +import javax.annotation.concurrent.NotThreadSafe; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.CLASS; + /** * The class to which this annotation is applied is thread-safe. This means that * no sequences of accesses (reads and writes to public fields, calls to public @@ -26,4 +27,4 @@ @Target(TYPE) @Retention(CLASS) public @interface ThreadSafe { -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ConfigurationPropertyTest.java b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ConfigurationPropertyTest.java index ff36a1471..c31732d3a 100644 --- a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ConfigurationPropertyTest.java +++ b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ConfigurationPropertyTest.java @@ -23,6 +23,7 @@ import static io.microsphere.annotation.ConfigurationProperty.ENVIRONMENT_VARIABLES_SOURCE; import static io.microsphere.annotation.ConfigurationProperty.SYSTEM_PROPERTIES_SOURCE; import static org.junit.jupiter.api.Assertions.assertEquals; + /** * {@link ConfigurationProperty @ConfigurationProperty} Test * @@ -38,4 +39,4 @@ void testSources() { assertEquals("environment-variables", ENVIRONMENT_VARIABLES_SOURCE); assertEquals("application", APPLICATION_SOURCE); } -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ExperimentalTest.java b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ExperimentalTest.java index 057c15aff..d4db9a409 100644 --- a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ExperimentalTest.java +++ b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ExperimentalTest.java @@ -19,6 +19,7 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNull; + /** * {@link Experimental @Experimental} Test * @@ -33,4 +34,4 @@ class ExperimentalTest { void test() { assertNull(ExperimentalTest.class.getAnnotation(Experimental.class)); } -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ImmutableTest.java b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ImmutableTest.java index 70808cba8..6ae1ffb79 100644 --- a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ImmutableTest.java +++ b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/ImmutableTest.java @@ -20,6 +20,7 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; + /** * {@link Immutable @Immutable} Test * @@ -34,4 +35,4 @@ class ImmutableTest { void test() { assertNotNull(ImmutableTest.class.getAnnotation(Immutable.class)); } -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NonnullTest.java b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NonnullTest.java index 42064e84d..3fe681abe 100644 --- a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NonnullTest.java +++ b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NonnullTest.java @@ -20,6 +20,7 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; + /** * {@link Nonnull @Nonnull} Test * @@ -34,4 +35,4 @@ class NonnullTest { void test() { assertNotNull(NonnullTest.class.getAnnotation(Nonnull.class)); } -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NullableTest.java b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NullableTest.java index 46a3542f9..af514c461 100644 --- a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NullableTest.java +++ b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/NullableTest.java @@ -20,6 +20,7 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; + /** * {@link Nullable @Nullable} Test * @@ -34,4 +35,4 @@ class NullableTest { void test() { assertNotNull(NullableTest.class.getAnnotation(Nullable.class)); } -} \ No newline at end of file +} diff --git a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/SinceTest.java b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/SinceTest.java index aea234a7b..1ecca38c8 100644 --- a/microsphere-java-annotations/src/test/java/io/microsphere/annotation/SinceTest.java +++ b/microsphere-java-annotations/src/test/java/io/microsphere/annotation/SinceTest.java @@ -19,6 +19,7 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; + /** * {@link Since @Since} Test * @@ -35,4 +36,4 @@ void test() { assertEquals("microsphere-java-core", since.module()); assertEquals("1.0.0", since.value()); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanMetadata.java b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanMetadata.java index ea52a6a39..b06c788e2 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanMetadata.java +++ b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanMetadata.java @@ -19,6 +19,7 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; + import java.beans.BeanInfo; import java.beans.Introspector; import java.beans.PropertyDescriptor; @@ -32,6 +33,7 @@ import static io.microsphere.util.ClassUtils.getTypeName; import static io.microsphere.util.StringUtils.uncapitalize; import static java.util.Collections.unmodifiableMap; + /** * The metadata class of Bean, which is used to represent a Java Bean. * @@ -142,4 +144,4 @@ public static BeanMetadata of(@Nonnull Class beanClass) throws RuntimeExcepti return new BeanMetadata(beanClass); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanProperty.java b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanProperty.java index bc17dcd9a..b6576518f 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanProperty.java +++ b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanProperty.java @@ -18,6 +18,7 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; + import java.beans.PropertyDescriptor; import java.lang.reflect.Method; import java.util.Objects; @@ -26,6 +27,7 @@ import static io.microsphere.lang.function.ThrowableSupplier.execute; import static io.microsphere.reflect.MethodUtils.invokeMethod; import static io.microsphere.util.Assert.assertNotNull; + /** * The class presenting the Property of Bean * @@ -131,4 +133,4 @@ public static BeanProperty of(@Nonnull Object bean, @Nonnull String propertyName return beanProperty; }); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java index 143e20bce..96a208cac 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/beans/BeanUtils.java @@ -23,6 +23,7 @@ import io.microsphere.lang.MutableInteger; import io.microsphere.logging.Logger; import io.microsphere.util.Utils; + import java.beans.PropertyDescriptor; import java.lang.reflect.Method; import java.util.ArrayDeque; @@ -74,6 +75,7 @@ import static java.util.Collections.emptyMap; import static java.util.Collections.enumeration; import static java.util.Collections.unmodifiableMap; + /** * The utilities class for Java Beans * @@ -565,4 +567,4 @@ static void addValues(Collection targetValues, Iterable sourceValues, private BeanUtils() { } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/beans/ConfigurationProperty.java b/microsphere-java-core/src/main/java/io/microsphere/beans/ConfigurationProperty.java index f818557ec..4d5a3bdaf 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/beans/ConfigurationProperty.java +++ b/microsphere-java-core/src/main/java/io/microsphere/beans/ConfigurationProperty.java @@ -18,6 +18,7 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; + import java.util.Objects; import java.util.Set; @@ -25,6 +26,7 @@ import static io.microsphere.util.Assert.assertNotEmpty; import static io.microsphere.util.Assert.assertNotNull; import static io.microsphere.util.ClassUtils.getTypeName; + /** * {@code ConfigurationProperty} is a class that represents a configuration property * with its name, type, value, default value, requirement status, description, and metadata. @@ -352,4 +354,4 @@ public String toString() { '}'; } } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractArtifactResourceResolver.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractArtifactResourceResolver.java index e67ad5f9c..035c819c3 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractArtifactResourceResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractArtifactResourceResolver.java @@ -21,6 +21,7 @@ import static io.microsphere.logging.LoggerFactory.getLogger; import static io.microsphere.util.ClassLoaderUtils.getDefaultClassLoader; + /** * An abstract base class for implementing {@link ArtifactResourceResolver}. * @@ -114,4 +115,4 @@ public final String toString() { sb.append('}'); return sb.toString(); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractURLClassPathHandle.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractURLClassPathHandle.java index 52a29b4e6..3a9a4a76d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractURLClassPathHandle.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/AbstractURLClassPathHandle.java @@ -19,6 +19,7 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.lang.Prioritized; import io.microsphere.logging.Logger; + import java.lang.reflect.Field; import java.net.URL; import java.util.Collection; @@ -33,6 +34,7 @@ import static io.microsphere.reflect.MethodUtils.invokeMethod; import static io.microsphere.util.ClassLoaderUtils.resolveClass; import static java.lang.ClassLoader.getSystemClassLoader; + /** * Abstract implementation of {@link URLClassPathHandle} that provides a base for handling URL Class-Path entries. * @@ -235,4 +237,4 @@ protected final Field getBaseField() { protected abstract String getURLClassPathClassName(); protected abstract String getUrlsFieldName(); -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArchiveFileArtifactResourceResolver.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArchiveFileArtifactResourceResolver.java index 2eb8f74df..804defc65 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArchiveFileArtifactResourceResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArchiveFileArtifactResourceResolver.java @@ -26,6 +26,7 @@ import static io.microsphere.util.ArrayUtils.length; import static io.microsphere.util.StringUtils.split; import static io.microsphere.util.StringUtils.substringBeforeLast; + /** * A concrete implementation of {@link ArtifactResourceResolver} that resolves artifacts based on archive files. * @@ -105,4 +106,4 @@ static Artifact createArtifact(String archiveFileName, URL resourceURL) { String version = length > 1 ? parts[1] : null; return create(artifactId, version, resourceURL); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/Artifact.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/Artifact.java index ddac5f7d8..63e828fae 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/Artifact.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/Artifact.java @@ -4,12 +4,14 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.constants.SymbolConstants; + import java.net.URL; import java.util.Objects; import java.util.function.Function; import static io.microsphere.constants.SymbolConstants.QUOTE_CHAR; import static java.util.Objects.hash; + /** * Represents a software artifact with attributes such as artifact ID, version, and location. * This class is used to identify and match artifacts based on their properties. @@ -139,4 +141,4 @@ public String toString() { '}'; return sb; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactDetector.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactDetector.java index c766c7012..a964ad919 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactDetector.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactDetector.java @@ -5,6 +5,7 @@ import io.microsphere.annotation.Nullable; import io.microsphere.lang.Prioritized; import io.microsphere.logging.Logger; + import java.net.URL; import java.util.ArrayList; import java.util.Iterator; @@ -24,6 +25,7 @@ import static io.microsphere.util.SystemUtils.JAVA_HOME; import static java.util.Collections.emptyList; import static java.util.Collections.unmodifiableList; + /** * The {@code ArtifactDetector} class is responsible for detecting and resolving artifacts from the classpath. * It uses a list of registered {@link ArtifactResourceResolver} implementations to resolve each URL in the classpath @@ -170,4 +172,4 @@ private void removeJdkClassPathURLs(Set classPathURLs) { } } } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactResourceResolver.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactResourceResolver.java index 07498856d..fa9abefe7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactResourceResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ArtifactResourceResolver.java @@ -18,7 +18,9 @@ import io.microsphere.annotation.Nullable; import io.microsphere.lang.Prioritized; + import java.net.URL; + /** * {@code ArtifactResourceResolver} interface is responsible for resolving resources related to an * {@link Artifact}. Implementations of this interface are expected to handle the resolution of @@ -54,4 +56,4 @@ public interface ArtifactResourceResolver extends Prioritized { */ @Nullable Artifact resolve(@Nullable URL resourceURL); -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutor.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutor.java index 4e0a8a0c7..c571a8ee8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutor.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/BannedArtifactClassLoadingExecutor.java @@ -2,6 +2,7 @@ import io.microsphere.annotation.Nullable; import io.microsphere.logging.Logger; + import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; @@ -17,6 +18,7 @@ import static io.microsphere.util.StringUtils.isBlank; import static io.microsphere.util.StringUtils.split; import static io.microsphere.util.SystemUtils.FILE_ENCODING; + /** * The executor for the banned artifacts that are loading by {@link ClassLoader}. *

    @@ -134,4 +136,4 @@ static MavenArtifact loadBannedArtifactConfig(String definition) throws IllegalA return MavenArtifact.create(groupId, artifactId, version); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ClassicURLClassPathHandle.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ClassicURLClassPathHandle.java index c84db84d5..71424fc48 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ClassicURLClassPathHandle.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ClassicURLClassPathHandle.java @@ -40,4 +40,4 @@ protected String getURLClassPathClassName() { protected String getUrlsFieldName() { return "urls"; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ManifestArtifactResourceResolver.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ManifestArtifactResourceResolver.java index 7346e9ce0..3521245dc 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ManifestArtifactResourceResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ManifestArtifactResourceResolver.java @@ -17,6 +17,7 @@ package io.microsphere.classloading; import io.microsphere.annotation.ConfigurationProperty; + import java.io.IOException; import java.io.InputStream; import java.net.URL; @@ -32,6 +33,7 @@ import static io.microsphere.util.jar.JarUtils.MANIFEST_RESOURCE_PATH; import static java.lang.System.getProperty; import static java.util.stream.Stream.of; + /** * {@link ArtifactResourceResolver} implementation that reads artifact metadata from JAR manifest files. * @@ -228,4 +230,4 @@ private String resolveVersion(Attributes attributes) { .orElse(null); return version; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifact.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifact.java index 958929879..597274da5 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifact.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifact.java @@ -3,11 +3,13 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; + import java.net.URL; import java.util.Objects; import static io.microsphere.constants.SymbolConstants.QUOTE_CHAR; import static java.util.Objects.hash; + /** * Represents a Maven software artifact with attributes such as group ID, artifact ID, version, and location. * This class extends the basic {@link Artifact} by adding Maven-specific identification through group ID. @@ -109,4 +111,4 @@ public String toString() { '}'; return sb; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifactResourceResolver.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifactResourceResolver.java index 70f711c9c..cf9baa9e1 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifactResourceResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/MavenArtifactResourceResolver.java @@ -22,6 +22,7 @@ import java.util.Properties; import static io.microsphere.classloading.MavenArtifact.create; + /** * A resolver implementation for Maven artifact metadata, extracting information from Maven POM properties files. * @@ -122,4 +123,4 @@ Artifact resolveArtifactMetaInfoInMavenPomProperties(Properties properties, String version = properties.getProperty(VERSION_PROPERTY_NAME); return create(groupId, artifactId, version, artifactResourceURL); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ModernURLClassPathHandle.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ModernURLClassPathHandle.java index 4aaf34a9f..1db75fbec 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ModernURLClassPathHandle.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ModernURLClassPathHandle.java @@ -40,4 +40,4 @@ protected String getURLClassPathClassName() { protected String getUrlsFieldName() { return "unopenedUrls"; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/NoOpURLClassPathHandle.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/NoOpURLClassPathHandle.java index feb4e09cd..8e483e8cb 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/NoOpURLClassPathHandle.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/NoOpURLClassPathHandle.java @@ -19,6 +19,7 @@ import java.net.URL; import static io.microsphere.net.URLUtils.EMPTY_URL_ARRAY; + /** * No-Operation {@link URLClassPathHandle} * @@ -42,4 +43,4 @@ public URL[] getURLs(ClassLoader classLoader) { public boolean removeURL(ClassLoader classLoader, URL url) { return false; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/ServiceLoadingURLClassPathHandle.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/ServiceLoadingURLClassPathHandle.java index e540426e9..5feb33760 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/ServiceLoadingURLClassPathHandle.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/ServiceLoadingURLClassPathHandle.java @@ -22,6 +22,7 @@ import static io.microsphere.util.ArrayUtils.isEmpty; import static io.microsphere.util.ServiceLoaderUtils.loadServicesList; import static java.util.Objects.nonNull; + /** * {@link URLClassPathHandle} implementation based on the Service Loading mechanism * @@ -56,4 +57,4 @@ public URL[] getURLs(ClassLoader classLoader) { public boolean removeURL(ClassLoader classLoader, URL url) { return delegate.removeURL(classLoader, url); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/StreamArtifactResourceResolver.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/StreamArtifactResourceResolver.java index 78b9bbaa6..dccb4a678 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/StreamArtifactResourceResolver.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/StreamArtifactResourceResolver.java @@ -18,6 +18,7 @@ import io.microsphere.annotation.Nullable; import io.microsphere.io.FastByteArrayInputStream; + import java.io.File; import java.io.FileInputStream; import java.io.IOException; @@ -37,6 +38,7 @@ import static io.microsphere.net.URLUtils.resolveArchiveFile; import static io.microsphere.util.Assert.assertNotNull; import static io.microsphere.util.jar.JarUtils.filter; + /** * An abstract base class for implementing {@link ArtifactResourceResolver} that provides a * skeletal implementation to resolve artifact resources from either a streamable resource (like a URL) @@ -196,4 +198,4 @@ protected boolean isArtifactMetadataFile(File directory, File file) { protected abstract boolean isArtifactMetadata(String relativePath); protected abstract Artifact resolve(URL resourceURL, InputStream artifactMetadataData, ClassLoader classLoader) throws IOException; -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/classloading/URLClassPathHandle.java b/microsphere-java-core/src/main/java/io/microsphere/classloading/URLClassPathHandle.java index 7bfe22617..81fadc151 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/classloading/URLClassPathHandle.java +++ b/microsphere-java-core/src/main/java/io/microsphere/classloading/URLClassPathHandle.java @@ -19,11 +19,13 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.lang.Prioritized; + import java.net.URL; import java.net.URLClassLoader; import static io.microsphere.net.URLUtils.EMPTY_URL_ARRAY; import static io.microsphere.util.ClassLoaderUtils.findURLClassLoader; + /** * A strategy interface for handling URL Class-Path entries in a {@link ClassLoader}. * Implementations of this interface can provide custom logic for interacting with @@ -122,4 +124,4 @@ default boolean initializeLoaders(@Nullable ClassLoader classLoader) { default int getPriority() { return MIN_PRIORITY; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/AbstractDeque.java b/microsphere-java-core/src/main/java/io/microsphere/collection/AbstractDeque.java index ca2375f4c..ef72b70fc 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/AbstractDeque.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/AbstractDeque.java @@ -20,6 +20,7 @@ import java.util.ArrayList; import java.util.Deque; import java.util.NoSuchElementException; + /** * Abstract {@link Deque} implementation that provides default implementations for some of the * operations in the {@link Deque} interface. @@ -140,4 +141,4 @@ public E poll() { public E peek() { return peekFirst(); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayEnumeration.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayEnumeration.java index c1afb2fce..151487742 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayEnumeration.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayEnumeration.java @@ -27,6 +27,7 @@ import static io.microsphere.util.ArrayUtils.arrayEquals; import static java.lang.String.valueOf; import static java.util.Objects.hash; + /** *

    {@code ArrayEnumeration} is an implementation of enumeration based on an array, * used to sequentially access elements in the array.

    @@ -95,4 +96,4 @@ public String toString() { } return stringJoiner.toString(); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayStack.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayStack.java index e9117c265..7ee003267 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayStack.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ArrayStack.java @@ -20,6 +20,7 @@ import java.util.ArrayList; import java.util.EmptyStackException; import java.util.Stack; + /** * The {@code Stack} class represents a last-in-first-out * (LIFO) stack of objects. It extends class {@code Vector} with five @@ -137,4 +138,4 @@ public int search(Object o) { } return -1; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/CollectionUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/CollectionUtils.java index a644b4c95..42f0edb66 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/CollectionUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/CollectionUtils.java @@ -20,6 +20,7 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; + import java.util.ArrayList; import java.util.Collection; import java.util.Collections; @@ -33,6 +34,7 @@ import static io.microsphere.collection.ListUtils.isList; import static io.microsphere.util.ArrayUtils.length; import static io.microsphere.util.ObjectUtils.defaultIfNull; + /** * The utilities class for Java Collection * @@ -683,4 +685,4 @@ public static Deque emptyDeque() { private CollectionUtils() { } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/DefaultEntry.java b/microsphere-java-core/src/main/java/io/microsphere/collection/DefaultEntry.java index 78453d624..e58f63717 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/DefaultEntry.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/DefaultEntry.java @@ -19,6 +19,7 @@ import java.util.Map; import java.util.Objects; + /** * A default implementation of the {@link Map.Entry} interface, representing a key-value pair. * This class provides an immutable key and a mutable value, allowing for updates to the value @@ -91,4 +92,4 @@ public int hashCode() { public String toString() { return key + "=" + value; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingDeque.java b/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingDeque.java index a44e98f41..6c4b365bc 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingDeque.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingDeque.java @@ -23,6 +23,7 @@ import static io.microsphere.collection.QueueUtils.reversedDeque; import static io.microsphere.invoke.MethodHandlesLookupUtils.findPublicVirtual; import static io.microsphere.lang.function.ThrowableSupplier.execute; + /** * Delegating {@link Deque} * @@ -144,4 +145,4 @@ protected Deque reversed(MethodHandle reversedMethodHandle) { } return execute(() -> (Deque) reversedMethodHandle.invokeExact(getDelegate())); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingIterator.java b/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingIterator.java index 91e6acd7f..f3f8fd2d7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingIterator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingIterator.java @@ -17,8 +17,10 @@ package io.microsphere.collection; import io.microsphere.lang.DelegatingWrapper; + import java.util.Iterator; import java.util.function.Consumer; + /** * A delegating implementation of the {@link Iterator} interface that forwards all method calls to a delegate iterator. * This class is useful when you want to wrap an existing iterator and potentially override some of its behavior. @@ -83,4 +85,4 @@ public final boolean equals(Object obj) { public final String toString() { return this.delegate.toString(); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingQueue.java b/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingQueue.java index 0afa5362b..2724ea604 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingQueue.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/DelegatingQueue.java @@ -18,6 +18,7 @@ package io.microsphere.collection; import io.microsphere.lang.DelegatingWrapper; + import java.util.Collection; import java.util.Iterator; import java.util.Queue; @@ -27,6 +28,7 @@ import java.util.stream.Stream; import static io.microsphere.util.Assert.assertNotNull; + /** * Delegating {@link Queue} * @@ -178,4 +180,4 @@ public String toString() { public Queue getDelegate() { return this.delegate; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyDeque.java b/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyDeque.java index 6c8b488b7..61631bc78 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyDeque.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyDeque.java @@ -18,12 +18,14 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; + import java.io.Serializable; import java.util.Deque; import java.util.Iterator; import java.util.NoSuchElementException; import static io.microsphere.collection.CollectionUtils.emptyIterator; + /** * An empty and immutable {@link Deque} implementation that throws {@link UnsupportedOperationException} * for methods that attempt to modify the deque, and returns appropriate default values for read-only operations. @@ -128,4 +130,4 @@ public boolean remove(Object o) { public int size() { return 0; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterable.java b/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterable.java index e7bb8cd4f..ecdf2ac3c 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterable.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterable.java @@ -17,6 +17,7 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; + /** * An empty {@link Iterable} implementation that always returns an empty iterator. *

    @@ -50,4 +51,4 @@ public class EmptyIterable extends IterableAdapter { public EmptyIterable() { super(null); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterator.java b/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterator.java index f4ed37e5e..a76c79db3 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/EmptyIterator.java @@ -17,10 +17,12 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; + import java.util.Collections; import java.util.Iterator; import static java.util.Collections.emptyIterator; + /** * An empty and immutable implementation of the {@link Iterator} interface. *

    @@ -63,4 +65,4 @@ public class EmptyIterator extends DelegatingIterator { public EmptyIterator() { super(emptyIterator()); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationIteratorAdapter.java b/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationIteratorAdapter.java index f545c3336..a51d6e979 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationIteratorAdapter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationIteratorAdapter.java @@ -21,6 +21,7 @@ import static io.microsphere.util.ObjectUtils.defaultIfNull; import static java.util.Collections.emptyEnumeration; + /** * An {@link Iterator} that adapts an {@link Enumeration} instance, providing a forward-only, * read-only view of the elements. @@ -68,4 +69,4 @@ public boolean hasNext() { public E next() { return enumeration.nextElement(); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationUtils.java index 1806be302..d8422f4a5 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/EnumerationUtils.java @@ -19,10 +19,12 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; + import java.util.Collections; import java.util.Enumeration; import static io.microsphere.util.ClassUtils.isAssignableFrom; + /** * The utilities class for Java {@link Enumeration} * @@ -120,4 +122,4 @@ public static Enumeration ofEnumeration(E... elements) { private EnumerationUtils() { } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ImmutableEntry.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ImmutableEntry.java index 77891f7e1..1b0930dc4 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ImmutableEntry.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ImmutableEntry.java @@ -18,7 +18,9 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; + import java.util.Map; + /** * An immutable implementation of {@link Map.Entry} that stores a fixed key-value pair. * @@ -65,4 +67,4 @@ public V setValue(V value) { public static ImmutableEntry of(K key, V value) { return new ImmutableEntry<>(key, value); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/IterableAdapter.java b/microsphere-java-core/src/main/java/io/microsphere/collection/IterableAdapter.java index 6937fa124..247c5039d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/IterableAdapter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/IterableAdapter.java @@ -20,6 +20,7 @@ import static io.microsphere.collection.EmptyIterator.INSTANCE; import static io.microsphere.util.ObjectUtils.defaultIfNull; + /** * An adapter that wraps an {@link Iterator} and provides an {@link Iterable} interface. *

    @@ -55,4 +56,4 @@ public IterableAdapter(Iterator iterator) { public Iterator iterator() { return iterator; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/Iterators.java b/microsphere-java-core/src/main/java/io/microsphere/collection/Iterators.java index f5a10966d..937993726 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/Iterators.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/Iterators.java @@ -18,8 +18,10 @@ package io.microsphere.collection; import io.microsphere.util.Utils; + import java.util.Iterator; import java.util.Objects; + /** * The utilties class for {@link Iterator} * @@ -55,4 +57,4 @@ public static boolean equals(Iterator one, Iterator another) { private Iterators() { } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java index e1e3a2cec..8c8639f20 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ListUtils.java @@ -20,6 +20,7 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; + import java.util.ArrayList; import java.util.Collection; import java.util.Enumeration; @@ -40,6 +41,7 @@ import static java.util.Arrays.asList; import static java.util.Collections.emptyList; import static java.util.Collections.unmodifiableList; + /** * The utilities class for Java {@link List} * @@ -715,4 +717,4 @@ public static boolean addIfAbsent(List values, T newValue) { private ListUtils() { } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/Lists.java b/microsphere-java-core/src/main/java/io/microsphere/collection/Lists.java index e9655a397..f5851a805 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/Lists.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/Lists.java @@ -19,6 +19,7 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.util.Utils; + import java.lang.invoke.MethodHandle; import java.util.List; import java.util.RandomAccess; @@ -28,6 +29,7 @@ import static io.microsphere.util.ArrayUtils.length; import static java.util.Collections.emptyList; import static java.util.Collections.singletonList; + /** * The utility class for {@link List} for Modern JDK(9+), which supports the feedback if Java Runtime is below JDK 9. * @@ -528,4 +530,4 @@ static List ofListElements(MethodHandle methodHandle, E[] elements) { private Lists() { } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java index d99969c08..c827b2103 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/MapUtils.java @@ -19,6 +19,7 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.util.Utils; + import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; @@ -44,6 +45,7 @@ import static java.util.Collections.emptyMap; import static java.util.Collections.singletonMap; import static java.util.Collections.unmodifiableMap; + /** * The utilities class for Java {@link Map} * @@ -1257,4 +1259,4 @@ static Map extraProperties(Map map) { private MapUtils() { } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/Maps.java b/microsphere-java-core/src/main/java/io/microsphere/collection/Maps.java index 8de015100..093ec44c4 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/Maps.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/Maps.java @@ -19,6 +19,7 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.util.Utils; + import java.lang.invoke.MethodHandle; import java.util.Map; @@ -27,6 +28,7 @@ import static io.microsphere.util.ArrayUtils.length; import static java.util.Collections.emptyMap; import static java.util.Collections.singletonMap; + /** * The utility class for {@link Map} for Modern JDK(9+), which supports the feedback if Java Runtime is below JDK 9. * @@ -600,4 +602,4 @@ static Map ofMapEntries(MethodHandle methodHandle, Map.Entry ArrayDeque newArrayDeque(Collection elements) private QueueUtils() { } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ReadOnlyIterator.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ReadOnlyIterator.java index 6e53aa857..2f4a67792 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ReadOnlyIterator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ReadOnlyIterator.java @@ -17,7 +17,9 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; + import java.util.Iterator; + /** * A skeletal implementation of the {@link Iterator} interface, designed to support * read-only iteration. This class provides a default implementation for the @@ -52,4 +54,4 @@ public final void remove() { throw new IllegalStateException("Read-Only"); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/ReversedDeque.java b/microsphere-java-core/src/main/java/io/microsphere/collection/ReversedDeque.java index bd36c947a..574608267 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/ReversedDeque.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/ReversedDeque.java @@ -28,6 +28,7 @@ import static io.microsphere.util.ArrayUtils.reverse; import static io.microsphere.util.ArrayUtils.toArrayReversed; import static java.util.Spliterator.ORDERED; + /** * Reverse ordered {@link Deque} based on JDK 21 {@link java.util.ReverseOrderDequeView} * @@ -303,4 +304,4 @@ public boolean removeFirstOccurrence(Object o) { public boolean removeLastOccurrence(Object o) { return getDelegate().removeFirstOccurrence(o); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java b/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java index b947570a6..2a0db6cbf 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/SetUtils.java @@ -20,6 +20,7 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.annotation.Nullable; import io.microsphere.util.Utils; + import java.util.Collection; import java.util.Comparator; import java.util.Enumeration; @@ -37,6 +38,7 @@ import static java.util.Collections.emptySet; import static java.util.Collections.singleton; import static java.util.Collections.unmodifiableSet; + /** * The utilities class for Java {@link Set} * @@ -774,4 +776,4 @@ public static TreeSet newTreeSet(SortedSet sortedSet) { private SetUtils() { } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/Sets.java b/microsphere-java-core/src/main/java/io/microsphere/collection/Sets.java index 9d11fd16d..f8effe0e5 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/Sets.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/Sets.java @@ -19,6 +19,7 @@ import io.microsphere.annotation.Immutable; import io.microsphere.annotation.Nonnull; import io.microsphere.util.Utils; + import java.lang.invoke.MethodHandle; import java.util.Set; @@ -27,6 +28,7 @@ import static io.microsphere.util.ArrayUtils.length; import static java.util.Collections.emptySet; import static java.util.Collections.singleton; + /** * The utility class for {@link Set} for Modern JDK(9+), which supports the feedback if Java Runtime is below JDK 9. * @@ -567,4 +569,4 @@ static Set ofSetElements(MethodHandle methodHandle, E[] elements) { private Sets() { } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonDeque.java b/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonDeque.java index 7b9f6bb28..4dc32c4b0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonDeque.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonDeque.java @@ -18,12 +18,14 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; + import java.io.Serializable; import java.util.Deque; import java.util.Iterator; import java.util.Objects; import static io.microsphere.collection.CollectionUtils.singletonIterator; + /** * A {@link Deque} implementation that holds a single, immutable element. *

    @@ -145,4 +147,4 @@ public final boolean equals(Object o) { public int hashCode() { return Objects.hashCode(element); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonEnumeration.java b/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonEnumeration.java index 670965bdd..31787afbd 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonEnumeration.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonEnumeration.java @@ -17,8 +17,10 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; + import java.util.Enumeration; import java.util.NoSuchElementException; + /** * A simple implementation of the {@link Enumeration} interface that contains a single element. *

    @@ -70,4 +72,4 @@ public E nextElement() { } throw new NoSuchElementException(); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonIterator.java b/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonIterator.java index b92dc2056..bfd2371f7 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonIterator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/SingletonIterator.java @@ -17,11 +17,13 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; + import java.util.Iterator; import java.util.NoSuchElementException; import java.util.function.Consumer; import static java.util.Objects.requireNonNull; + /** * A specialized read-only {@link Iterator} implementation that iterates over a single element. *

    @@ -66,4 +68,4 @@ public void forEachRemaining(Consumer action) { hasNext = false; } } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableDeque.java b/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableDeque.java index 2ca0d722b..61568f5e6 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableDeque.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableDeque.java @@ -18,12 +18,14 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; + import java.io.Serializable; import java.util.Deque; import java.util.Iterator; import java.util.LinkedList; import static io.microsphere.collection.CollectionUtils.unmodifiableIterator; + /** * An unmodifiable view of a {@link Deque}. This implementation decorates a given deque and prevents any * modification operations from succeeding. All mutation methods, such as {@link #addFirst}, {@link #addLast}, @@ -149,4 +151,4 @@ public E pop() { public Iterator descendingIterator() { return unmodifiableIterator(delegate.descendingIterator()); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableIterator.java b/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableIterator.java index 71bdb8444..837e53757 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableIterator.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableIterator.java @@ -17,8 +17,10 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; + import java.util.Iterator; import java.util.function.Consumer; + /** * An {@link Iterator} that is unmodifiable, meaning the elements cannot be removed. * This class extends the {@link ReadOnlyIterator}, which throws an exception when the @@ -68,4 +70,4 @@ public E next() { public void forEachRemaining(Consumer action) { delegate.forEachRemaining(action); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableQueue.java b/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableQueue.java index 7b4677b72..f34d6e098 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableQueue.java +++ b/microsphere-java-core/src/main/java/io/microsphere/collection/UnmodifiableQueue.java @@ -18,6 +18,7 @@ package io.microsphere.collection; import io.microsphere.annotation.Immutable; + import java.io.Serializable; import java.util.Collection; import java.util.Iterator; @@ -29,6 +30,7 @@ import java.util.stream.Stream; import static io.microsphere.collection.CollectionUtils.unmodifiableIterator; + /** * An unmodifiable view of a {@link Queue}. This implementation decorates a given queue and prevents any * modification operations from succeeding. All mutation methods, such as {@link #add}, {@link #remove}, @@ -203,4 +205,4 @@ public int hashCode() { public String toString() { return delegate.toString(); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/concurrent/CustomizedThreadFactory.java b/microsphere-java-core/src/main/java/io/microsphere/concurrent/CustomizedThreadFactory.java index e89ad10a8..0c514ff7a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/concurrent/CustomizedThreadFactory.java +++ b/microsphere-java-core/src/main/java/io/microsphere/concurrent/CustomizedThreadFactory.java @@ -20,6 +20,7 @@ import java.util.concurrent.atomic.AtomicInteger; import static java.lang.Thread.currentThread; + /** * A {@link ThreadFactory} implementation that creates threads with customized attributes, * including name prefix, daemon status, priority, and stack size. @@ -96,4 +97,4 @@ public Thread newThread(Runnable r) { t.setPriority(priority); return t; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingBlockingQueue.java b/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingBlockingQueue.java index abc44c091..8a7fdb54a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingBlockingQueue.java +++ b/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingBlockingQueue.java @@ -17,6 +17,7 @@ package io.microsphere.concurrent; import io.microsphere.lang.DelegatingWrapper; + import java.util.Collection; import java.util.Iterator; import java.util.Spliterator; @@ -28,6 +29,7 @@ import static io.microsphere.lang.Wrapper.tryUnwrap; import static io.microsphere.util.ObjectUtils.defaultIfNull; + /** * A delegating implementation of {@link BlockingQueue} that wraps another * {@link BlockingQueue} instance and forwards all method calls to it. @@ -238,4 +240,4 @@ public String toString() { public Object getDelegate() { return this.delegate; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingScheduledExecutorService.java b/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingScheduledExecutorService.java index 51e5f16aa..321adf627 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingScheduledExecutorService.java +++ b/microsphere-java-core/src/main/java/io/microsphere/concurrent/DelegatingScheduledExecutorService.java @@ -25,6 +25,7 @@ import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; + /** * A delegating implementation of {@link ScheduledExecutorService} that forwards all method calls to a provided * delegate instance. This class can be extended or used directly to wrap an existing {@link ScheduledExecutorService}, @@ -152,4 +153,4 @@ public T invokeAny(Collection> tasks, long timeout, Ti public void execute(Runnable command) { getDelegate().execute(command); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/concurrent/ExecutorUtils.java b/microsphere-java-core/src/main/java/io/microsphere/concurrent/ExecutorUtils.java index 41a81d8f3..c8f4a8348 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/concurrent/ExecutorUtils.java +++ b/microsphere-java-core/src/main/java/io/microsphere/concurrent/ExecutorUtils.java @@ -19,6 +19,7 @@ import io.microsphere.logging.Logger; import io.microsphere.util.ShutdownHookUtils; import io.microsphere.util.Utils; + import java.util.concurrent.Executor; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; @@ -26,6 +27,7 @@ import static io.microsphere.logging.LoggerFactory.getLogger; import static io.microsphere.util.ArrayUtils.forEach; import static io.microsphere.util.ShutdownHookUtils.addShutdownHookCallback; + /** * {@link Executor} Utilities class * @@ -141,4 +143,4 @@ public static boolean shutdown(ExecutorService executorService) { private ExecutorUtils() { } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/constants/Constants.java b/microsphere-java-core/src/main/java/io/microsphere/constants/Constants.java index 08fedfc38..8b2d37a56 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/constants/Constants.java +++ b/microsphere-java-core/src/main/java/io/microsphere/constants/Constants.java @@ -13,4 +13,4 @@ public interface Constants extends FileConstants, PathConstants, PropertyConstants, ProtocolConstants, SeparatorConstants, SymbolConstants { -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/constants/FileConstants.java b/microsphere-java-core/src/main/java/io/microsphere/constants/FileConstants.java index 3145c332f..1980a1c70 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/constants/FileConstants.java +++ b/microsphere-java-core/src/main/java/io/microsphere/constants/FileConstants.java @@ -6,6 +6,7 @@ import static io.microsphere.constants.SymbolConstants.DOT; import static io.microsphere.constants.SymbolConstants.DOT_CHAR; + /** * File Constants * @@ -78,4 +79,4 @@ public interface FileConstants { * Java File extension : ".java" */ String JAVA_EXTENSION = FILE_EXTENSION + "java"; -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/constants/PathConstants.java b/microsphere-java-core/src/main/java/io/microsphere/constants/PathConstants.java index e16018cde..c10a077b4 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/constants/PathConstants.java +++ b/microsphere-java-core/src/main/java/io/microsphere/constants/PathConstants.java @@ -37,4 +37,4 @@ public interface PathConstants { */ String BACK_SLASH = "\\"; -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/constants/PropertyConstants.java b/microsphere-java-core/src/main/java/io/microsphere/constants/PropertyConstants.java index 2426772e5..5bc87cf8d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/constants/PropertyConstants.java +++ b/microsphere-java-core/src/main/java/io/microsphere/constants/PropertyConstants.java @@ -34,4 +34,4 @@ public interface PropertyConstants { */ String MICROSPHERE_PROPERTY_NAME_PREFIX = "microsphere."; -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/constants/ProtocolConstants.java b/microsphere-java-core/src/main/java/io/microsphere/constants/ProtocolConstants.java index 04e459330..aae7c193e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/constants/ProtocolConstants.java +++ b/microsphere-java-core/src/main/java/io/microsphere/constants/ProtocolConstants.java @@ -8,6 +8,7 @@ import static io.microsphere.constants.FileConstants.JAR; import static io.microsphere.constants.FileConstants.WAR; import static io.microsphere.constants.FileConstants.ZIP; + /** * Protocol Constants Definition * @@ -66,4 +67,4 @@ public interface ProtocolConstants { * Console Protocol */ String CONSOLE_PROTOCOL = "console"; -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/constants/ResourceConstants.java b/microsphere-java-core/src/main/java/io/microsphere/constants/ResourceConstants.java index 7f796f3ba..aa97b8f00 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/constants/ResourceConstants.java +++ b/microsphere-java-core/src/main/java/io/microsphere/constants/ResourceConstants.java @@ -18,6 +18,7 @@ package io.microsphere.constants; import io.microsphere.annotation.ConfigurationProperty; + /** * The Constants for Microsphere Resource * @@ -57,4 +58,4 @@ public interface ResourceConstants { * "META-INF/microsphere/additional-configuration-properties.json" */ String ADDITIONAL_CONFIGURATION_PROPERTY_METADATA_RESOURCE = MICROSPHERE_METADATA_RESOURCE + ADDITIONAL_CONFIGURATION_PROPERTY_METADATA_FILE_NAME; -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/constants/SeparatorConstants.java b/microsphere-java-core/src/main/java/io/microsphere/constants/SeparatorConstants.java index dc6011cf7..234418f16 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/constants/SeparatorConstants.java +++ b/microsphere-java-core/src/main/java/io/microsphere/constants/SeparatorConstants.java @@ -10,6 +10,7 @@ import static java.io.File.pathSeparator; import static java.io.File.separator; import static java.lang.System.lineSeparator; + /** * Separator Constants *

    @@ -39,4 +40,4 @@ public interface SeparatorConstants { */ String LINE_SEPARATOR = lineSeparator(); -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/constants/SymbolConstants.java b/microsphere-java-core/src/main/java/io/microsphere/constants/SymbolConstants.java index 15b83b1c6..a601dc6eb 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/constants/SymbolConstants.java +++ b/microsphere-java-core/src/main/java/io/microsphere/constants/SymbolConstants.java @@ -341,4 +341,4 @@ public interface SymbolConstants { * The right curly brace : "}" */ String RIGHT_CURLY_BRACE = "}"; -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/AbstractConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/AbstractConverter.java index 80a57b939..9f465c8ab 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/AbstractConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/AbstractConverter.java @@ -21,6 +21,7 @@ import io.microsphere.annotation.Nullable; import io.microsphere.lang.Prioritized; import io.microsphere.logging.Logger; + import java.util.List; import java.util.Objects; @@ -29,6 +30,7 @@ import static io.microsphere.util.ClassUtils.getTypeName; import static io.microsphere.util.ExceptionUtils.wrap; import static java.util.Objects.hash; + /** * An abstract base class for implementing the {@link Converter} interface. * @@ -168,4 +170,4 @@ public boolean equals(Object o) { public int hashCode() { return hash(getSourceType(), getTargetType(), getPriority()); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/ByteArrayToObjectConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/ByteArrayToObjectConverter.java index b0711c27e..e3f5911ea 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/ByteArrayToObjectConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/ByteArrayToObjectConverter.java @@ -17,8 +17,10 @@ package io.microsphere.convert; import io.microsphere.io.DefaultDeserializer; + import java.io.IOException; import java.io.Serializable; + /** * The class coverts the {@link byte[] byte array} object to be a {@link Object} instance . * @@ -41,4 +43,4 @@ public Serializable doConvert(byte[] source) { throw new RuntimeException(e); } } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/Converter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/Converter.java index cc2a0114f..183e15a8e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/Converter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/Converter.java @@ -22,6 +22,7 @@ import static io.microsphere.convert.Converters.findConverter; import static io.microsphere.reflect.TypeUtils.resolveActualTypeArgumentClass; import static io.microsphere.util.ClassUtils.isAssignableFrom; + /** * A functional interface that defines a strategy for converting values from one type ({@code S}) to another type ({@code T}). *

    @@ -162,4 +163,4 @@ static T convertIfPossible(Object source, Class targetType) { } return null; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/Converters.java b/microsphere-java-core/src/main/java/io/microsphere/convert/Converters.java index a240a0b44..22f59741d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/Converters.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/Converters.java @@ -18,6 +18,7 @@ package io.microsphere.convert; import io.microsphere.util.Utils; + import java.util.ArrayList; import java.util.List; import java.util.Map.Entry; @@ -31,6 +32,7 @@ import static io.microsphere.collection.MapUtils.newConcurrentHashMap; import static io.microsphere.util.ClassLoaderUtils.getClassLoader; import static io.microsphere.util.ServiceLoaderUtils.loadServicesList; + /** * The utility class of {@link Converter} * @@ -73,4 +75,4 @@ static List loadConvertersList() { private Converters() { } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/MapToPropertiesConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/MapToPropertiesConverter.java index 5b64b4d86..f5774d64a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/MapToPropertiesConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/MapToPropertiesConverter.java @@ -18,6 +18,7 @@ import java.util.Map; import java.util.Properties; + /** * The {@link Map} To {@link Properties} {@link Converter} * @@ -34,4 +35,4 @@ public Properties doConvert(Map source) { properties.putAll(source); return properties; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/NumberToByteConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/NumberToByteConverter.java index b22ae4291..6d06f9000 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/NumberToByteConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/NumberToByteConverter.java @@ -39,4 +39,4 @@ protected Byte doConvert(Number source) { } return source.byteValue(); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/NumberToCharacterConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/NumberToCharacterConverter.java index 322c44db7..24318b45a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/NumberToCharacterConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/NumberToCharacterConverter.java @@ -20,6 +20,7 @@ import static java.lang.Character.valueOf; + /** * The {@link Converter} for {@link Number} to {@link Character} * @@ -38,4 +39,4 @@ public class NumberToCharacterConverter extends AbstractConverter { protected String doConvert(Object source) { return source.toString(); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/PropertiesToStringConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/PropertiesToStringConverter.java index 1120c8d8b..f95f48492 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/PropertiesToStringConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/PropertiesToStringConverter.java @@ -18,6 +18,7 @@ import java.io.StringWriter; import java.util.Properties; + /** * The {@link Properties} To {@link String} {@link Converter} * @@ -37,4 +38,4 @@ protected String doConvert(Properties source) throws Throwable { source.store(writer, "Generated by Microsphere"); return writer.toString(); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringConverter.java index cf010361e..c396160f8 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringConverter.java @@ -24,4 +24,4 @@ */ @FunctionalInterface public interface StringConverter extends Converter { -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToBooleanConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToBooleanConverter.java index 8fa0ac031..a0850f604 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToBooleanConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToBooleanConverter.java @@ -19,6 +19,7 @@ import static io.microsphere.util.CharSequenceUtils.isNotEmpty; import static java.lang.Boolean.valueOf; + /** * The class to convert {@link String} to {@link Boolean} * @@ -35,4 +36,4 @@ public class StringToBooleanConverter extends AbstractConverter protected Boolean doConvert(String source) { return isNotEmpty(source) ? valueOf(source) : null; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToByteConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToByteConverter.java index a845d35df..14378fe89 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToByteConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToByteConverter.java @@ -18,6 +18,7 @@ import static java.lang.Byte.valueOf; + /** * The class to convert {@link String} to {@link Byte} * @@ -34,4 +35,4 @@ public class StringToByteConverter extends AbstractConverter imple protected Byte doConvert(String source) { return valueOf(source); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToCharArrayConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToCharArrayConverter.java index 309f886a5..86f64320e 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToCharArrayConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToCharArrayConverter.java @@ -32,4 +32,4 @@ public class StringToCharArrayConverter extends AbstractConverter imp protected Class doConvert(String className) { return resolveClass(className, classLoader); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDoubleConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDoubleConverter.java index 000103eb7..1937e8b9a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDoubleConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDoubleConverter.java @@ -18,6 +18,7 @@ import static java.lang.Double.valueOf; + /** * The class to convert {@link String} to {@link Double} * @@ -34,4 +35,4 @@ public class StringToDoubleConverter extends AbstractConverter i protected Double doConvert(String source) { return valueOf(source); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDurationConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDurationConverter.java index 3ec77bbaf..1501fa78a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDurationConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToDurationConverter.java @@ -19,6 +19,7 @@ import java.time.Duration; import static java.time.Duration.parse; + /** * The class to convert {@link String} to {@link Duration} * @@ -36,4 +37,4 @@ public class StringToDurationConverter extends AbstractConverter imp protected Float doConvert(String source) { return valueOf(source); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToInputStreamConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToInputStreamConverter.java index e4d3a6c0b..c415529c0 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToInputStreamConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToInputStreamConverter.java @@ -18,11 +18,13 @@ import io.microsphere.annotation.Nonnull; import io.microsphere.io.FastByteArrayInputStream; + import java.io.InputStream; import java.nio.charset.Charset; import static io.microsphere.nio.charset.CharsetUtils.DEFAULT_CHARSET; import static java.nio.charset.Charset.forName; + /** * The class to convert {@link String} to {@link InputStream} * @@ -65,4 +67,4 @@ protected InputStream doConvert(String source) { public Charset getCharset() { return charset; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToIntegerConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToIntegerConverter.java index 4340455bc..c83d3f15a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToIntegerConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToIntegerConverter.java @@ -18,6 +18,7 @@ import static java.lang.Integer.valueOf; + /** * The class to convert {@link String} to {@link Integer} * @@ -34,4 +35,4 @@ public class StringToIntegerConverter extends AbstractConverter protected Integer doConvert(String source) { return valueOf(source); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToLongConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToLongConverter.java index 284c0a2b8..6d6a97faa 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToLongConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToLongConverter.java @@ -18,6 +18,7 @@ import static java.lang.Long.valueOf; + /** * The class to convert {@link String} to {@link Long} * @@ -34,4 +35,4 @@ public class StringToLongConverter extends AbstractConverter imple protected Long doConvert(String source) { return valueOf(source); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToShortConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToShortConverter.java index fba96aab8..810fc3381 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToShortConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToShortConverter.java @@ -18,6 +18,7 @@ import static java.lang.Short.valueOf; + /** * The class to convert {@link String} to {@link Short} * @@ -34,4 +35,4 @@ public class StringToShortConverter extends AbstractConverter imp protected Short doConvert(String source) { return valueOf(source); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToStringConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToStringConverter.java index 5c6112861..71c3a19b5 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/StringToStringConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/StringToStringConverter.java @@ -18,6 +18,7 @@ import static java.lang.String.valueOf; + /** * The class to convert {@link String} to {@link String} * @@ -34,4 +35,4 @@ public class StringToStringConverter extends AbstractConverter i protected String doConvert(String source) { return valueOf(source); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/MultiValueConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/MultiValueConverter.java index 75015377f..351418d43 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/MultiValueConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/MultiValueConverter.java @@ -17,12 +17,14 @@ package io.microsphere.convert.multiple; import io.microsphere.lang.Prioritized; + import java.util.Collection; import java.util.ServiceLoader; import static io.microsphere.reflect.TypeUtils.resolveActualTypeArgumentClass; import static io.microsphere.util.ClassLoaderUtils.getClassLoader; import static io.microsphere.util.ServiceLoaderUtils.loadServicesList; + /** * An interface to convert the source-typed value to multiple value, e.g , Java array, {@link Collection} or * sub-interfaces @@ -86,4 +88,4 @@ static T convertIfPossible(Object source, Class multiValueType, Class } return null; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToArrayConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToArrayConverter.java index ce6ede1d6..d838f7e9a 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToArrayConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToArrayConverter.java @@ -20,6 +20,7 @@ import static java.lang.reflect.Array.newInstance; import static java.lang.reflect.Array.set; + /** * The class to convert {@link String} to array-type object * @@ -51,4 +52,4 @@ public Object convert(String[] segments, int size, Class targetType, Class public int getPriority() { return MIN_PRIORITY; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingDequeConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingDequeConverter.java index 50e883d76..1e6e168da 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingDequeConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingDequeConverter.java @@ -18,6 +18,7 @@ import java.util.concurrent.BlockingDeque; import java.util.concurrent.LinkedBlockingDeque; + /** * The class to convert {@link String} to {@link BlockingDeque}-based value * @@ -29,4 +30,4 @@ public class StringToBlockingDequeConverter extends StringToIterableConverter multiValueType) { return new LinkedBlockingDeque(size); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingQueueConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingQueueConverter.java index c7989996a..04a636227 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingQueueConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToBlockingQueueConverter.java @@ -19,6 +19,7 @@ import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingDeque; import java.util.concurrent.BlockingQueue; + /** * The class to convert {@link String} to {@link BlockingDeque}-based value * @@ -30,4 +31,4 @@ public class StringToBlockingQueueConverter extends StringToIterableConverter multiValueType) { return new ArrayBlockingQueue(size); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToCollectionConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToCollectionConverter.java index 35428fe08..4dfee1939 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToCollectionConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToCollectionConverter.java @@ -18,6 +18,7 @@ import java.util.ArrayList; import java.util.Collection; + /** * The class to convert {@link String} to {@link Collection}-based value * @@ -29,4 +30,4 @@ public class StringToCollectionConverter extends StringToIterableConverter multiValueType) { return new ArrayList(size); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToDequeConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToDequeConverter.java index c4d50a6b2..7ecfa1937 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToDequeConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToDequeConverter.java @@ -18,6 +18,7 @@ import java.util.ArrayDeque; import java.util.Deque; + /** * The class to convert {@link String} to {@link Deque}-based value * @@ -29,4 +30,4 @@ public class StringToDequeConverter extends StringToIterableConverter { protected Deque createMultiValue(int size, Class multiValueType) { return new ArrayDeque(size); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToIterableConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToIterableConverter.java index 9b370e838..e515f94cb 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToIterableConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToIterableConverter.java @@ -17,6 +17,7 @@ package io.microsphere.convert.multiple; import io.microsphere.convert.StringConverter; + import java.util.Collection; import java.util.Optional; @@ -24,6 +25,7 @@ import static io.microsphere.reflect.TypeUtils.resolveActualTypeArgumentClass; import static io.microsphere.util.ClassUtils.findAllInterfaces; import static io.microsphere.util.ClassUtils.isAssignableFrom; + /** * The class to convert {@link String} to {@link Iterable}-based value * @@ -74,4 +76,4 @@ public final int getPriority() { int level = findAllInterfaces(getSupportedType(), type -> isAssignableFrom(Iterable.class, type)).size(); return MIN_PRIORITY - level; } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToListConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToListConverter.java index 0947595ab..f5c10c6fc 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToListConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToListConverter.java @@ -18,6 +18,7 @@ import java.util.ArrayList; import java.util.List; + /** * The class to convert {@link String} to {@link List}-based value * @@ -29,4 +30,4 @@ public class StringToListConverter extends StringToIterableConverter { protected List createMultiValue(int size, Class multiValueType) { return new ArrayList(size); } -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToMultiValueConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToMultiValueConverter.java index 360614558..a305a246d 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToMultiValueConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToMultiValueConverter.java @@ -20,6 +20,7 @@ import static io.microsphere.constants.SymbolConstants.COMMA_CHAR; import static io.microsphere.util.ArrayUtils.length; import static io.microsphere.util.StringUtils.split; + /** * The class to convert {@link String} to multiple value object * @@ -53,4 +54,4 @@ default Object convert(String source, Class multiValueType, Class elementT * @return multiple value object */ Object convert(String[] segments, int size, Class targetType, Class elementType); -} \ No newline at end of file +} diff --git a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToNavigableSetConverter.java b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToNavigableSetConverter.java index 4ed9c8640..b98d47381 100644 --- a/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToNavigableSetConverter.java +++ b/microsphere-java-core/src/main/java/io/microsphere/convert/multiple/StringToNavigableSetConverter.java @@ -19,6 +19,7 @@ import java.util.NavigableSet; import java.util.SortedSet; import java.util.TreeSet; + /** * The class to convert {@link String} to {@link SortedSet}-based value * @@ -30,4 +31,4 @@ public class StringToNavigableSetConverter extends StringToIterableConverter