aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/java.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2019-06-27 07:17:25 -0500
committerMatt Godbolt <matt@godbolt.org>2019-06-27 07:17:25 -0500
commitaf3a68313a8c52edac63683f7204e46d4d06aadd (patch)
tree40234d4d7dbc55a8b6d07e1e042bbdcc11e142a9 /lib/compilers/java.js
parent1888ac397f9afec260dcd7370720ac938d831fa1 (diff)
parent4debebe03796b0821b306fabbeaed45a13f19fb7 (diff)
downloadcompiler-explorer-af3a68313a8c52edac63683f7204e46d4d06aadd.tar.gz
compiler-explorer-af3a68313a8c52edac63683f7204e46d4d06aadd.zip
Merge remote-tracking branch 'origin/master' into executorpane
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;
}