aboutsummaryrefslogtreecommitdiffstats
path: root/config-lib/src/main/java/com/yahoo/config/LeafNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'config-lib/src/main/java/com/yahoo/config/LeafNode.java')
-rw-r--r--config-lib/src/main/java/com/yahoo/config/LeafNode.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/config-lib/src/main/java/com/yahoo/config/LeafNode.java b/config-lib/src/main/java/com/yahoo/config/LeafNode.java
index 15575590314..81b2230006e 100644
--- a/config-lib/src/main/java/com/yahoo/config/LeafNode.java
+++ b/config-lib/src/main/java/com/yahoo/config/LeafNode.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;
-
/**
* Superclass for all leaf nodes in a {@link ConfigInstance}.
* <p>
@@ -66,7 +64,7 @@ public abstract class LeafNode<T> extends Node implements Cloneable {
}
// TODO: should throw exception instead of return false.
- protected abstract boolean doSetValue(@NonNull String value);
+ protected abstract boolean doSetValue(String value);
/**
* This method is meant for internal use in the configuration