Skip to content

Commit 819b00a

Browse files
committed
format
1 parent 4750bdd commit 819b00a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

inject-test/src/main/java/io/avaje/inject/test/AnnotationReader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ public static String rearrangeAnnotations(String input) {
5757

5858
// Sorting annotations by key
5959
for (String annotation : annotations) {
60-
String[] keyValue = annotation.split("=",1);
60+
String[] keyValue = annotation.split("=", 1);
6161
sortedAnnotations.put(keyValue[0], keyValue.length > 1 ? keyValue[1] : "");
6262
}
6363

6464
// 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));
6666
for (Map.Entry<String, String> entry : sortedAnnotations.entrySet()) {
6767
sortedOutput.append(entry.getKey());
6868
if (!entry.getValue().isEmpty()) {

inject-test/src/test/java/org/example/coffee/qualifier/members/TempQualifier.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ enum Scale {
2121
CELSIUS,
2222
FAHRENHEIT,
2323
}
24+
2425
@interface NestedAnnotation {
2526

2627
Inject[] inject() default {};

0 commit comments

Comments
 (0)