diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-07-14 00:56:37 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-07-14 01:04:27 +0200 |
commit | de4a540efee75970a7ff7949ada2304c786b1da8 (patch) | |
tree | 0d9375e02015f20f7290a4423dd9731bfff3ebd2 /platform/android/viewer/src/com | |
parent | b8aeced92d5a3576e9bc5fbd87656dc97e380c52 (diff) | |
download | mupdf-de4a540efee75970a7ff7949ada2304c786b1da8.tar.xz |
Fix whitespace and indentation.
Diffstat (limited to 'platform/android/viewer/src/com')
5 files changed, 1 insertions, 6 deletions
diff --git a/platform/android/viewer/src/com/artifex/mupdfdemo/ChoosePDFActivity.java b/platform/android/viewer/src/com/artifex/mupdfdemo/ChoosePDFActivity.java index f6068bac..ca384015 100644 --- a/platform/android/viewer/src/com/artifex/mupdfdemo/ChoosePDFActivity.java +++ b/platform/android/viewer/src/com/artifex/mupdfdemo/ChoosePDFActivity.java @@ -44,7 +44,6 @@ public class ChoosePDFActivity extends ListActivity { mPurpose = PICK_KEY_FILE.equals(getIntent().getAction()) ? Purpose.PickKeyFile : Purpose.PickPDF; - String storageState = Environment.getExternalStorageState(); if (!Environment.MEDIA_MOUNTED.equals(storageState) diff --git a/platform/android/viewer/src/com/artifex/mupdfdemo/Deque.java b/platform/android/viewer/src/com/artifex/mupdfdemo/Deque.java index 4bb176b2..ad17bcc0 100644 --- a/platform/android/viewer/src/com/artifex/mupdfdemo/Deque.java +++ b/platform/android/viewer/src/com/artifex/mupdfdemo/Deque.java @@ -452,7 +452,6 @@ public interface Deque<E> extends Queue<E> { */ E peek(); - // *** Stack methods *** /** @@ -488,7 +487,6 @@ public interface Deque<E> extends Queue<E> { */ E pop(); - // *** Collection methods *** /** diff --git a/platform/android/viewer/src/com/artifex/mupdfdemo/MuPDFPageView.java b/platform/android/viewer/src/com/artifex/mupdfdemo/MuPDFPageView.java index ff6b6bbb..bca0254f 100644 --- a/platform/android/viewer/src/com/artifex/mupdfdemo/MuPDFPageView.java +++ b/platform/android/viewer/src/com/artifex/mupdfdemo/MuPDFPageView.java @@ -553,7 +553,6 @@ public class MuPDFPageView extends PageView implements MuPDFView { return true; } - @Override protected CancellableTaskDefinition<Void, Void> getDrawPageTask(final Bitmap bm, final int sizeX, final int sizeY, final int patchX, final int patchY, final int patchWidth, final int patchHeight) { diff --git a/platform/android/viewer/src/com/artifex/mupdfdemo/PageView.java b/platform/android/viewer/src/com/artifex/mupdfdemo/PageView.java index 2ee407cb..c897f414 100644 --- a/platform/android/viewer/src/com/artifex/mupdfdemo/PageView.java +++ b/platform/android/viewer/src/com/artifex/mupdfdemo/PageView.java @@ -656,7 +656,6 @@ public abstract class PageView extends ViewGroup { mDrawPatch = null; } - // Render the page in the background mDrawEntire = new CancellableAsyncTask<Void, Void>(getUpdatePageTask(mEntireBm, mSize.x, mSize.y, 0, 0, mSize.x, mSize.y)) { diff --git a/platform/android/viewer/src/com/artifex/mupdfdemo/ReaderView.java b/platform/android/viewer/src/com/artifex/mupdfdemo/ReaderView.java index 65d8f665..f91efa41 100644 --- a/platform/android/viewer/src/com/artifex/mupdfdemo/ReaderView.java +++ b/platform/android/viewer/src/com/artifex/mupdfdemo/ReaderView.java @@ -80,7 +80,7 @@ public class ReaderView public ReaderView(Context context, AttributeSet attrs) { super(context, attrs); - + // "Edit mode" means when the View is being displayed in the Android GUI editor. (this class // is instantiated in the IDE, so we need to be a bit careful what we do). if (isInEditMode()) |