Skip to content

Commit

Permalink
fix: resolve checkstyle complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylong committed Mar 18, 2023
1 parent 6b8ccd5 commit f7d0651
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,11 @@
import java.io.InputStream;
import java.lang.reflect.Field;

import org.apache.commons.jcs3.JCS;
import org.apache.commons.jcs3.access.CacheAccess;
import org.apache.commons.jcs3.engine.CompositeCacheAttributes;
import org.apache.commons.jcs3.engine.behavior.ICompositeCacheAttributes;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.Task;
import org.owasp.dependencycheck.Engine;
import org.owasp.dependencycheck.data.cache.DataCache;
import org.owasp.dependencycheck.utils.Settings;
import org.owasp.dependencycheck.xml.pom.Model;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.impl.StaticLoggerBinder;
Expand Down Expand Up @@ -150,7 +144,7 @@ public void setHostedSuppressionsUrl(final String hostedSuppressionsUrl) {
@Override
public final void execute() throws BuildException {
muteJCS();
ClassLoader current = Thread.currentThread().getContextClassLoader();
final ClassLoader current = Thread.currentThread().getContextClassLoader();
try {
Thread.currentThread().setContextClassLoader(getClass().getClassLoader());

Expand Down

0 comments on commit f7d0651

Please sign in to comment.