mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Remove redundant whitespace
Closes gh-37262 Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
+4
-4
@@ -78,10 +78,10 @@ public enum ArchitectureRules {
|
||||
static ArchRule javaClassesShouldNotImportKotlinAnnotations() {
|
||||
return ArchRuleDefinition.noClasses()
|
||||
.that(new DescribedPredicate<JavaClass>("is not a Kotlin class") {
|
||||
@Override
|
||||
public boolean test(JavaClass javaClass) {
|
||||
return javaClass.getSourceCodeLocation()
|
||||
.getSourceFileName().endsWith(".java");
|
||||
@Override
|
||||
public boolean test(JavaClass javaClass) {
|
||||
return javaClass.getSourceCodeLocation()
|
||||
.getSourceFileName().endsWith(".java");
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
+1
-1
@@ -173,7 +173,7 @@ public class ServletHttpHandlerAdapter implements Servlet {
|
||||
}
|
||||
catch (URISyntaxException ex) {
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Failed to get request URL: " + ex.getMessage());
|
||||
logger.debug("Failed to get request URL: " + ex.getMessage());
|
||||
}
|
||||
((HttpServletResponse) response).setStatus(400);
|
||||
asyncContext.complete();
|
||||
|
||||
Reference in New Issue
Block a user