Added empty space after '.' between two sentences.
Change-Id: I6fa88561264bffa2df568a47a9e562c4e4fe7df6
Showing
3 changed files
with
3 additions
and
3 deletions
| ... | @@ -92,7 +92,7 @@ public final class Ip4Prefix extends IpPrefix { | ... | @@ -92,7 +92,7 @@ public final class Ip4Prefix extends IpPrefix { |
| 92 | public static Ip4Prefix valueOf(String address) { | 92 | public static Ip4Prefix valueOf(String address) { |
| 93 | final String[] parts = address.split("/"); | 93 | final String[] parts = address.split("/"); |
| 94 | if (parts.length != 2) { | 94 | if (parts.length != 2) { |
| 95 | - String msg = "Malformed IPv4 prefix string: " + address + "." + | 95 | + String msg = "Malformed IPv4 prefix string: " + address + ". " + |
| 96 | "Address must take form \"x.x.x.x/y\""; | 96 | "Address must take form \"x.x.x.x/y\""; |
| 97 | throw new IllegalArgumentException(msg); | 97 | throw new IllegalArgumentException(msg); |
| 98 | } | 98 | } | ... | ... |
| ... | @@ -80,7 +80,7 @@ public final class Ip6Prefix extends IpPrefix { | ... | @@ -80,7 +80,7 @@ public final class Ip6Prefix extends IpPrefix { |
| 80 | public static Ip6Prefix valueOf(String address) { | 80 | public static Ip6Prefix valueOf(String address) { |
| 81 | final String[] parts = address.split("/"); | 81 | final String[] parts = address.split("/"); |
| 82 | if (parts.length != 2) { | 82 | if (parts.length != 2) { |
| 83 | - String msg = "Malformed IPv6 prefix string: " + address + "." + | 83 | + String msg = "Malformed IPv6 prefix string: " + address + ". " + |
| 84 | "Address must take form " + | 84 | "Address must take form " + |
| 85 | "\"xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/y\""; | 85 | "\"xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/y\""; |
| 86 | throw new IllegalArgumentException(msg); | 86 | throw new IllegalArgumentException(msg); | ... | ... |
| ... | @@ -178,7 +178,7 @@ public class IpPrefix { | ... | @@ -178,7 +178,7 @@ public class IpPrefix { |
| 178 | public static IpPrefix valueOf(String address) { | 178 | public static IpPrefix valueOf(String address) { |
| 179 | final String[] parts = address.split("/"); | 179 | final String[] parts = address.split("/"); |
| 180 | if (parts.length != 2) { | 180 | if (parts.length != 2) { |
| 181 | - String msg = "Malformed IP prefix string: " + address + "." + | 181 | + String msg = "Malformed IP prefix string: " + address + ". " + |
| 182 | "Address must take form \"x.x.x.x/y\" or " + | 182 | "Address must take form \"x.x.x.x/y\" or " + |
| 183 | "\"xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/y\""; | 183 | "\"xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/y\""; |
| 184 | throw new IllegalArgumentException(msg); | 184 | throw new IllegalArgumentException(msg); | ... | ... |
-
Please register or login to post a comment