Skip to content

Commit

Permalink
Fix indents and copy/paste errors
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1589983 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
markt-asf committed Apr 25, 2014
1 parent 5517c55 commit ad3b34a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions java/org/apache/jasper/compiler/TagPluginManager.java
Expand Up @@ -79,17 +79,17 @@ private void init(ErrorDispatcher err) throws JasperException {
if (Constants.IS_SECURITY_ENABLED) {
PrivilegedGetTccl pa = new PrivilegedGetTccl();
original = AccessController.doPrivileged(pa);
} else {
original = Thread.currentThread().getContextClassLoader();
}
} else {
original = Thread.currentThread().getContextClassLoader();
}
try {
if (Constants.IS_SECURITY_ENABLED) {
PrivilegedSetTccl pa =
new PrivilegedSetTccl(JspDocumentParser.class.getClassLoader());
new PrivilegedSetTccl(TagPluginManager.class.getClassLoader());
AccessController.doPrivileged(pa);
} else {
Thread.currentThread().setContextClassLoader(
JspDocumentParser.class.getClassLoader());
TagPluginManager.class.getClassLoader());
}

parser = new TagPluginParser(ctxt, blockExternal);
Expand Down

0 comments on commit ad3b34a

Please sign in to comment.