Skip to content

Commit 1dd58ff

Browse files
committed
coala: Reformat
Signed-off-by: Ce Gao <[email protected]>
1 parent eef83e5 commit 1dd58ff

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/rprocessing/RLangPApplet.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
import org.renjin.sexp.SEXP;
2323
import org.renjin.sexp.Symbol;
2424

25+
import com.jogamp.newt.opengl.GLWindow;
26+
2527
import processing.awt.PSurfaceAWT;
2628
import processing.core.PApplet;
2729
import processing.core.PConstants;
@@ -35,8 +37,6 @@
3537
import rprocessing.util.Printer;
3638
import rprocessing.util.RScriptReader;
3739

38-
import com.jogamp.newt.opengl.GLWindow;
39-
4040
/**
4141
* RlangPApplet PApplet for R language, powered by Renjin.
4242
*
@@ -166,7 +166,8 @@ public void runBlock(final String[] arguments) throws RSketchError {
166166
}
167167
} finally {
168168
Thread.setDefaultUncaughtExceptionHandler(null);
169-
if (PApplet.platform == PConstants.MACOSX && Arrays.asList(arguments).contains("fullScreen")) {
169+
if (PApplet.platform == PConstants.MACOSX
170+
&& Arrays.asList(arguments).contains("fullScreen")) {
170171
// Frame should be OS-X fullscreen, and it won't stop being that unless the jvm
171172
// exits or we explicitly tell it to minimize.
172173
// (If it's disposed, it'll leave a gray blank window behind it.)

src/rprocessing/exception/RSketchError.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @author github.com/gaocegege
77
*/
88
public class RSketchError extends Exception {
9+
910
private static final long serialVersionUID = 6563629093797155634L;
1011
public final String fileName;
1112
public final int line;
@@ -23,7 +24,8 @@ public RSketchError(final String message, final String fileName, final int line)
2324
this(message, fileName, line, 0);
2425
}
2526

26-
public RSketchError(final String message, final String fileName, final int line, final int column) {
27+
public RSketchError(final String message, final String fileName, final int line,
28+
final int column) {
2729
super(message);
2830

2931
this.fileName = fileName;

0 commit comments

Comments
 (0)