diff --git a/F-Droid/src/com/google/zxing/integration/android/IntentIntegrator.java b/F-Droid/src/com/google/zxing/integration/android/IntentIntegrator.java index a3d043dec..f60213489 100644 --- a/F-Droid/src/com/google/zxing/integration/android/IntentIntegrator.java +++ b/F-Droid/src/com/google/zxing/integration/android/IntentIntegrator.java @@ -400,7 +400,6 @@ public class IntentIntegrator { return downloadDialog.show(); } - /** *

Call this from your {@link Activity}'s * {@link Activity#onActivityResult(int, int, Intent)} method.

@@ -432,7 +431,6 @@ public class IntentIntegrator { return null; } - /** * Defaults to type "TEXT_TYPE". * diff --git a/F-Droid/src/org/fdroid/fdroid/AppDetails.java b/F-Droid/src/org/fdroid/fdroid/AppDetails.java index 10e25d43b..c880eaa99 100644 --- a/F-Droid/src/org/fdroid/fdroid/AppDetails.java +++ b/F-Droid/src/org/fdroid/fdroid/AppDetails.java @@ -1205,7 +1205,6 @@ public class AppDetails extends AppCompatActivity implements ProgressListener, A final TextView summaryView = (TextView) view.findViewById(R.id.summary); summaryView.setText(app.summary); - layoutLinks = (ViewGroup) view.findViewById(R.id.ll_information); layoutLinksContent = (ViewGroup) layoutLinks.findViewById(R.id.ll_information_content); diff --git a/F-Droid/src/org/fdroid/fdroid/localrepo/SwapService.java b/F-Droid/src/org/fdroid/fdroid/localrepo/SwapService.java index ebbc5ee2d..144c53e4e 100644 --- a/F-Droid/src/org/fdroid/fdroid/localrepo/SwapService.java +++ b/F-Droid/src/org/fdroid/fdroid/localrepo/SwapService.java @@ -116,7 +116,6 @@ public class SwapService extends Service { bluetoothFinder.cancel(); } - // ========================================================== // Manage the current step // ("Step" refers to the current view being shown in the UI) @@ -287,7 +286,6 @@ public class SwapService extends Service { @Retention(RetentionPolicy.SOURCE) public @interface SwapStep { } - // ================================================= // Have selected a specific peer to swap with // (Rather than showing a generic QR code to scan) @@ -312,7 +310,6 @@ public class SwapService extends Service { return peer; } - // ========================================== // Remember apps user wants to swap // ========================================== @@ -373,7 +370,6 @@ public class SwapService extends Service { persistAppsToSwap(); } - // ============================================================= // Remember which swap technologies a user used in the past // ============================================================= @@ -469,7 +465,6 @@ public class SwapService extends Service { public static final String ACTION_PEER_FOUND = "org.fdroid.fdroid.SwapManager.ACTION_PEER_FOUND"; public static final String EXTRA_PEER = "EXTRA_PEER"; - // =============================================================== // Old SwapService stuff being merged into that. // =============================================================== diff --git a/F-Droid/src/org/fdroid/fdroid/localrepo/type/BluetoothSwap.java b/F-Droid/src/org/fdroid/fdroid/localrepo/type/BluetoothSwap.java index 40e594f4a..9a7d4b8aa 100644 --- a/F-Droid/src/org/fdroid/fdroid/localrepo/type/BluetoothSwap.java +++ b/F-Droid/src/org/fdroid/fdroid/localrepo/type/BluetoothSwap.java @@ -44,8 +44,6 @@ public final class BluetoothSwap extends SwapType { private BluetoothSwap(@NonNull Context context, @NonNull BluetoothAdapter adapter) { super(context); this.adapter = adapter; - - } @Override diff --git a/F-Droid/src/org/fdroid/fdroid/net/AsyncDownloaderFromAndroid.java b/F-Droid/src/org/fdroid/fdroid/net/AsyncDownloaderFromAndroid.java index 6ff4aa636..1906cc180 100644 --- a/F-Droid/src/org/fdroid/fdroid/net/AsyncDownloaderFromAndroid.java +++ b/F-Droid/src/org/fdroid/fdroid/net/AsyncDownloaderFromAndroid.java @@ -341,7 +341,6 @@ public class AsyncDownloaderFromAndroid implements AsyncDownloader { return -1; } - /** * Check if download was valid, see issue * http://code.google.com/p/android/issues/detail?id=18462 diff --git a/F-Droid/src/org/fdroid/fdroid/net/bluetooth/BluetoothClient.java b/F-Droid/src/org/fdroid/fdroid/net/bluetooth/BluetoothClient.java index e8f6e8b8c..1b85e5190 100644 --- a/F-Droid/src/org/fdroid/fdroid/net/bluetooth/BluetoothClient.java +++ b/F-Droid/src/org/fdroid/fdroid/net/bluetooth/BluetoothClient.java @@ -23,7 +23,6 @@ public class BluetoothClient { public BluetoothConnection openConnection() throws IOException { - BluetoothSocket socket = null; BluetoothConnection connection = null; try { diff --git a/F-Droid/src/org/fdroid/fdroid/net/bluetooth/BluetoothServer.java b/F-Droid/src/org/fdroid/fdroid/net/bluetooth/BluetoothServer.java index 2c10abeae..d676a19c7 100644 --- a/F-Droid/src/org/fdroid/fdroid/net/bluetooth/BluetoothServer.java +++ b/F-Droid/src/org/fdroid/fdroid/net/bluetooth/BluetoothServer.java @@ -358,5 +358,4 @@ public class BluetoothServer extends Thread { } } - } diff --git a/F-Droid/src/org/fdroid/fdroid/views/fragments/PreferencesFragment.java b/F-Droid/src/org/fdroid/fdroid/views/fragments/PreferencesFragment.java index bdc287e2d..dc43edf9c 100644 --- a/F-Droid/src/org/fdroid/fdroid/views/fragments/PreferencesFragment.java +++ b/F-Droid/src/org/fdroid/fdroid/views/fragments/PreferencesFragment.java @@ -320,5 +320,4 @@ public class PreferencesFragment extends PreferenceFragment updateSummary(key, true); } - } diff --git a/F-Droid/test/src/android/test/ProviderTestCase2MockContext.java b/F-Droid/test/src/android/test/ProviderTestCase2MockContext.java index a3b6b57ad..54ad5f97f 100644 --- a/F-Droid/test/src/android/test/ProviderTestCase2MockContext.java +++ b/F-Droid/test/src/android/test/ProviderTestCase2MockContext.java @@ -168,7 +168,6 @@ public abstract class ProviderTestCase2MockContext ex } } - /** * Gets the {@link MockContentResolver} created by this class during initialization. You * must use the methods of this resolver to access the provider under test. diff --git a/F-Droid/test/src/org/fdroid/fdroid/TestUtils.java b/F-Droid/test/src/org/fdroid/fdroid/TestUtils.java index 70ad5a9a5..3843cee83 100644 --- a/F-Droid/test/src/org/fdroid/fdroid/TestUtils.java +++ b/F-Droid/test/src/org/fdroid/fdroid/TestUtils.java @@ -222,7 +222,6 @@ public class TestUtils { Context context = instrumentation.getContext(); Context targetContext = instrumentation.getTargetContext(); - File[] dirsToTry = new File[]{ context.getCacheDir(), context.getFilesDir(), diff --git a/F-Droid/test/src/org/fdroid/fdroid/compat/FileCompatForTest.java b/F-Droid/test/src/org/fdroid/fdroid/compat/FileCompatForTest.java index e493b480c..07fb04ac6 100644 --- a/F-Droid/test/src/org/fdroid/fdroid/compat/FileCompatForTest.java +++ b/F-Droid/test/src/org/fdroid/fdroid/compat/FileCompatForTest.java @@ -24,5 +24,4 @@ public class FileCompatForTest extends FileCompat { symlinkLibcore(source, dest); } - } diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 2135e72c4..63eb9cb6c 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -14,6 +14,14 @@ + + + + + + + +