Skip to content

Commit 4204495

Browse files
committed
change the name of instance of class Editor from parent to editor
Signed-off-by: Umair Khan <[email protected]>
1 parent 3965235 commit 4204495

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/processing/mode/android/AndroidMode.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,13 @@ public void loadSDK() {
130130
}
131131
}
132132

133-
public void checkSDK(Editor parent) {
133+
public void checkSDK(Editor editor) {
134134
if (sdk == null) {
135135
try {
136136
sdk = AndroidSDK.load();
137137
// FIXME REVERT THIS STATEMENT AFTER TESTING (should be ==)
138-
if (sdk == null && parent != null) {
139-
sdk = AndroidSDK.locate(parent, this);
138+
if (sdk == null && editor != null) {
139+
sdk = AndroidSDK.locate(editor, this);
140140
}
141141
} catch (BadSDKException e) {
142142
e.printStackTrace();

0 commit comments

Comments
 (0)