Skip to content
Permalink
Browse files

CostToken: Remove unboxing and empty comment (#5406)

  • Loading branch information...
grimreaper authored and karianna committed Apr 21, 2019
1 parent f12a986 commit c3e7d106630d689ec2fd16b7f8c0b5c214040c4d
Showing with 1 addition and 5 deletions.
  1. +1 −5 code/src/java/plugin/lsttokens/pointbuy/stat/CostToken.java
@@ -24,10 +24,6 @@
import pcgen.rules.persistence.token.CDOMPrimaryToken;
import pcgen.rules.persistence.token.ParseResult;

/**
* {@code CostToken}
*
*/
public class CostToken extends AbstractNonEmptyToken<PointBuyCost> implements CDOMPrimaryToken<PointBuyCost>
{

@@ -42,7 +38,7 @@ protected ParseResult parseNonEmptyToken(LoadContext context, PointBuyCost pbc,
{
try
{
pbc.setBuyCost(Integer.valueOf(value).intValue());
pbc.setBuyCost(Integer.valueOf(value));
return ParseResult.SUCCESS;
}
catch (NumberFormatException nfe)

0 comments on commit c3e7d10

Please sign in to comment.
You can’t perform that action at this time.