diff options
author | Harald Musum <musum@verizonmedia.com> | 2019-08-29 09:52:43 +0200 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2019-08-29 09:52:43 +0200 |
commit | 408ae127916b740cfff1620afdce0bc12ae632e9 (patch) | |
tree | 565f5dd2a9eaf995115ed66ce3a17d53c274ab18 /config-lib/src/main/java/com/yahoo/config/StringNode.java | |
parent | 640f1272a1800551f10b96321c82e75c41c6e54d (diff) |
Remove use of Nullable and NotNull annotations
Different implementations and using OSGi makes it really
hard to use these annotations and the value of using them
is IMHO not very high.
Diffstat (limited to 'config-lib/src/main/java/com/yahoo/config/StringNode.java')
-rw-r--r-- | config-lib/src/main/java/com/yahoo/config/StringNode.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config-lib/src/main/java/com/yahoo/config/StringNode.java b/config-lib/src/main/java/com/yahoo/config/StringNode.java index 50c16714f97..cd26fa3d63b 100644 --- a/config-lib/src/main/java/com/yahoo/config/StringNode.java +++ b/config-lib/src/main/java/com/yahoo/config/StringNode.java @@ -2,7 +2,6 @@ package com.yahoo.config; import com.yahoo.config.text.StringUtilities; -import edu.umd.cs.findbugs.annotations.NonNull; /** * A StringNode class represents a string in a {@link ConfigInstance}. @@ -110,7 +109,7 @@ public class StringNode extends LeafNode<String> { * @param value the new value of this node. */ @Override - protected boolean doSetValue(@NonNull String value) { + protected boolean doSetValue(String value) { if (value.startsWith("\"") && value.endsWith("\"")) this.value = unescapeQuotedString(value); else { |