Merge "Integer.valueOf() -> Integer.parseInt() to avoid allocation."
am: c027ae49f0
* commit 'c027ae49f0a941c73c692e1153b2a6623fdae152':
Integer.valueOf() -> Integer.parseInt() to avoid allocation.
Change-Id: I8cb16c650ea35299a99a878134c3060d4ae6ed1e
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