Browse Source

Fix api factory

master
Chris Smith 15 years ago
parent
commit
c6d26678d8
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/uk/co/md87/evetool/ApiFactory.java

+ 2
- 1
src/uk/co/md87/evetool/ApiFactory.java View File

@@ -29,6 +29,7 @@ import java.util.logging.Level;
29 29
 import java.util.logging.Logger;
30 30
 
31 31
 import uk.co.md87.evetool.api.EveApi;
32
+import uk.co.md87.evetool.api.io.DBCache;
32 33
 
33 34
 /**
34 35
  * Factory class to create instances of the {@link EveApi} class. Uses an
@@ -74,7 +75,7 @@ public class ApiFactory {
74 75
      * @return An instance of the EVE API.
75 76
      */
76 77
     public EveApi getApi() {
77
-        return new EveApi(getConnection());
78
+        return new EveApi(new DBCache(getConnection()));
78 79
     }
79 80
 
80 81
 }

Loading…
Cancel
Save