aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/java.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2019-06-10 22:56:42 -0500
committerMatt Godbolt <matt@godbolt.org>2019-06-10 22:56:42 -0500
commit366add6304f4cda525323970c2caedadc932c19f (patch)
treef5e8c58a20d22aa394c4bd78808ff3809807035b /lib/compilers/java.js
parentd06ed2c62890ebdedd653cee3a200b105ee909c3 (diff)
downloadcompiler-explorer-366add6304f4cda525323970c2caedadc932c19f.tar.gz
compiler-explorer-366add6304f4cda525323970c2caedadc932c19f.zip
Temporarily disable java (see #1438)
Diffstat (limited to 'lib/compilers/java.js')
-rw-r--r--lib/compilers/java.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compilers/java.js b/lib/compilers/java.js
index de5a514d4..132993ed6 100644
--- a/lib/compilers/java.js
+++ b/lib/compilers/java.js
@@ -88,7 +88,7 @@ class JavaCompiler extends BaseCompiler {
filters.binary = true;
return [
- '-Xlint:all',
+ '-Xlint:all'
];
}
@@ -233,7 +233,7 @@ class JavaCompiler extends BaseCompiler {
// They are all assigned to the previous explicit line number,
// because the line consists of multiple instructions.
while (currentInstr < method.instructions.length &&
- method.instructions[currentInstr].instrOffset !== instrOffset ) {
+ method.instructions[currentInstr].instrOffset !== instrOffset) {
if (currentSourceLine !== -1) {
// instructions without explicit line number get assigned the last explicit/same line number
@@ -262,7 +262,7 @@ class JavaCompiler extends BaseCompiler {
if (currentSourceLine !== -1) {
// Assign remaining instructions to the same source line
- while (currentInstr + 1 < method.instructions.length){
+ while (currentInstr + 1 < method.instructions.length) {
currentInstr++;
method.instructions[currentInstr].sourceLine = currentSourceLine;
}