mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-02 06:54:25 +02: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>
|
* @author Matt Mastracci <matthew@mastracci.com>
|
||||||
*/
|
*/
|
||||||
public class ResIntBasedValue extends ResValue {
|
public class ResIntBasedValue extends ResValue {
|
||||||
private int mRawIntValue;
|
private final int mRawIntValue;
|
||||||
|
|
||||||
protected ResIntBasedValue(int rawIntValue) {
|
protected ResIntBasedValue(int rawIntValue) {
|
||||||
mRawIntValue = rawIntValue;
|
mRawIntValue = rawIntValue;
|
||||||
|
@ -71,5 +71,5 @@ public class ResStringValue extends ResScalarValue {
|
|||||||
return allDigits.matcher(val).matches() ? "\\ " + val : val;
|
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…
x
Reference in New Issue
Block a user