mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Modified extra whitespace lines in source code
Code is much easier to read if there isn't too much of a gap between lines. Primarily converted multi-line gaps into single line gaps.
This commit is contained in:
parent
a685ecf2c3
commit
94e8c991ee
34 changed files with 5 additions and 76 deletions
|
|
@ -59,7 +59,6 @@ public class CommonsApplication extends Application {
|
|||
public static final Object[] EVENT_LOGIN_ATTEMPT = {"MobileAppLoginAttempts", 5257721L};
|
||||
public static final Object[] EVENT_SHARE_ATTEMPT = {"MobileAppShareAttempts", 5346170L};
|
||||
public static final Object[] EVENT_CATEGORIZATION_ATTEMPT = {"MobileAppCategorizationAttempts", 5359208L};
|
||||
|
||||
|
||||
public static final String DEFAULT_EDIT_SUMMARY = "Uploaded using Android Commons app";
|
||||
|
||||
|
|
@ -94,7 +93,6 @@ public class CommonsApplication extends Application {
|
|||
System.setProperty("in.yuvi.http.fluent.PROGRESS_TRIGGER_THRESHOLD", "3.0");
|
||||
api = createMWApi();
|
||||
|
||||
|
||||
ImageLoaderConfiguration imageLoaderConfiguration = new ImageLoaderConfiguration.Builder(getApplicationContext())
|
||||
.discCache(new TotalSizeLimitedDiscCache(StorageUtils.getCacheDirectory(this), 128 * 1024 * 1024))
|
||||
.build();
|
||||
|
|
@ -111,7 +109,6 @@ public class CommonsApplication extends Application {
|
|||
// Initialize EventLogging
|
||||
EventLog.setApp(this);
|
||||
|
||||
|
||||
// based off https://developer.android.com/training/displaying-bitmaps/cache-bitmap.html
|
||||
// Cache for 1/8th of available VM memory
|
||||
long maxMem = Runtime.getRuntime().maxMemory();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue