File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/org/scijava/launcher Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ public static void upgrade(BiConsumer<String, Double> subscriber)
279
279
throw new IOException ("Invalid Java root directory" );
280
280
}
281
281
282
- subscriber .accept ("Updating Java..." , null );
282
+ subscriber .accept ("Updating Java..." , Double . NaN );
283
283
284
284
// Download the mapping of platforms to Java download links.
285
285
String javaLinks = sysProp ("scijava.app.java-links" );
@@ -316,7 +316,7 @@ public static void upgrade(BiConsumer<String, Double> subscriber)
316
316
// This is only a heuristic, but it works for most Java archives.
317
317
if (s != null && dir [0 ] == null && s .endsWith ("/" )) dir [0 ] = s ;
318
318
// Forward the message on to our upgrade subscriber.
319
- subscriber .accept ("Unpacking " + s , null );
319
+ subscriber .accept ("Unpacking " + s , Double . NaN );
320
320
}));
321
321
322
322
// Write new installation location into the requested configuration file.
@@ -329,7 +329,7 @@ public static void upgrade(BiConsumer<String, Double> subscriber)
329
329
}
330
330
}
331
331
332
- subscriber .accept ("Java update complete" , null );
332
+ subscriber .accept ("Java update complete" , Double . NaN );
333
333
}
334
334
335
335
private static String sysProp (String key ) {
You can’t perform that action at this time.
0 commit comments