Polishing
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user