MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / validateTarget

Method validateTarget

ij/src/main/java/ij/plugin/Compiler.java:293–301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

291 }
292
293 void validateTarget() {
294 if (target==4 || target==5) //Java 8 or 9
295 target = 8;
296 if (target<6)
297 target = 6;
298 if (target>IJ.javaVersion())
299 target = IJ.javaVersion();
300 Prefs.set(TARGET_KEY, target);
301 }
302
303 private static String getTargetAsString() {
304 if (target<8)

Callers 2

compileMethod · 0.95
showDialogMethod · 0.95

Calls 2

javaVersionMethod · 0.95
setMethod · 0.95

Tested by

no test coverage detected