MCPcopy Create free account
hub / github.com/PCGen/pcgen / buildPcgLineCache

Method buildPcgLineCache

code/src/java/pcgen/io/PCGVer2Parser.java:303–314  ·  view source on GitHub ↗

@param lines

(String[] lines)

Source from the content-addressed store, hash-verified

301 * @param lines
302 */
303 private void buildPcgLineCache(String[] lines)
304 {
305 initCache(lines.length);
306
307 for (String line : lines)
308 {
309 if ((!line.trim().isEmpty()) && !isComment(line))
310 {
311 cacheLine(line.trim());
312 }
313 }
314 }
315
316 /*
317 * ###############################################################

Callers 2

parsePCGMethod · 0.95
parcePCGSourceOnlyMethod · 0.95

Calls 5

initCacheMethod · 0.95
isCommentMethod · 0.95
cacheLineMethod · 0.95
trimMethod · 0.80
isEmptyMethod · 0.65

Tested by

no test coverage detected