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

Method parsePoolPointsLine2

code/src/java/pcgen/io/PCGVer2Parser.java:3392–3404  ·  view source on GitHub ↗
(final String line)

Source from the content-addressed store, hash-verified

3390 }
3391
3392 private void parsePoolPointsLine2(final String line)
3393 {
3394 try
3395 {
3396 thePC.setPointBuyPoints(Integer.parseInt(line.substring(IOConstants.TAG_POOLPOINTSAVAIL.length() + 1)));
3397 }
3398 catch (NumberFormatException nfe)
3399 {
3400 final String msg = LanguageBundle.getFormattedString("Warnings.PCGenParser.InvalidPoolPoints", //$NON-NLS-1$
3401 line);
3402 warnings.add(msg);
3403 }
3404 }
3405
3406 private void parsePortraitLine(final String line)
3407 {

Callers 1

parseCachedLinesMethod · 0.95

Calls 4

getFormattedStringMethod · 0.95
setPointBuyPointsMethod · 0.80
parseIntMethod · 0.80
addMethod · 0.65

Tested by

no test coverage detected