Skip to content

Commit 5ad3188

Browse files
committed
Merge pull request #163 from omerjerk/master
remove unnecessary throw catch statement
2 parents 7a01f04 + f286c86 commit 5ad3188

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/processing/mode/android/AndroidMode.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ protected File getCoreZipLocation() {
124124
public void loadSDK() {
125125
try {
126126
sdk = AndroidSDK.load();
127-
} catch (BadSDKException e) {
128-
e.printStackTrace();
129127
} catch (IOException e) {
130128
e.printStackTrace();
131129
}

src/processing/mode/android/AndroidSDK.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ private static File findAndroidTool(final File tools) throws BadSDKException {
206206
* @throws BadSDKException
207207
* @throws IOException
208208
*/
209-
public static AndroidSDK load() throws BadSDKException, IOException {
209+
public static AndroidSDK load() throws IOException {
210210
// The environment variable is king. The preferences.txt entry is a page.
211211
final String sdkEnvPath = Platform.getenv("ANDROID_SDK");
212212
if (sdkEnvPath != null) {

0 commit comments

Comments
 (0)