mirror of
https://github.com/rife2/bld
synced 2026-02-12 11:53:41 +01:00
Fix containsRelease method to check for --release instead of -release in JavacOptions
This commit is contained in:
parent
585325dd46
commit
26ff495b79
|
|
@ -301,7 +301,7 @@ public class JavacOptions extends ArrayList<String> {
|
||||||
* @since 1.5.18
|
* @since 1.5.18
|
||||||
*/
|
*/
|
||||||
public boolean containsRelease() {
|
public boolean containsRelease() {
|
||||||
return contains("-release");
|
return contains("--release");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue