MCPcopy Create free account
hub / github.com/ZHENFENG13/My-Column / getHost

Method getHost

src/main/java/com/my/column/util/SystemUtil.java:84–92  ·  view source on GitHub ↗
(URI uri)

Source from the content-addressed store, hash-verified

82 }
83
84 public static URI getHost(URI uri) {
85 URI effectiveURI = null;
86 try {
87 effectiveURI = new URI(uri.getScheme(), uri.getUserInfo(), uri.getHost(), uri.getPort(), null, null, null);
88 } catch (Throwable var4) {
89 effectiveURI = null;
90 }
91 return effectiveURI;
92 }
93
94}

Callers 2

uploadMethod · 0.95
uploadV2Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected