Skip to content

Commit 9424769

Browse files
Leemoonsoolresende
authored andcommitted
style
1 parent 2ec51a3 commit 9424769

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spark/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,10 +1223,10 @@ private HttpServer createHttpServer(File outputDir) {
12231223
Constructor<?> constructor = getClass().getClassLoader()
12241224
.loadClass(HttpServer.class.getName())
12251225
.getConstructor(new Class[]{
1226-
SparkConf.class, File.class, SecurityManager.class, int.class, String.class});
1226+
SparkConf.class, File.class, SecurityManager.class, int.class, String.class});
12271227

12281228
return (HttpServer) constructor.newInstance(new Object[] {
1229-
conf, outputDir, new SecurityManager(conf), 0, "HTTP Server"});
1229+
conf, outputDir, new SecurityManager(conf), 0, "HTTP Server"});
12301230
} catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException |
12311231
InstantiationException | InvocationTargetException e) {
12321232
// fallback to old constructor
@@ -1235,9 +1235,9 @@ private HttpServer createHttpServer(File outputDir) {
12351235
constructor = getClass().getClassLoader()
12361236
.loadClass(HttpServer.class.getName())
12371237
.getConstructor(new Class[]{
1238-
File.class, SecurityManager.class, int.class, String.class});
1238+
File.class, SecurityManager.class, int.class, String.class});
12391239
return (HttpServer) constructor.newInstance(new Object[] {
1240-
outputDir, new SecurityManager(conf), 0, "HTTP Server"});
1240+
outputDir, new SecurityManager(conf), 0, "HTTP Server"});
12411241
} catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException |
12421242
InstantiationException | InvocationTargetException e1) {
12431243
logger.error(e1.getMessage(), e1);

0 commit comments

Comments
 (0)