diff options
Diffstat (limited to 'config-lib/src/main/java/com/yahoo/config/IntegerNode.java')
-rw-r--r-- | config-lib/src/main/java/com/yahoo/config/IntegerNode.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config-lib/src/main/java/com/yahoo/config/IntegerNode.java b/config-lib/src/main/java/com/yahoo/config/IntegerNode.java index e027eaf74a4..e19429b2ae6 100644 --- a/config-lib/src/main/java/com/yahoo/config/IntegerNode.java +++ b/config-lib/src/main/java/com/yahoo/config/IntegerNode.java @@ -1,8 +1,6 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config; -import edu.umd.cs.findbugs.annotations.NonNull; - /** * The IntegerNode class represents an integer in a configuration tree. */ @@ -31,7 +29,7 @@ public class IntegerNode extends LeafNode<Integer> { } @Override - protected boolean doSetValue(@NonNull String value) { + protected boolean doSetValue(String value) { try { this.value = Integer.parseInt(value); return true; |