summaryrefslogtreecommitdiffstats
path: root/processing
diff options
context:
space:
mode:
Diffstat (limited to 'processing')
-rw-r--r--processing/src/main/java/com/yahoo/processing/request/Properties.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/processing/src/main/java/com/yahoo/processing/request/Properties.java b/processing/src/main/java/com/yahoo/processing/request/Properties.java
index 524c65463e4..fae0407815b 100644
--- a/processing/src/main/java/com/yahoo/processing/request/Properties.java
+++ b/processing/src/main/java/com/yahoo/processing/request/Properties.java
@@ -418,7 +418,7 @@ public class Properties implements Cloneable {
if (stringValue.isEmpty())
return defaultValue;
- return new Integer(stringValue);
+ return Integer.valueOf(stringValue);
} catch (IllegalArgumentException e) {
throw new NumberFormatException("Not a valid integer");
}