Fixing squid:S1444 - "public static" fields should be constant.

This commit is contained in:
Faisal Hameed 2016-06-24 05:30:46 +05:00
parent 25a776cc93
commit 83eb83025a

View file

@ -11,9 +11,9 @@ import java.io.PrintWriter;
//todo: replace this by using the internal crash handler of newpipe //todo: replace this by using the internal crash handler of newpipe
public class CrashHandler implements Thread.UncaughtExceptionHandler public class CrashHandler implements Thread.UncaughtExceptionHandler
{ {
public static String CRASH_DIR = Environment.getExternalStorageDirectory().getPath() + "/GigaCrash/"; public static final String CRASH_DIR = Environment.getExternalStorageDirectory().getPath() + "/GigaCrash/";
public static String CRASH_LOG = CRASH_DIR + "last_crash.log"; public static final String CRASH_LOG = CRASH_DIR + "last_crash.log";
public static String CRASH_TAG = CRASH_DIR + ".crashed"; public static final String CRASH_TAG = CRASH_DIR + ".crashed";
private static String ANDROID = Build.VERSION.RELEASE; private static String ANDROID = Build.VERSION.RELEASE;
private static String MODEL = Build.MODEL; private static String MODEL = Build.MODEL;