MCPcopy Create free account
hub / github.com/dumbledore/AlbiteREADER / ensureCapacity

Method ensureCapacity

src/org/kxml2/io/KXmlParser.java:223–229  ·  view source on GitHub ↗
(String[] arr, int required)

Source from the content-addressed store, hash-verified

221 }
222
223 private final String[] ensureCapacity(String[] arr, int required) {
224 if (arr.length >= required)
225 return arr;
226 String[] bigger = new String[required + 16];
227 System.arraycopy(arr, 0, bigger, 0, arr.length);
228 return bigger;
229 }
230
231 private final void error(String desc) throws XmlPullParserException {
232 if (relaxed) {

Callers 2

adjustNspMethod · 0.95
parseStartTagMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected