MCPcopy Index your code
hub / github.com/Juniper/netconf-java / trim

Method trim

src/main/java/net/juniper/netconf/XML.java:72–80  ·  view source on GitHub ↗
(String str)

Source from the content-addressed store, hash-verified

70 }
71
72 private String trim(String str) {
73 String st = str.trim();
74 if (st.startsWith(LF))
75 st = st.substring(st.indexOf(LF) + 1);
76 if (st.endsWith(LF)) {
77 st = st.substring(0, st.lastIndexOf(LF));
78 }
79 return st;
80 }
81
82
83

Callers 2

findValueMethod · 0.95
findNodesMethod · 0.95

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected