diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.database.init/src/org/eclipse')
2 files changed, 5 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/SkynetDbBranchDataImport.java b/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/SkynetDbBranchDataImport.java index 50ab964ed64..5e58b690009 100644 --- a/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/SkynetDbBranchDataImport.java +++ b/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/SkynetDbBranchDataImport.java @@ -11,7 +11,6 @@ package org.eclipse.osee.framework.database.init; import java.io.File; -import java.io.IOException; import java.net.URI; import java.net.URL; import java.util.ArrayList; @@ -72,8 +71,8 @@ public class SkynetDbBranchDataImport implements IDbInitializationTask { //TODO not yet supported importData.getSelectedBranches(); HttpBranchExchange.importBranches(importFile.toURI().toASCIIString(), true, true); } catch (OseeDataStoreException ex) { - OseeLog.logf(DatabaseInitActivator.class, Level.SEVERE, - ex, "Exception while importing branch: [%s]", importData); + OseeLog.logf(DatabaseInitActivator.class, Level.SEVERE, ex, "Exception while importing branch: [%s]", + importData); throw ex; } } @@ -120,7 +119,7 @@ public class SkynetDbBranchDataImport implements IDbInitializationTask { return toReturn; } - private File getExchangeFile(String bundleName, String exchangeFile) throws IOException, OseeCoreException { + private File getExchangeFile(String bundleName, String exchangeFile) throws OseeCoreException { if (exchangeFile.endsWith("zip") != true) { throw new OseeArgumentException(String.format("Branch data file is invalid [%s] ", exchangeFile)); } diff --git a/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/SkynetTypesEnumGenerator.java b/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/SkynetTypesEnumGenerator.java index 3bd4a3eae19..4f66f843b38 100644 --- a/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/SkynetTypesEnumGenerator.java +++ b/plugins/org.eclipse.osee.framework.database.init/src/org/eclipse/osee/framework/database/init/SkynetTypesEnumGenerator.java @@ -170,7 +170,7 @@ public class SkynetTypesEnumGenerator implements RowProcessor { * import Artifacts */ @Override - public void processRow(String[] row) throws ClassNotFoundException { + public void processRow(String[] row) { if (done) { return; } @@ -189,7 +189,7 @@ public class SkynetTypesEnumGenerator implements RowProcessor { } } - private void addAttributeType(String[] row) throws ClassNotFoundException { + private void addAttributeType(String[] row) { // String attrBaseType = row[0]; // String attrProviderType = row[1]; String attributeName = row[2]; |