Merge "Integer.valueOf() -> Integer.parseInt() to avoid allocation."
This commit is contained in:
@@ -1168,7 +1168,7 @@ public final class PrintSpoolerService extends Service {
|
||||
if (TYPE_STRING.equals(type)) {
|
||||
advancedOptions.putString(key, value);
|
||||
} else if (TYPE_INT.equals(type)) {
|
||||
advancedOptions.putInt(key, Integer.valueOf(value));
|
||||
advancedOptions.putInt(key, Integer.parseInt(value));
|
||||
}
|
||||
parser.next();
|
||||
skipEmptyTextTags(parser);
|
||||
|
||||
Reference in New Issue
Block a user