mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-05 17:45:52 +01:00
refactor: make constant values final
This commit is contained in:
parent
2720cf93a3
commit
65eeb2fb4a
@ -20,7 +20,7 @@ package brut.androlib.res.data.value;
|
||||
* @author Matt Mastracci <matthew@mastracci.com>
|
||||
*/
|
||||
public class ResIntBasedValue extends ResValue {
|
||||
private int mRawIntValue;
|
||||
private final int mRawIntValue;
|
||||
|
||||
protected ResIntBasedValue(int rawIntValue) {
|
||||
mRawIntValue = rawIntValue;
|
||||
|
@ -71,5 +71,5 @@ public class ResStringValue extends ResScalarValue {
|
||||
return allDigits.matcher(val).matches() ? "\\ " + val : val;
|
||||
}
|
||||
|
||||
private static Pattern allDigits = Pattern.compile("\\d{9,}");
|
||||
private static final Pattern allDigits = Pattern.compile("\\d{9,}");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user