diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-13 10:58:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-20 10:35:54 +0200 |
commit | 3f210b0e75ba338306f3ddb7f237db5ddb2c8f2d (patch) | |
tree | 2073295ca6500c252a419bbb74f91a83e4d42263 /android | |
parent | java: avoid if..else when returning boolean values (diff) | |
download | core-3f210b0e75ba338306f3ddb7f237db5ddb2c8f2d.tar.gz core-3f210b0e75ba338306f3ddb7f237db5ddb2c8f2d.zip |
java: remove unnecessary return statements
found by PMD
Change-Id: I3d150421948d17eaed34fac2b1a212da34288d1a
Diffstat (limited to 'android')
2 files changed, 0 insertions, 3 deletions
diff --git a/android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java b/android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java index 6c34eafef996..2b645147ab24 100644 --- a/android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java +++ b/android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java @@ -956,7 +956,6 @@ public class DocumentLoader Animation.RELATIVE_TO_SELF, 0, Animation.RELATIVE_TO_SELF, 0); outToLeft.setDuration(500); viewFlipper.setOutAnimation(outToLeft); - return; } private void setAnimationInFromLeft(){ @@ -969,7 +968,6 @@ public class DocumentLoader Animation.RELATIVE_TO_SELF, 0, Animation.RELATIVE_TO_SELF, 0); outToRight.setDuration(500); viewFlipper.setOutAnimation(outToRight); - return; } private PageViewer fetch( int page ){ diff --git a/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java b/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java index f573eb7b1849..c36c0b66ea6d 100644 --- a/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java +++ b/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java @@ -387,7 +387,6 @@ public class LibreOfficeUIActivity extends SherlockActivity implements ActionBar break; } this.onResume(); - return; } public void readPreferences(){ |