Skip to content

Commit

Permalink
PMD issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferran Pons committed Nov 7, 2017
1 parent 8b7ece0 commit c398a3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions leku/src/androidTest/java/util/PermissionGranter.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ private boolean hasNeededPermission(Activity activity, String permissionNeeded)
return permissionStatus == PackageManager.PERMISSION_GRANTED;
}

public void waitInMillis(long millis) {
private void waitInMillis(long millis) {
try {
Thread.sleep(millis);
} catch (InterruptedException e) {
throw new RuntimeException("Cannot execute Thread.sleep()");
Log.d(PermissionGranter.class.getName(), "Cannot execute Thread.sleep()");
}
}

Expand Down

0 comments on commit c398a3c

Please sign in to comment.