Code cleanup via AS

This commit is contained in:
Daniel Martí 2015-09-11 15:34:05 -07:00
parent 0f8c310c8d
commit 9cbefca4bb
2 changed files with 2 additions and 5 deletions

View File

@ -159,7 +159,7 @@ public class Request {
} }
try { Thread.sleep(100); } try { Thread.sleep(100); }
catch (Exception e){}; catch (Exception e){}
} }
return line; return line;

View File

@ -453,10 +453,7 @@ public class AppSecurityPermissions {
// Development permissions are only shown to the user if they are already // Development permissions are only shown to the user if they are already
// granted to the app -- if we are installing an app and they are not // granted to the app -- if we are installing an app and they are not
// already granted, they will not be granted as part of the install. // already granted, they will not be granted as part of the install.
if (isDevelopment && wasGranted) { return isDevelopment && wasGranted;
return true;
}
return false;
} }
private static class PermissionGroupInfoComparator implements Comparator<MyPermissionGroupInfo> { private static class PermissionGroupInfoComparator implements Comparator<MyPermissionGroupInfo> {