Skip to content

Commit 469c459

Browse files
authored
Merge pull request #34 from microsphere-projects/copilot/remove-duplicated-line-separators
Clean up Java source code formatting: remove trailing whitespace and consolidate blank lines
2 parents 969cadb + 0d47df0 commit 469c459

53 files changed

Lines changed: 52 additions & 71 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-java-logging/src/main/java/io/microsphere/logging/jdk/JavaLogging.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,4 @@ public String getName() {
170170
public int getPriority() {
171171
return PRIORITY;
172172
}
173-
}
173+
}

microsphere-java-logging/src/test/java/io/microsphere/logging/jdk/JavaLoggingTest.java

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

1818
package io.microsphere.logging.jdk;
1919

20-
2120
import org.junit.jupiter.api.BeforeEach;
2221
import org.junit.jupiter.api.Test;
2322

@@ -115,4 +114,4 @@ void testGetName() {
115114
void testGetPriority() {
116115
assertEquals(PRIORITY, this.logging.getPriority());
117116
}
118-
}
117+
}

microsphere-log4j/src/main/java/io/microsphere/logging/log4j/Log4jLogger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,4 +286,4 @@ public void error(String message, Throwable t) {
286286
public Object getDelegate() {
287287
return this.logger;
288288
}
289-
}
289+
}

microsphere-log4j/src/main/java/io/microsphere/logging/log4j/Log4jLoggerFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ public Logger createLogger(String name) {
7676
public int getPriority() {
7777
return PRIORITY;
7878
}
79-
}
79+
}

microsphere-log4j/src/main/java/io/microsphere/logging/log4j/Log4jLogging.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,4 @@ public String getName() {
160160
public int getPriority() {
161161
return PRIORITY;
162162
}
163-
}
163+
}

microsphere-log4j/src/main/java/io/microsphere/logging/log4j/util/Log4jUtils.java

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

1818
package io.microsphere.logging.log4j.util;
1919

20-
2120
import io.microsphere.annotation.Nonnull;
2221
import io.microsphere.annotation.Nullable;
2322
import org.apache.log4j.Level;
@@ -162,4 +161,4 @@ public static String getLevelString(@Nullable Level level) {
162161

163162
private Log4jUtils() {
164163
}
165-
}
164+
}

microsphere-log4j/src/test/java/io/microsphere/logging/log4j/Log4JLoggingTest.java

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

1818
package io.microsphere.logging.log4j;
1919

20-
2120
import io.microsphere.logging.Logger;
2221
import org.junit.jupiter.api.BeforeEach;
2322
import org.junit.jupiter.api.Test;
@@ -116,4 +115,4 @@ void testGetName() {
116115
void testGetPriority() {
117116
assertEquals(PRIORITY, this.logging.getPriority());
118117
}
119-
}
118+
}

microsphere-log4j/src/test/java/io/microsphere/logging/log4j/Log4jLoggerFactoryTest.java

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

1818
package io.microsphere.logging.log4j;
1919

20-
2120
import io.microsphere.logging.Logger;
2221
import io.microsphere.logging.LoggerFactory;
2322
import org.junit.jupiter.api.BeforeEach;
@@ -58,4 +57,4 @@ void testCreateLogger() {
5857
void testGetPriority() {
5958
assertEquals(-3, this.factory.getPriority());
6059
}
61-
}
60+
}

microsphere-log4j/src/test/java/io/microsphere/logging/log4j/Log4jLoggerTest.java

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

1818
package io.microsphere.logging.log4j;
1919

20-
2120
import org.apache.log4j.Logger;
2221
import org.junit.jupiter.api.BeforeEach;
2322
import org.junit.jupiter.api.Test;
@@ -127,4 +126,4 @@ void testGetDelegate() {
127126
Logger logger = this.logger.unwrap(Logger.class);
128127
assertSame(logger, this.logger.getDelegate());
129128
}
130-
}
129+
}

microsphere-log4j/src/test/java/io/microsphere/logging/log4j/util/Log4jUtilsTest.java

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

1818
package io.microsphere.logging.log4j.util;
1919

20-
2120
import org.apache.log4j.Level;
2221
import org.apache.log4j.LogManager;
2322
import org.apache.log4j.Logger;
@@ -88,4 +87,4 @@ void assertLoggerLevel(String loggerName, String levelString) {
8887
assertEquals(levelString, getLevelString(loggerName));
8988
setLoggerLevel(loggerName, oldLevel);
9089
}
91-
}
90+
}

0 commit comments

Comments
 (0)