forked from External/mage
Refactor: Remove redundant boxing/unboxing to parse int primitives (#9065)
This commit is contained in:
parent
95ede50523
commit
3ae5f4979d
13 changed files with 19 additions and 19 deletions
|
|
@ -673,7 +673,7 @@ public class DragCardGrid extends JPanel implements DragCardSource, DragCardTarg
|
|||
s.separateCreatures = Boolean.valueOf(m.group(2));
|
||||
}
|
||||
if (m.groupCount() > 2) {
|
||||
s.cardSize = Integer.valueOf(m.group(3));
|
||||
s.cardSize = Integer.parseInt(m.group(3));
|
||||
} else {
|
||||
s.cardSize = 50;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue