Fix ClassCastException loading flatfile DB

This commit is contained in:
AppleDash 2017-01-17 08:19:11 -05:00
parent 2ccd25cce4
commit 3695d1389b
6 changed files with 9 additions and 9 deletions

View File

@ -6,10 +6,10 @@
<parent>
<groupId>org.appledash</groupId>
<artifactId>SaneEconomy</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.1-SNAPSHOT</version>
</parent>
<artifactId>SaneEconomyCore</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.1-SNAPSHOT</version>
<dependencies>
<dependency>

View File

@ -43,7 +43,7 @@ public class EconomyStorageBackendFlatfile extends EconomyStorageBackendCaching
return;
}
balances = (HashMap<String, Double>) ois.readObject();
balances = (Map<String, Double>) ois.readObject();
ois.close();
} catch (IOException | ClassNotFoundException e) {

View File

@ -1,7 +1,7 @@
name: SaneEconomy
author: AppleDash
main: org.appledash.saneeconomy.SaneEconomy
version: 0.10.0
version: 0.10.1
loadbefore: [Vault]
commands:
balance:

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>SaneEconomy</artifactId>
<groupId>org.appledash</groupId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -16,7 +16,7 @@
<dependency>
<groupId>org.appledash</groupId>
<artifactId>SaneEconomyCore</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.1-SNAPSHOT</version>
</dependency>
</dependencies>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>SaneEconomy</artifactId>
<groupId>org.appledash</groupId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -16,7 +16,7 @@
<dependency>
<groupId>org.appledash</groupId>
<artifactId>SaneEconomyCore</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.1-SNAPSHOT</version>
</dependency>
</dependencies>

View File

@ -6,7 +6,7 @@
<groupId>org.appledash</groupId>
<artifactId>SaneEconomy</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>