Polishing

This commit is contained in:
Juergen Hoeller
2018-11-22 20:38:26 +01:00
parent 2e55486cc3
commit 39925c334d
2 changed files with 3 additions and 3 deletions

View File

@@ -102,8 +102,8 @@ public class ObjectUtilsTests {
assertTrue(isEmpty(new Object[0]));
assertTrue(isEmpty(new Integer[0]));
assertFalse(isEmpty(new int[] { 42 }));
assertFalse(isEmpty(new Integer[] { 42 }));
assertFalse(isEmpty(new int[] {42}));
assertFalse(isEmpty(new Integer[] {42}));
}
@Test

View File

@@ -657,7 +657,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
}
if (path.contains("..") && StringUtils.cleanPath(path).contains("../")) {
if (logger.isTraceEnabled()) {
logger.trace("Invalid Path contains \"../\" after call to StringUtils#cleanPath: [" + path + "]");
logger.trace("Path contains \"../\" after call to StringUtils#cleanPath: [" + path + "]");
}
return true;
}