Fix minor RDAP typos (#2062)

See https://buganizer.corp.google.com/issues/252317192 for more info,
these are just the low-hanging fruit (removing a www and fixing a typo
in a status)
This commit is contained in:
gbrodman 2023-06-30 12:24:39 -04:00 committed by GitHub
parent 5658fbe8bd
commit 04c6652793
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 22 additions and 24 deletions

View file

@ -367,7 +367,7 @@ final class RdapDataStructures {
PENDING_RESTORE("pending restore"), PENDING_RESTORE("pending restore"),
REDEMPTION_PERIOD("redemption period"), REDEMPTION_PERIOD("redemption period"),
RENEW_PERIOD("renew period"), RENEW_PERIOD("renew period"),
SERVER_DELETE_PROHIBITED("server deleted prohibited"), SERVER_DELETE_PROHIBITED("server delete prohibited"),
SERVER_RENEW_PROHIBITED("server renew prohibited"), SERVER_RENEW_PROHIBITED("server renew prohibited"),
SERVER_TRANSFER_PROHIBITED("server transfer prohibited"), SERVER_TRANSFER_PROHIBITED("server transfer prohibited"),
SERVER_UPDATE_PROHIBITED("server update prohibited"), SERVER_UPDATE_PROHIBITED("server update prohibited"),

View file

@ -54,12 +54,11 @@ public class RdapIcannStandardInformation {
private static final Notice INACCURACY_COMPLAINT_FORM_NOTICE = private static final Notice INACCURACY_COMPLAINT_FORM_NOTICE =
Notice.builder() Notice.builder()
.setTitle("RDDS Inaccuracy Complaint Form") .setTitle("RDDS Inaccuracy Complaint Form")
.setDescription( .setDescription("URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf")
"URL of the ICANN RDDS Inaccuracy Complaint Form: https://www.icann.org/wicf")
.addLink( .addLink(
Link.builder() Link.builder()
.setRel("alternate") .setRel("alternate")
.setHref("https://www.icann.org/wicf") .setHref("https://icann.org/wicf")
.setType("text/html") .setType("text/html")
.build()) .build())
.build(); .build();

View file

@ -1000,7 +1000,7 @@ public class RdapJsonFormatter {
// Gustavo Lozano of ICANN, the one we should use is an embedded array of street address lines // Gustavo Lozano of ICANN, the one we should use is an embedded array of street address lines
// if there is more than one line: // if there is more than one line:
// //
// RFC7095 provides two examples of structured addresses, and one of the examples shows a // RFC 7095 provides two examples of structured addresses, and one of the examples shows a
// street JSON element that contains several data elements. The example showing (see below) // street JSON element that contains several data elements. The example showing (see below)
// several data elements is the expected output when two or more <contact:street> elements // several data elements is the expected output when two or more <contact:street> elements
// exists in the contact object. // exists in the contact object.

View file

@ -139,13 +139,12 @@ class RdapTestHelper {
"RDDS Inaccuracy Complaint Form", "RDDS Inaccuracy Complaint Form",
"description", "description",
ImmutableList.of( ImmutableList.of(
"URL of the ICANN RDDS Inaccuracy Complaint Form:" "URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf"),
+ " https://www.icann.org/wicf"),
"links", "links",
ImmutableList.of( ImmutableList.of(
ImmutableMap.of( ImmutableMap.of(
"rel", "alternate", "rel", "alternate",
"href", "https://www.icann.org/wicf", "href", "https://icann.org/wicf",
"type", "text/html"))))); "type", "text/html")))));
} }

View file

@ -156,12 +156,12 @@
}, },
{ {
"title": "RDDS Inaccuracy Complaint Form", "title": "RDDS Inaccuracy Complaint Form",
"description" : ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://www.icann.org/wicf"], "description" : ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf"],
"links" : "links" :
[ [
{ {
"rel" : "alternate", "rel" : "alternate",
"href" : "https://www.icann.org/wicf", "href" : "https://icann.org/wicf",
"type" : "text/html" "type" : "text/html"
} }
] ]

View file

@ -137,12 +137,12 @@
}, },
{ {
"title": "RDDS Inaccuracy Complaint Form", "title": "RDDS Inaccuracy Complaint Form",
"description" : ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://www.icann.org/wicf"], "description" : ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf"],
"links" : "links" :
[ [
{ {
"rel" : "alternate", "rel" : "alternate",
"href" : "https://www.icann.org/wicf", "href" : "https://icann.org/wicf",
"type" : "text/html" "type" : "text/html"
} }
] ]

View file

@ -157,12 +157,12 @@
}, },
{ {
"title": "RDDS Inaccuracy Complaint Form", "title": "RDDS Inaccuracy Complaint Form",
"description" : ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://www.icann.org/wicf"], "description" : ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf"],
"links" : "links" :
[ [
{ {
"rel" : "alternate", "rel" : "alternate",
"href" : "https://www.icann.org/wicf", "href" : "https://icann.org/wicf",
"type" : "text/html" "type" : "text/html"
} }
] ]

View file

@ -95,12 +95,12 @@
}, },
{ {
"title": "RDDS Inaccuracy Complaint Form", "title": "RDDS Inaccuracy Complaint Form",
"description": ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://www.icann.org/wicf"], "description": ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf"],
"links": "links":
[ [
{ {
"rel": "alternate", "rel": "alternate",
"href": "https://www.icann.org/wicf", "href": "https://icann.org/wicf",
"type": "text/html" "type": "text/html"
} }
] ]

View file

@ -130,12 +130,12 @@
}, },
{ {
"title": "RDDS Inaccuracy Complaint Form", "title": "RDDS Inaccuracy Complaint Form",
"description": ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://www.icann.org/wicf"], "description": ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf"],
"links": "links":
[ [
{ {
"rel":"alternate", "rel":"alternate",
"href":"https://www.icann.org/wicf", "href":"https://icann.org/wicf",
"type":"text/html" "type":"text/html"
} }
] ]

View file

@ -98,12 +98,12 @@
}, },
{ {
"title": "RDDS Inaccuracy Complaint Form", "title": "RDDS Inaccuracy Complaint Form",
"description":["URL of the ICANN RDDS Inaccuracy Complaint Form: https://www.icann.org/wicf"], "description":["URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf"],
"links":[ "links":[
{ {
"type":"text/html", "type":"text/html",
"rel":"alternate", "rel":"alternate",
"href":"https://www.icann.org/wicf" "href":"https://icann.org/wicf"
} }
] ]
} }

View file

@ -144,12 +144,12 @@
}, },
{ {
"title": "RDDS Inaccuracy Complaint Form", "title": "RDDS Inaccuracy Complaint Form",
"description" : ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://www.icann.org/wicf"], "description" : ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf"],
"links" : "links" :
[ [
{ {
"rel" : "alternate", "rel" : "alternate",
"href" : "https://www.icann.org/wicf", "href" : "https://icann.org/wicf",
"type" : "text/html" "type" : "text/html"
} }
] ]

View file

@ -59,12 +59,12 @@
}, },
{ {
"title": "RDDS Inaccuracy Complaint Form", "title": "RDDS Inaccuracy Complaint Form",
"description": ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://www.icann.org/wicf"], "description": ["URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf"],
"links": "links":
[ [
{ {
"rel": "alternate", "rel": "alternate",
"href": "https://www.icann.org/wicf", "href": "https://icann.org/wicf",
"type": "text/html" "type": "text/html"
} }
] ]