V6010. The return value of function 'Foo' is required to be utilized.
V6010 The return value of function 'concat' is required to be utilized. AKSK.java(278)
public static String buildCanonicalHost(URL url)
{
String host = url.getHost();
int port = url.getPort();
if (port > -1) {
host.concat(":" + Integer.toString(port));
}
return host;
}
If you feel like the New Year just came, and you missed the first half of January, then all this ...