Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c027ae49 authored by Tobias Thierer's avatar Tobias Thierer Committed by Gerrit Code Review
Browse files

Merge "Integer.valueOf() -> Integer.parseInt() to avoid allocation."

parents 570a13f0 9bbbf2b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);