Skip to content

Commit 3e7ba6c

Browse files
authored
Remove duplicated line separators and trailing whitespace from Java source files
1 parent dd17967 commit 3e7ba6c

40 files changed

Lines changed: 40 additions & 61 deletions

File tree

microsphere-spring-cloud-gateway-commons/src/main/java/io/microsphere/spring/cloud/gateway/commons/annotation/ConditionalOnMicrosphereGatewayEnabled.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@
4747
@ConditionalOnProperty(name = MICROSPHERE_GATEWAY_ENABLED_PROPERTY_NAME,
4848
havingValue = DEFAULT_MICROSPHERE_GATEWAY_ENABLED, matchIfMissing = true)
4949
public @interface ConditionalOnMicrosphereGatewayEnabled {
50-
}
50+
}

microsphere-spring-cloud-gateway-commons/src/main/java/io/microsphere/spring/cloud/gateway/commons/annotation/ConditionalOnMicrosphereWebEndpointMappingEnabled.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@
4848
@ConditionalOnProperty(name = MICROSPHERE_WEB_ENDPOINT_MAPPING_ENABLED_PROPERTY_NAME,
4949
havingValue = DEFAULT_MICROSPHERE_GATEWAY_ENABLED, matchIfMissing = true)
5050
public @interface ConditionalOnMicrosphereWebEndpointMappingEnabled {
51-
}
51+
}

microsphere-spring-cloud-gateway-commons/src/main/java/io/microsphere/spring/cloud/gateway/commons/config/WebEndpointConfigurationPropertiesBindHandlerAdvisor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ public void onFinish(ConfigurationPropertyName name, Bindable<?> target, BindCon
7777
public void setEnvironment(Environment environment) {
7878
this.environment = environment;
7979
}
80-
}
80+
}

microsphere-spring-cloud-gateway-commons/src/main/java/io/microsphere/spring/cloud/gateway/commons/constants/CommonConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ public interface CommonConstants {
3131
* The URI template variable name for application name
3232
*/
3333
String APPLICATION_NAME_URI_TEMPLATE_VARIABLE_NAME = "application";
34-
}
34+
}

microsphere-spring-cloud-gateway-commons/src/main/java/io/microsphere/spring/cloud/gateway/commons/constants/CommonsPropertyConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ public interface CommonsPropertyConstants {
6464
source = APPLICATION_SOURCE
6565
)
6666
String MICROSPHERE_WEB_ENDPOINT_MAPPING_ENABLED_PROPERTY_NAME = MICROSPHERE_WEB_ENDPOINT_MAPPING_PROPERTY_NAME_PREFIX + ENABLED_PROPERTY_NAME;
67-
}
67+
}

microsphere-spring-cloud-gateway-commons/src/main/java/io/microsphere/spring/cloud/gateway/commons/constants/RouteConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ public interface RouteConstants {
5656
* The attribute name of Web Endpoint rewrite path
5757
*/
5858
String WEB_ENDPOINT_REWRITE_PATH_ATTRIBUTE_NAME = "msgw-we-rewrite-path";
59-
}
59+
}

microsphere-spring-cloud-gateway-commons/src/test/java/io/microsphere/spring/cloud/gateway/commons/config/ConfigUtilsTest.java

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

1818
package io.microsphere.spring.cloud.gateway.commons.config;
1919

20-
2120
import org.junit.jupiter.api.BeforeEach;
2221
import org.junit.jupiter.api.Test;
2322
import org.springframework.boot.env.YamlPropertySourceLoader;
@@ -130,4 +129,4 @@ static void assertWebEndpointConfig(WebEndpointConfig config) {
130129
assertArrayEquals(ofArray("application/json"), exclude.getConsumes());
131130
assertArrayEquals(ofArray("plain/text"), exclude.getProduces());
132131
}
133-
}
132+
}

microsphere-spring-cloud-gateway-commons/src/test/java/io/microsphere/spring/cloud/gateway/commons/config/WebEndpointConfigurationPropertiesBindHandlerAdvisorTest.java

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

1818
package io.microsphere.spring.cloud.gateway.commons.config;
1919

20-
2120
import org.junit.jupiter.api.BeforeEach;
2221
import org.junit.jupiter.api.Test;
2322
import org.springframework.boot.context.properties.bind.BindHandler;
@@ -70,4 +69,4 @@ void testApply() {
7069
binder.bind("spring.cloud.gateway.routes[2].metadata", bindable);
7170
binder.bind("spring.cloud", bindable);
7271
}
73-
}
72+
}

microsphere-spring-cloud-gateway-commons/src/test/java/io/microsphere/spring/cloud/gateway/commons/constants/CommonConstantsTest.java

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

1818
package io.microsphere.spring.cloud.gateway.commons.constants;
1919

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

2322
import static io.microsphere.spring.cloud.gateway.commons.constants.CommonConstants.APPLICATION_NAME_URI_TEMPLATE_VARIABLE_NAME;
@@ -36,4 +35,4 @@ class CommonConstantsTest {
3635
void testConstants() {
3736
assertEquals("application", APPLICATION_NAME_URI_TEMPLATE_VARIABLE_NAME);
3837
}
39-
}
38+
}

microsphere-spring-cloud-gateway-commons/src/test/java/io/microsphere/spring/cloud/gateway/commons/constants/CommonsPropertyConstantsTest.java

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

1818
package io.microsphere.spring.cloud.gateway.commons.constants;
1919

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

2322
import static io.microsphere.spring.cloud.gateway.commons.constants.CommonsPropertyConstants.DEFAULT_MICROSPHERE_GATEWAY_ENABLED;
@@ -44,4 +43,4 @@ void testConstants() {
4443
assertEquals("microsphere.spring.cloud.web-endpoint-mapping.", MICROSPHERE_WEB_ENDPOINT_MAPPING_PROPERTY_NAME_PREFIX);
4544
assertEquals("microsphere.spring.cloud.web-endpoint-mapping.enabled", MICROSPHERE_WEB_ENDPOINT_MAPPING_ENABLED_PROPERTY_NAME);
4645
}
47-
}
46+
}

0 commit comments

Comments
 (0)