Skip to content

Commit 1386f12

Browse files
committed
Changed so warnings aren't being thrown as errors
1 parent a3630e6 commit 1386f12

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drjava/src/edu/rice/cs/drjava/model/compiler/JavaxToolsCompiler.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ public List<? extends DJError> compile(List<? extends File> files, List<? extend
7676
optionList.add("-d");
7777
optionList.add(destination.getAbsolutePath());
7878
}
79-
if (showWarnings) {
80-
optionList.add("-Xlint");
81-
} else {
82-
optionList.add("-Xlint:none");
83-
}
8479

8580
// Prepare a diagnostic collector to collect compile errors
8681
DiagnosticCollector<JavaFileObject> diagnostics = new DiagnosticCollector<>();

0 commit comments

Comments
 (0)