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/ReferenceNode.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/ReferenceNode.java')
-rw-r--r-- | config-lib/src/main/java/com/yahoo/config/ReferenceNode.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config-lib/src/main/java/com/yahoo/config/ReferenceNode.java b/config-lib/src/main/java/com/yahoo/config/ReferenceNode.java index 14146156865..8e9926db5c4 100644 --- a/config-lib/src/main/java/com/yahoo/config/ReferenceNode.java +++ b/config-lib/src/main/java/com/yahoo/config/ReferenceNode.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; - /** * A ReferenceNode class represents a reference (that is a config-id) * in a {@link ConfigInstance}. @@ -44,7 +42,7 @@ public class ReferenceNode extends LeafNode<String> { } @Override - protected boolean doSetValue(@NonNull String value) { + protected boolean doSetValue(String value) { this.value = stripQuotes(value); return true; } |