styling fix

just read how to style correctly
This commit is contained in:
Paco
2017-06-20 20:41:50 -03:00
committed by GitHub
parent 8b34e66520
commit 6edf2a5215

View File

@@ -5922,8 +5922,11 @@ public class PApplet implements PConstants {
public XML loadXML(String filename, String options) {
try {
BufferedReader br = createReader(filename);
if (br != null) return new XML(br, options);
else br = null;
if (br != null) {
return new XML(br, options);
} else {
br = null;
}
// can't use catch-all exception, since it might catch the
// RuntimeException about the incorrect case sensitivity