Restore blank lines in import sections across all Java files#284
Merged
Conversation
…oncrete 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"
…HashSet, 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"
…DequeTest - 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)"
Copilot created this pull request from a session on behalf of
mercyblitz
May 30, 2026 04:23
View session
- 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"
Copilot
AI
changed the title
Refactor local collection variables to use concrete types instead of interfaces
Add missing collection type imports after local variable refactoring
May 30, 2026
Copilot
AI
changed the title
Add missing collection type imports after local variable refactoring
Restore blank lines in import sections across all Java files
May 30, 2026
Remove and reorder unused imports across modules, tidy test import ordering, and apply small API tweaks. Notable changes: remove ListUtils.newLinkedList (and its Javadoc), switch Converters cache value type from ArrayList to List, adjust annotation meta imports (Nonnull/Nullable/ThreadSafe/NotThreadSafe), and other minor import/whitespace cleanups in annotation-processor, java-core, java-annotations and tests.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



A recent commit removed blank lines between import groups and before class definitions in Java files. This restores the proper formatting convention used throughout the codebase: blank lines separating import groups and before class/interface declarations.
Changes
io.microsphereimports and other imports (java.*,javax.*)import staticstatementsExample
Before:
After:
Statistics