Minor fix for classpath value in CodeServlet

This commit is contained in:
mauro 2019-09-25 23:13:39 +02:00 committed by Alexey Andreev
parent fe3436f053
commit 9314461fcf

View File

@ -151,7 +151,7 @@ public class CodeServlet extends HttpServlet {
public CodeServlet(String mainClass, String[] classPath) { public CodeServlet(String mainClass, String[] classPath) {
this.mainClass = mainClass; this.mainClass = mainClass;
this.classPath = classSource != null ? classPath.clone() : new String[0]; this.classPath = classPath != null ? classPath.clone() : new String[0];
httpClient = new HttpClient(); httpClient = new HttpClient();
httpClient.setFollowRedirects(false); httpClient.setFollowRedirects(false);