mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 18:35:37 +01:00
styling fix
just read how to style correctly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user