Skip to content

Commit df0c0b9

Browse files
committed
replace StringBuilder with primitive operations
Signed-off-by: Umair Khan <omerjerk@gmail.com>
1 parent 03052b8 commit df0c0b9

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/processing/mode/android/AndroidMode.java

+2-7
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,10 @@ public AndroidSDK getSDK() {
161161

162162
@Override
163163
public String getSearchPath() {
164-
StringBuilder tehPath = new StringBuilder(super.getSearchPath());
165-
tehPath.append(File.pathSeparator);
166-
167164
String androidJarPath = sdk.getSdkFolder().getAbsolutePath() + "/platforms/"
168165
+ "android-" + AndroidBuild.sdkVersion + "/android.jar";
169-
System.out.println("androidJarPath = " + androidJarPath);
170-
tehPath.append(androidJarPath);
171-
172-
return tehPath.toString();
166+
167+
return super.getSearchPath() + androidJarPath;
173168
}
174169

175170

0 commit comments

Comments
 (0)