MCPcopy Index your code
hub / github.com/OperationT00/T-Code / safe

Method safe

src/main/java/com/tcode/web/SearchResult.java:15–17  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

13 }
14
15 private static String safe(String s) {
16 return s == null ? "" : s.trim();
17 }
18
19 private static String extractHost(String url) {
20 if (url == null || url.isBlank()) {

Callers 1

ofMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected