From 83eb83025a1c9bf88a32307f35dcdd7aa25e629e Mon Sep 17 00:00:00 2001 From: Faisal Hameed Date: Fri, 24 Jun 2016 05:30:46 +0500 Subject: [PATCH] Fixing squid:S1444 - "public static" fields should be constant. --- app/src/main/java/us/shandian/giga/util/CrashHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/us/shandian/giga/util/CrashHandler.java b/app/src/main/java/us/shandian/giga/util/CrashHandler.java index dc3b76fb2..6f6564e2f 100644 --- a/app/src/main/java/us/shandian/giga/util/CrashHandler.java +++ b/app/src/main/java/us/shandian/giga/util/CrashHandler.java @@ -11,9 +11,9 @@ import java.io.PrintWriter; //todo: replace this by using the internal crash handler of newpipe public class CrashHandler implements Thread.UncaughtExceptionHandler { - public static String CRASH_DIR = Environment.getExternalStorageDirectory().getPath() + "/GigaCrash/"; - public static String CRASH_LOG = CRASH_DIR + "last_crash.log"; - public static String CRASH_TAG = CRASH_DIR + ".crashed"; + public static final String CRASH_DIR = Environment.getExternalStorageDirectory().getPath() + "/GigaCrash/"; + public static final String CRASH_LOG = CRASH_DIR + "last_crash.log"; + public static final String CRASH_TAG = CRASH_DIR + ".crashed"; private static String ANDROID = Build.VERSION.RELEASE; private static String MODEL = Build.MODEL;