Skip to content

Commit a62b01d

Browse files
authored
Remove duplicated line separators and trailing whitespace from Java files
- Consolidate 3+ consecutive blank lines to single blank lines - Strip trailing whitespace from all lines - Remove trailing blank lines at end of files - Ensure proper file endings with newlines - 325 out of 746 Java files cleaned
1 parent cd724b0 commit a62b01d

325 files changed

Lines changed: 307 additions & 506 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,4 @@ private void setDeclaredField(io.microsphere.beans.ConfigurationProperty configu
158158
String declaredFieldName = field.getSimpleName().toString();
159159
configurationProperty.getMetadata().setDeclaredField(declaredFieldName);
160160
}
161-
}
161+
}

microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ void testResolveMetadataOnEmptySet() {
4040
String json = processor.toJSON();
4141
assertNotNull("[]", json);
4242
}
43-
}
43+
}

microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ConfigurationPropertyJSONElementVisitorTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
package io.microsphere.annotation.processor;
1919

20-
2120
import io.microsphere.annotation.ConfigurationProperty;
2221
import io.microsphere.classloading.ManifestArtifactResourceResolver;
2322
import io.microsphere.io.IOUtils;
@@ -73,4 +72,4 @@ void testSetSourcesOnNoSource() {
7372
visitor.setSources(null, "noSource", null);
7473
assertNotNull(visitor);
7574
}
76-
}
75+
}

microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/FilerProcessorTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
package io.microsphere.annotation.processor;
1919

20-
2120
import io.microsphere.test.annotation.processing.AbstractAnnotationProcessingTest;
2221
import org.junit.jupiter.api.Test;
2322
import org.junit.jupiter.api.extension.ExtensionContext;
@@ -67,4 +66,4 @@ void testGetJavaFileManager() {
6766
JavaFileManager javaFileManager = processor.getJavaFileManager();
6867
assertNotNull(javaFileManager);
6968
}
70-
}
69+
}

microsphere-annotation-processor/src/test/java/io/microsphere/annotation/processor/ResourceProcessorTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
package io.microsphere.annotation.processor;
1919

20-
2120
import io.microsphere.test.annotation.processing.AbstractAnnotationProcessingTest;
2221
import org.junit.jupiter.api.Test;
2322
import org.junit.jupiter.api.extension.ExtensionContext;
@@ -193,4 +192,4 @@ void testProcessInResourceOnWriterOnFailed() {
193192
void testExistsOnNull() {
194193
assertFalse(exists(null));
195194
}
196-
}
195+
}

microsphere-java-annotations/src/main/java/io/microsphere/annotation/ConfigurationProperty.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,4 @@
9494
*/
9595
String[] source() default {};
9696

97-
}
97+
}

microsphere-java-annotations/src/main/java/io/microsphere/annotation/Experimental.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@
4949
*/
5050
String description() default "";
5151

52-
}
52+
}

microsphere-java-annotations/src/main/java/io/microsphere/annotation/Immutable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
@Documented
3232
@Retention(RUNTIME)
3333
public @interface Immutable {
34-
}
34+
}

microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nonnull.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package io.microsphere.annotation;
1818

19-
2019
import javax.annotation.meta.TypeQualifierNickname;
2120
import java.lang.annotation.Documented;
2221
import java.lang.annotation.Retention;
@@ -35,4 +34,4 @@
3534
@javax.annotation.Nonnull
3635
@TypeQualifierNickname
3736
public @interface Nonnull {
38-
}
37+
}

microsphere-java-annotations/src/main/java/io/microsphere/annotation/Nullable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@
3636
@javax.annotation.Nonnull(when = MAYBE)
3737
@TypeQualifierNickname
3838
public @interface Nullable {
39-
}
39+
}

0 commit comments

Comments
 (0)