Skip to content

Commit be4ba41

Browse files
authored
Remove duplicated line separators and trailing whitespace from Java codebase
1 parent 4b73b12 commit be4ba41

35 files changed

Lines changed: 35 additions & 45 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/ConfigUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,4 @@ public static WebEndpointConfig getWebEndpointConfig(Map<String, Object> metadat
7979
private ConfigUtils() {
8080
}
8181
}
82+

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,4 @@ public void setProduces(@Nullable String[] produces) {
138138
}
139139
}
140140
}
141+

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+
}

0 commit comments

Comments
 (0)