public URI normalize() {if (opaque) {return this;}String normalizedPath = normalize(path, false);if (path.equals(normalizedPath)) {return this;}URI result = duplicate();result.path = normalizedPath;result.setSchemeSpecificPart();return result;}
public java.net.URI normalize(){if (opaque){return this;}string normalizedPath = normalize(path, false);if (path.Equals(normalizedPath)){return this;}java.net.URI result = duplicate();result.path = normalizedPath;result.setSchemeSpecificPart();return result;}