Skip to content

Commit 16f15d9

Browse files
committed
[feature/nro-profile] Make link value optional (fixes #32).
1 parent 0bcf292 commit 16f15d9

File tree

1 file changed

+2
-4
lines changed
  • src/main/java/net/apnic/rdap/conformance/attributetest

1 file changed

+2
-4
lines changed

src/main/java/net/apnic/rdap/conformance/attributetest/Link.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ public boolean run(final Context context, final Result proto,
4242

4343
boolean success = true;
4444
String value = Utils.getStringAttribute(context, nr, "value",
45-
Status.Failure, data);
46-
if (value == null) {
47-
success = false;
48-
} else {
45+
Status.Notification, data);
46+
if (value != null) {
4947
Result nr2 = new Result(nr);
5048
nr2.addNode("value");
5149
context.submitTest(new net.apnic.rdap.conformance.test.common.Link(

0 commit comments

Comments
 (0)