Revision: 3261
Author: [email protected]
Date: Fri Jan 29 08:23:36 2010
Log: Altered the load method for compatability with ProjectImporter
http://code.google.com/p/power-architect/source/detail?r=3261

Modified:
 /trunk/src/ca/sqlpower/architect/ProjectLoader.java

=======================================
--- /trunk/src/ca/sqlpower/architect/ProjectLoader.java Thu Jan 28 15:27:58 2010 +++ /trunk/src/ca/sqlpower/architect/ProjectLoader.java Fri Jan 29 08:23:36 2010
@@ -94,7 +94,7 @@
         }
     }

-//  ---------------- persistent properties -------------------
+    //  ---------------- persistent properties -------------------

     protected File file;

@@ -184,7 +184,7 @@
      * @param dataSources
      *            Collection of the data sources used in the project
      */
- public void load(InputStream in, DataSourceCollection<JDBCDataSource> dataSources) throws IOException, SQLObjectException { + public void load(InputStream in, DataSourceCollection<? extends SPDataSource> dataSources) throws IOException, SQLObjectException {
         UnclosableInputStream uin = new UnclosableInputStream(in);
         try {
             dbcsLoadIdMap = new HashMap<String, JDBCDataSource>();

Reply via email to