Issue #6026 - Limiting scope of PR

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2021-03-09 10:25:39 -06:00
parent da83f05c40
commit 74ecf3675b
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 3 additions and 3 deletions

View File

@ -716,8 +716,8 @@ public class ConstraintSecurityHandler extends SecurityHandler implements Constr
public void dump(Appendable out, String indent) throws IOException public void dump(Appendable out, String indent) throws IOException
{ {
dumpObjects(out, indent, dumpObjects(out, indent,
DumpableCollection.from("roles", _roles), DumpableCollection.from("roles", _roles),
DumpableCollection.from("constraints", _constraintMappings)); DumpableCollection.from("constraints", _constraintMappings));
} }
@Override @Override
@ -741,7 +741,7 @@ public class ConstraintSecurityHandler extends SecurityHandler implements Constr
Set<String> paths = getPathsWithUncoveredHttpMethods(); Set<String> paths = getPathsWithUncoveredHttpMethods();
if (paths != null && !paths.isEmpty()) if (paths != null && !paths.isEmpty())
{ {
LOG.warn("{} has uncovered http methods for the following paths: {}", LOG.warn("{} has uncovered HTTP methods for the following paths: {}",
ContextHandler.getCurrentContext(), paths); ContextHandler.getCurrentContext(), paths);
return true; return true;
} }