Remove empty statements

captchafix
Florens Douwes 11 years ago
parent a073960e81
commit 9d0d730084
  1. 2
      Clover/app/src/main/java/org/floens/chan/core/watch/WatchNotifier.java
  2. 5
      Clover/app/src/main/java/org/floens/chan/ui/fragment/ImageViewFragment.java

@ -64,8 +64,6 @@ public class WatchNotifier {
public void onForegroundChanged() {
if (WatchService.getActivityInForeground()) {
nm.cancel(NOTIFICATION_ID);
} else {
}
}

@ -81,9 +81,8 @@ public class ImageViewFragment extends Fragment implements ThumbnailImageViewCal
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
if (post == null) {
// No restoring
} else {
// No restoring
if (post != null) {
if (!post.hasImage) {
throw new IllegalArgumentException("Post has no image");
}

Loading…
Cancel
Save