|
45 | 45 | /** |
46 | 46 | * Container for generic street address. |
47 | 47 | * |
48 | | - * <p>This is the "addrType" type from <a href="http://tools.ietf.org/html/rfc5733">RFC5733</a>. It |
| 48 | + * <p> |
| 49 | + * This is the "addrType" type from |
| 50 | + * <a href="http://tools.ietf.org/html/rfc5733">RFC5733</a>. It |
49 | 51 | * also matches the "addrType" type from <a |
50 | | - * href="http://tools.ietf.org/html/draft-lozano-tmch-smd">Mark and Signed Mark Objects Mapping</a>. |
| 52 | + * href="http://tools.ietf.org/html/draft-lozano-tmch-smd">Mark and Signed Mark |
| 53 | + * Objects Mapping</a>. |
51 | 54 | * |
52 | | - * <p>The lengths of the fields are limited to match the constraints defined in XSD schemas like |
53 | | - * `contact-1.0.xsd` and `rde-registrar.xsd`. Specifically, `zip` is limited to 16 characters and |
54 | | - * `city`, `state`, and each `street` line are limited to 255 characters. |
| 55 | + * <p> |
| 56 | + * The lengths of the fields are limited to match the constraints defined in XSD |
| 57 | + * schemas like `rde-registrar.xsd`. Specifically, `zip` is limited to 16 |
| 58 | + * characters and `city`, `state`, and each `street` line are limited to 255 |
| 59 | + * characters. |
55 | 60 | * |
56 | 61 | * @see google.registry.model.mark.MarkAddress |
57 | 62 | * @see google.registry.model.registrar.RegistrarAddress |
@@ -212,8 +217,7 @@ public Builder<T> setState(String state) { |
212 | 217 | } |
213 | 218 |
|
214 | 219 | public Builder<T> setZip(String zip) { |
215 | | - checkArgument( |
216 | | - zip == null || zip.length() <= 16, "Zip cannot be longer than 16 characters"); |
| 220 | + checkArgument(zip == null || zip.length() <= 16, "Zip cannot be longer than 16 characters"); |
217 | 221 | getInstance().zip = zip; |
218 | 222 | return this; |
219 | 223 | } |
|
0 commit comments