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() {
|
static ArchRule javaClassesShouldNotImportKotlinAnnotations() {
|
||||||
return ArchRuleDefinition.noClasses()
|
return ArchRuleDefinition.noClasses()
|
||||||
.that(new DescribedPredicate<JavaClass>("is not a Kotlin class") {
|
.that(new DescribedPredicate<JavaClass>("is not a Kotlin class") {
|
||||||
@Override
|
@Override
|
||||||
public boolean test(JavaClass javaClass) {
|
public boolean test(JavaClass javaClass) {
|
||||||
return javaClass.getSourceCodeLocation()
|
return javaClass.getSourceCodeLocation()
|
||||||
.getSourceFileName().endsWith(".java");
|
.getSourceFileName().endsWith(".java");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -173,7 +173,7 @@ public class ServletHttpHandlerAdapter implements Servlet {
|
|||||||
}
|
}
|
||||||
catch (URISyntaxException ex) {
|
catch (URISyntaxException ex) {
|
||||||
if (logger.isDebugEnabled()) {
|
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);
|
((HttpServletResponse) response).setStatus(400);
|
||||||
asyncContext.complete();
|
asyncContext.complete();
|
||||||
|
|||||||
Reference in New Issue
Block a user