language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-web/src/test/java/org/springframework/web/server/adapter/DefaultServerWebExchangeTests.java | @@ -68,4 +68,4 @@ private DefaultServerWebExchange createExchange(MockServerHttpRequest request) {
new AcceptHeaderLocaleContextResolver());
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-web/src/test/java/org/springframework/web/server/session/DefaultWebSessionManagerTests.java | @@ -63,7 +63,7 @@ public class DefaultWebSessionManagerTests {
@Mock
private WebSession updateSession;
-
+
@Before
public void setUp() throws Exception {
| true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-web/src/test/java/org/springframework/web/server/session/InMemoryWebSessionStoreTests.java | @@ -131,4 +131,4 @@ public void expirationChecks() {
assertNotNull(this.store.retrieveSession(session5.getId()).block());
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-web/src/test/java/org/springframework/web/util/ServletContextPropertyUtilsTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2013 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,25 +26,24 @@
*/
public class ServletC... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-web/src/test/java/org/springframework/web/util/UrlPathHelperTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2015 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -443,4 +443,4 @@ public void getOriginatingQ... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-web/src/test/java/org/springframework/web/util/pattern/PathPatternParserTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -475,7 +475,7 @@ private void assertNoMatch(... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-web/src/test/java/org/springframework/web/util/pattern/PathPatternTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -95,7 +95,7 @@ private void assertMatches(Pa... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/DispatcherHandlerErrorTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -143,7 +143,7 @@ public void responseBodyMes... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/function/client/DefaultClientRequestBuilderTests.java | @@ -184,4 +184,4 @@ public void bodyParameterizedTypeReference() {
.verifyComplete();
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/function/client/DefaultClientResponseBuilderTests.java | @@ -101,4 +101,4 @@ public void from() throws Exception {
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/function/client/support/ClientResponseWrapperTests.java | @@ -160,4 +160,4 @@ public void toEntityListParameterizedTypeReference() throws Exception {
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/function/server/DefaultServerRequestBuilderTests.java | @@ -78,4 +78,4 @@ public void from() throws Exception {
.verifyComplete();
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/function/server/DefaultServerResponseBuilderTests.java | @@ -384,4 +384,4 @@ public void notModifiedLastModified() {
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/function/server/NestedRouteIntegrationTests.java | @@ -43,7 +43,7 @@ protected RouterFunction<?> routerFunction() {
return nest(path("/foo/"),
route(GET("/bar"), nestedHandler::bar)
.andRoute(GET("/baz"), nestedHandler::baz))
- .andNest(GET("/{foo}"),
+ .andNest(GET("/{foo}"),
route(GET("/bar"), nestedHandler::variables).and(
nest(GET... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/function/server/PathResourceLookupFunctionTests.java | @@ -129,4 +129,4 @@ public void composeResourceLookupFunction() throws Exception {
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/function/server/support/RouterFunctionMappingTests.java | @@ -67,4 +67,4 @@ public void noMatch() {
.verify();
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/function/server/support/ServerRequestWrapperTests.java | @@ -186,4 +186,4 @@ public void bodyToFluxParameterizedTypeReference() throws Exception {
assertSame(result, wrapper.bodyToFlux(reference));
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/resource/CachingResourceResolverTests.java | @@ -43,7 +43,7 @@ public class CachingResourceResolverTests {
private static final Duration TIMEOUT = Duration.ofSeconds(5);
-
+
private Cache cache;
private ResourceResolverChain chain; | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/resource/EncodedResourceResolverTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -53,7 +53,7 @@ public class EncodedResourceR... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/resource/FixedVersionStrategyTests.java | @@ -32,7 +32,7 @@ public class FixedVersionStrategyTests {
private static final String PATH = "js/foo.js";
-
+
private FixedVersionStrategy strategy;
| true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/resource/PathResourceResolverTests.java | @@ -40,7 +40,7 @@ public class PathResourceResolverTests {
private static final Duration TIMEOUT = Duration.ofSeconds(5);
-
+
private final PathResourceResolver resolver = new PathResourceResolver();
| true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/resource/ResourceTransformerSupportTests.java | @@ -43,7 +43,7 @@ public class ResourceTransformerSupportTests {
private static final Duration TIMEOUT = Duration.ofSeconds(5);
-
+
private ResourceTransformerChain chain;
private TestResourceTransformerSupport transformer; | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/resource/ResourceUrlProviderTests.java | @@ -51,7 +51,7 @@ public class ResourceUrlProviderTests {
private static final Duration TIMEOUT = Duration.ofSeconds(5);
-
+
private final List<Resource> locations = new ArrayList<>();
private final ResourceWebHandler handler = new ResourceWebHandler(); | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/resource/WebJarsResourceResolverTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2016 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,7 +48,7 @@ public class WebJarsResourceR... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/result/condition/HeadersRequestConditionTests.java | @@ -46,7 +46,7 @@ public void headerEquals() {
public void headerPresent() {
MockServerWebExchange exchange = MockServerWebExchange.from(get("/").header("Accept", ""));
HeadersRequestCondition condition = new HeadersRequestCondition("accept");
-
+
assertNotNull(condition.getMatchingCondition(exchange));
}... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/result/method/HandlerMethodMappingTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -182,4 +182,4 @@ public void handlerMethod1(... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/RequestParamMapMethodArgumentResolverTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -109,4 +109,4 @@ public void handle(
@Re... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/SessionAttributesHandlerTests.java | @@ -109,4 +109,4 @@ public void storeAttributes() {
private static class TestController {
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/NashornScriptTemplateTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -60,7 +60,7 @@ public void renderTemplateWit... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webmvc/src/test/java/org/springframework/context/TestListener.java | @@ -23,4 +23,4 @@ public void onApplicationEvent(ApplicationEvent e) {
++eventCount;
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webmvc/src/test/java/org/springframework/web/context/ServletConfigAwareBean.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,4 +33,4 @@ public void setServletConfig(... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webmvc/src/test/java/org/springframework/web/context/ServletContextAwareBean.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,4 +33,4 @@ public void setServletContext... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webmvc/src/test/java/org/springframework/web/servlet/config/AnnotationDrivenBeanDefinitionParserTests.java | @@ -259,4 +259,4 @@ public String[] resolveMessageCodes(String errorCode, String objectName, String
class TestPathMatcher extends AntPathMatcher { }
-class TestPathHelper extends UrlPathHelper { }
\ No newline at end of file
+class TestPathHelper extends UrlPathHelper { } | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webmvc/src/test/java/org/springframework/web/servlet/handler/HandlerMethodMappingTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2015 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -309,4 +309,4 @@ public void handlerMethod1(... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/HttpEntityMethodProcessorMockTests.java | @@ -719,4 +719,4 @@ public ResponseEntity<Resource> handle5() {
public static class CustomHttpEntity extends HttpEntity<Object> {
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/MatrixVariablesMethodArgumentResolverTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2016 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -152,4 +152,4 @@ public void handle(
@Ma... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilderTests.java | @@ -277,7 +277,7 @@ public void fromMethodCallPlain() {
assertThat(uriComponents.toUriString(), endsWith("/something/else"));
}
- @Test
+ @Test
public void fromMethodCallOnSubclass() {
UriComponents uriComponents = fromMethodCall(on(ExtendedController.class).myMethod(null)).build();
| true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/UriComponentsBuilderMethodArgumentResolverTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -86,4 +86,4 @@ public void resolveArgument()... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webmvc/src/test/java/org/springframework/web/servlet/mvc/method/annotation/ViewMethodReturnValueHandlerTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -90,4 +90,4 @@ View view() {
return null;... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webmvc/src/test/java/org/springframework/web/servlet/support/RequestDataValueProcessorWrapper.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2013 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,4 +47,4 @@ public Map<String, String> ge... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-webmvc/src/test/java/org/springframework/web/servlet/tags/form/TestTypes.java | @@ -38,4 +38,4 @@ public String toString() {
return "TestEnum: " + name();
}
-}
\ No newline at end of file
+} | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-websocket/src/test/java/org/springframework/web/socket/messaging/DefaultSimpUserRegistryTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -207,4 +207,4 @@ public String getName() {
... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | spring-websocket/src/test/java/org/springframework/web/socket/messaging/WebSocketStompClientIntegrationTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2015 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -219,4 +219,4 @@ public void handleTransport... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | src/test/java/org/springframework/context/annotation/jsr330/ClassPathBeanDefinitionScannerJsr330ScopeIntegrationTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2013 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -335,12 +335,12 @@ else if (type.startsWith(... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | src/test/java/org/springframework/context/annotation/scope/ClassPathBeanDefinitionScannerScopeIntegrationTests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2016 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -295,12 +295,12 @@ private ApplicationContex... | true |
Other | spring-projects | spring-framework | a89e716cc71a8741385a0224b5d7eb7ce009e11a.json | Use tabs rather than spaces in tests
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968 | src/test/java/org/springframework/expression/spel/support/Spr7538Tests.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2016 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -62,4 +62,4 @@ public boolean checkCompleten... | true |
Other | spring-projects | spring-framework | ad6d183a0614adaa0bb1493a9500a4a9b412c1e2.json | Remove unneeded conditional logic
Update `ConversionUtils` to remove conditional logic that isn't
necessary.
Issue: SPR-16968 | spring-core/src/main/java/org/springframework/core/convert/support/ConversionUtils.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -62,14 +62,12 @@ public static boolean canCo... | false |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-aop/src/main/java/org/springframework/aop/TrueClassFilter.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@
* @author Rod Johnson
*/
... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-aop/src/main/java/org/springframework/aop/TrueMethodMatcher.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2015 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@
* @author Rod Johnson
*/
... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-aop/src/main/java/org/springframework/aop/TruePointcut.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@
* @author Rod Johnson
*/
... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-aop/src/main/java/org/springframework/aop/aspectj/AspectJExpressionPointcut.java | @@ -561,6 +561,19 @@ public String toString() {
return sb.toString();
}
+ //---------------------------------------------------------------------
+ // Serialization support
+ //---------------------------------------------------------------------
+
+ private void readObject(ObjectInputStream ois) throws IOExcept... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/InstantiationModelAwarePointcutAdvisorImpl.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,7 +42,7 @@
* @since 2.0
*/
@Suppres... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/NotAnAtAspectException.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@
@SuppressWarnings("serial")
... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/ProxyCreationContext.java | @@ -27,13 +27,17 @@
* @author Ramnivas Laddad
* @since 2.5
*/
-public class ProxyCreationContext {
+public final class ProxyCreationContext {
/** ThreadLocal holding the current proxied bean name during Advisor matching. */
private static final ThreadLocal<String> currentProxiedBeanName =
new NamedThrea... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-aop/src/main/java/org/springframework/aop/interceptor/ExposeInvocationInterceptor.java | @@ -41,7 +41,7 @@
* @author Juergen Hoeller
*/
@SuppressWarnings("serial")
-public class ExposeInvocationInterceptor implements MethodInterceptor, PriorityOrdered, Serializable {
+public final class ExposeInvocationInterceptor implements MethodInterceptor, PriorityOrdered, Serializable {
/** Singleton instance... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-aop/src/main/java/org/springframework/aop/target/EmptyTargetSource.java | @@ -30,7 +30,7 @@
* @author Rod Johnson
* @author Juergen Hoeller
*/
-public class EmptyTargetSource implements TargetSource, Serializable {
+public final class EmptyTargetSource implements TargetSource, Serializable {
/** use serialVersionUID from Spring 1.2 for interoperability. */
private static final lo... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-aspects/src/main/java/org/springframework/cache/aspectj/AnyThrow.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2015 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,11 @@
*
* @author Stephane Nic... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/BeanInstantiationException.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,13 +31,13 @@
@SuppressWarnings("serial"... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/CachedIntrospectionResults.java | @@ -71,7 +71,7 @@
* @see #clearClassLoader(ClassLoader)
* @see #forClass(Class)
*/
-public class CachedIntrospectionResults {
+public final class CachedIntrospectionResults {
/**
* System property that instructs Spring to use the {@link Introspector#IGNORE_ALL_BEANINFO} | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/InvalidPropertyException.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,9 +28,9 @@
@SuppressWarnings("serial")
... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/NotWritablePropertyException.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@
public class NotWritableProp... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/PropertyAccessException.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@
public abstract class Proper... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/PropertyBatchUpdateException.java | @@ -40,7 +40,7 @@
public class PropertyBatchUpdateException extends BeansException {
/** List of PropertyAccessException objects. */
- private PropertyAccessException[] propertyAccessExceptions;
+ private final PropertyAccessException[] propertyAccessExceptions;
/** | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/PropertyDescriptorUtils.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,7 +30,12 @@
* @author Chris Beams
* ... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/PropertyEditorRegistrySupport.java | @@ -517,7 +517,7 @@ private void addStrippedPropertyPaths(List<String> strippedPaths, String nestedP
* Holder for a registered custom editor with property name.
* Keeps the PropertyEditor itself plus the type it was registered for.
*/
- private static class CustomEditorHolder {
+ private static final class Cus... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/factory/BeanCreationException.java | @@ -35,10 +35,10 @@
public class BeanCreationException extends FatalBeanException {
@Nullable
- private String beanName;
+ private final String beanName;
@Nullable
- private String resourceDescription;
+ private final String resourceDescription;
@Nullable
private List<Throwable> relatedCauses;
@@ -50,6 +... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/factory/BeanDefinitionStoreException.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,10 +31,10 @@
public class BeanDefinitio... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/factory/BeanNotOfRequiredTypeException.java | @@ -29,13 +29,13 @@
public class BeanNotOfRequiredTypeException extends BeansException {
/** The name of the instance that was of the wrong type. */
- private String beanName;
+ private final String beanName;
/** The required type. */
- private Class<?> requiredType;
+ private final Class<?> requiredType;
... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/factory/CannotLoadBeanClassException.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,13 +30,13 @@
public class CannotLoadBea... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/factory/NoSuchBeanDefinitionException.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -36,10 +36,10 @@
public class NoSuchBeanDef... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/factory/NoUniqueBeanDefinitionException.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,10 +33,10 @@
@SuppressWarnings("serial"... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/factory/UnsatisfiedDependencyException.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,7 +33,7 @@
public class UnsatisfiedDepe... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/factory/config/PropertyPlaceholderConfigurer.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -250,7 +250,7 @@ public String resolveString... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/factory/support/BeanDefinitionBuilder.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -34,7 +34,7 @@
* @author Juergen Hoeller
... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-beans/src/main/java/org/springframework/beans/factory/support/BeanDefinitionReaderUtils.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2016 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@
* @see PropertiesBeanDefini... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context-support/src/main/java/org/springframework/mail/MailSendException.java | @@ -37,7 +37,7 @@ public class MailSendException extends MailException {
private final transient Map<Object, Exception> failedMessages;
@Nullable
- private Exception[] messageExceptions;
+ private final Exception[] messageExceptions;
/**
@@ -56,6 +56,7 @@ public MailSendException(String msg) {
public Mail... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/cache/config/CacheManagementConfigUtils.java | @@ -22,7 +22,7 @@
* @author Juergen Hoeller
* @since 4.1
*/
-public class CacheManagementConfigUtils {
+public final class CacheManagementConfigUtils {
/**
* The name of the cache advisor bean.
@@ -48,4 +48,8 @@ public class CacheManagementConfigUtils {
public static final String JCACHE_ASPECT_BEAN_NAME ... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/context/annotation/AnnotationConfigUtils.java | @@ -60,7 +60,7 @@
* @see org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor
* @see org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
*/
-public class AnnotationConfigUtils {
+public final class AnnotationConfigUtils {
/**
* The bean name of the interna... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/context/annotation/BeanAnnotationHelper.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2016 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,12 @@
* @author Juergen Hoeller
... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/context/annotation/ScopedProxyCreator.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2009 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,12 @@
* @since 3.0
* @see org.... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/context/index/CandidateComponentsIndexLoader.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@
* @author Stephane Nicoll
... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/context/support/PostProcessorRegistrationDelegate.java | @@ -48,7 +48,12 @@
* @author Juergen Hoeller
* @since 4.0
*/
-class PostProcessorRegistrationDelegate {
+final class PostProcessorRegistrationDelegate {
+
+
+ private PostProcessorRegistrationDelegate() {
+ }
+
public static void invokeBeanFactoryPostProcessors(
ConfigurableListableBeanFactory beanFactory... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/format/datetime/joda/JodaTimeContextHolder.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2016 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -38,6 +38,10 @@ public final class JodaTimeC... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/format/datetime/joda/JodaTimeConverters.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2014 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -46,6 +46,11 @@
*/
final class JodaTimeCo... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/format/datetime/standard/DateTimeContextHolder.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2016 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,6 +35,10 @@ public final class DateTimeC... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/format/datetime/standard/DateTimeConverters.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2016 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,6 +43,11 @@
*/
final class DateTimeCo... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/jmx/support/ObjectNameManager.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,12 @@
* @since 1.2
* @see java... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/scheduling/config/TaskManagementConfigUtils.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2014 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@
* @author Juergen Hoeller
... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/scripting/ScriptCompilationException.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@
public class ScriptCompilati... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-context/src/main/java/org/springframework/scripting/bsh/BshScriptUtils.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2017 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -225,7 +225,7 @@ private boolean isProxyForS... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-core/src/main/java/org/springframework/core/ReactiveTypeDescriptor.java | @@ -28,7 +28,7 @@
* @author Rossen Stoyanchev
* @since 5.0
*/
-public class ReactiveTypeDescriptor {
+public final class ReactiveTypeDescriptor {
private final Class<?> reactiveType;
| true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-core/src/main/java/org/springframework/core/SpringVersion.java | @@ -1,5 +1,5 @@
/*
- * Copyright 2002-2012 the original author or authors.
+ * Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,12 @@
* @author Juergen Hoeller
... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java | @@ -2047,7 +2047,7 @@ private List<A> getValue(AnnotatedElement element, Annotation annotation) {
* @see #getAttributeAliasNames
* @see #getAttributeOverrideName
*/
- private static class AliasDescriptor {
+ private static final class AliasDescriptor {
private final Method sourceAttribute;
| true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-core/src/main/java/org/springframework/core/codec/CharSequenceEncoder.java | @@ -42,7 +42,7 @@
* @since 5.0
* @see StringDecoder
*/
-public class CharSequenceEncoder extends AbstractEncoder<CharSequence> {
+public final class CharSequenceEncoder extends AbstractEncoder<CharSequence> {
/**
* The default charset used by the encoder. | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-core/src/main/java/org/springframework/core/codec/StringDecoder.java | @@ -53,7 +53,7 @@
* @since 5.0
* @see CharSequenceEncoder
*/
-public class StringDecoder extends AbstractDataBufferDecoder<String> {
+public final class StringDecoder extends AbstractDataBufferDecoder<String> {
private static final DataBuffer END_FRAME = new DefaultDataBufferFactory().wrap(new byte[0]);
| true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-core/src/main/java/org/springframework/core/env/ProfilesParser.java | @@ -31,7 +31,10 @@
* @author Phillip Webb
* @since 5.1
*/
-class ProfilesParser {
+final class ProfilesParser {
+
+ private ProfilesParser() {
+ }
static Profiles parse(String... expressions) {
Assert.notEmpty(expressions, "Must specify at least one profile"); | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-core/src/main/java/org/springframework/util/ReflectionUtils.java | @@ -57,6 +57,27 @@ public abstract class ReflectionUtils {
private static final Field[] NO_FIELDS = {};
+ /**
+ * Pre-built FieldFilter that matches all non-static, non-final fields.
+ */
+ public static final FieldFilter COPYABLE_FIELDS =
+ field -> !(Modifier.isStatic(field.getModifiers()) || Modifier.isFin... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-expression/src/main/java/org/springframework/expression/ExpressionException.java | @@ -29,7 +29,7 @@
public class ExpressionException extends RuntimeException {
@Nullable
- protected String expressionString;
+ protected final String expressionString;
protected int position; // -1 if not known; should be known in all reasonable cases
@@ -40,6 +40,8 @@ public class ExpressionException exten... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-expression/src/main/java/org/springframework/expression/spel/CodeFlow.java | @@ -1009,6 +1009,21 @@ public static void insertNumericUnboxOrPrimitiveTypeCoercion(
}
}
+ public static final String toBoxedDescriptor(String primitiveDescriptor) {
+ switch (primitiveDescriptor.charAt(0)) {
+ case 'I': return "Ljava/lang/Integer";
+ case 'J': return "Ljava/lang/Long";
+ case 'F': return... | true |
Other | spring-projects | spring-framework | eeebd51f57f452c57bc159fa8a2ad9746c4c2f8c.json | Use consistent class design
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968 | spring-expression/src/main/java/org/springframework/expression/spel/ast/Operator.java | @@ -41,7 +41,7 @@
public abstract class Operator extends SpelNodeImpl {
private final String operatorName;
-
+
// The descriptors of the runtime operand values are used if the discovered declared
// descriptors are not providing enough information (for example a generic type
// whose accessors seem to only ... | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.