Skip to content

Commit

Permalink
2.1-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
axpendix committed Sep 20, 2023
1 parent 08e80eb commit 5be89dc
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion data/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>net.tcgone.carddb</groupId>
<artifactId>carddb</artifactId>
<version>2.0-SNAPSHOT</version>
<version>2.1-SNAPSHOT</version>
</parent>
<artifactId>data</artifactId>
<name>carddb-data</name>
Expand Down
6 changes: 3 additions & 3 deletions data/src/main/java/tcgone/carddb/data/Importer.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class Importer {
protected Map<String, Card> idToCard;
protected Map<String, Card> seoNameToCard;
protected Map<String, Card> pioIdToCard;
protected Map<String, Card> cardInfoStringToCard;
protected Map<String, Card> cardEnumIdToCard;
protected Map<String, Collection<Card>> variantsMap;

protected List<Format> allFormats;
Expand Down Expand Up @@ -205,7 +205,7 @@ protected void processCards() throws IOException, ImportException {
idToCard = new THashMap<>();
pioIdToCard = new THashMap<>();
seoNameToCard = new THashMap<>();
cardInfoStringToCard = new THashMap<>();
cardEnumIdToCard = new THashMap<>();
variantsMap = new THashMap<>();

allExpansions = new ArrayList<>();
Expand Down Expand Up @@ -431,7 +431,7 @@ protected void processCards() throws IOException, ImportException {

pioIdToCard.put(card.pioId, card);
seoNameToCard.put(card.seoName, card);
cardInfoStringToCard.put(card.enumId + ":" + expansion.enumId, card);
cardEnumIdToCard.put(card.enumId + ":" + expansion.enumId, card);
allCards.add(card);

} // end expansion
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>net.tcgone.carddb</groupId>
<artifactId>carddb</artifactId>
<version>2.0-SNAPSHOT</version>
<version>2.1-SNAPSHOT</version>
</parent>
<artifactId>model</artifactId>
<name>carddb-model</name>
Expand Down
15 changes: 8 additions & 7 deletions model/src/main/java/tcgone/carddb/model/Rarity.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
* @author [email protected]
*/
public enum Rarity {
SHINING,
SECRET,
PROMO,
ULTRA_RARE,
RARE_HOLO,
RARE,
COMMON,
UNCOMMON,
COMMON;
RARE,
RARE_HOLO,
ULTRA_RARE,
PROMO,
SECRET,
SHINING,
;

private final String label;

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<artifactId>carddb</artifactId>
<groupId>net.tcgone.carddb</groupId>
<version>2.0-SNAPSHOT</version>
<version>2.1-SNAPSHOT</version>
<packaging>pom</packaging>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>net.tcgone.carddb</groupId>
<artifactId>carddb</artifactId>
<version>2.0-SNAPSHOT</version>
<version>2.1-SNAPSHOT</version>
</parent>
<artifactId>tools</artifactId>
<name>carddb-tools</name>
Expand Down

0 comments on commit 5be89dc

Please sign in to comment.