File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
main/java/io/avaje/inject/test
test/java/org/example/coffee/qualifier/members Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ public static String rearrangeAnnotations(String input) {
57
57
58
58
// Sorting annotations by key
59
59
for (String annotation : annotations ) {
60
- String [] keyValue = annotation .split ("=" ,1 );
60
+ String [] keyValue = annotation .split ("=" , 1 );
61
61
sortedAnnotations .put (keyValue [0 ], keyValue .length > 1 ? keyValue [1 ] : "" );
62
62
}
63
63
64
64
// Constructing the sorted annotation string
65
- StringBuilder sortedOutput = new StringBuilder (input .substring (0 , indexOfParanthesis + 1 ));
65
+ StringBuilder sortedOutput = new StringBuilder (input .substring (0 , indexOfParanthesis + 1 ));
66
66
for (Map .Entry <String , String > entry : sortedAnnotations .entrySet ()) {
67
67
sortedOutput .append (entry .getKey ());
68
68
if (!entry .getValue ().isEmpty ()) {
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ enum Scale {
21
21
CELSIUS ,
22
22
FAHRENHEIT ,
23
23
}
24
+
24
25
@interface NestedAnnotation {
25
26
26
27
Inject [] inject () default {};
You can’t perform that action at this time.
0 commit comments