Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-09-15 17:36:59 -0400
committerRyan D. Brooks2010-09-15 17:36:59 -0400
commit2888d94f91fdbfe308b9147e174218dc80838409 (patch)
tree87a77741506d7a44b06373267f8e4c3a6be73937
parent9007dc0e7e40acfbffd217731459e4b116dfe9bb (diff)
downloadorg.eclipse.osee-2888d94f91fdbfe308b9147e174218dc80838409.tar.gz
org.eclipse.osee-2888d94f91fdbfe308b9147e174218dc80838409.tar.xz
org.eclipse.osee-2888d94f91fdbfe308b9147e174218dc80838409.zip
refactor: Clean-up Warnings
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/BranchCacheUpdateUtil.java2
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/ChangeItemUtil.java3
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/RelationTypeCacheUpdateResponse.java3
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TranslationUtil.java1
4 files changed, 5 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/BranchCacheUpdateUtil.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/BranchCacheUpdateUtil.java
index f5ecf63843..a5fcac0c0c 100644
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/BranchCacheUpdateUtil.java
+++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/BranchCacheUpdateUtil.java
@@ -156,7 +156,7 @@ public final class BranchCacheUpdateUtil {
TranslationUtil.loadTripletList(message.getMergeBranches(), store, Fields.SRC_DEST_MERGE);
}
- public static void loadStore(PropertyStore store, AbstractBranchCacheMessage message) throws OseeCoreException {
+ public static void loadStore(PropertyStore store, AbstractBranchCacheMessage message) {
List<BranchRow> rows = message.getBranchRows();
for (int index = 0; index < rows.size(); index++) {
BranchRow row = rows.get(index);
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/ChangeItemUtil.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/ChangeItemUtil.java
index 678f19ae79..78df8e189d 100644
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/ChangeItemUtil.java
+++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/ChangeItemUtil.java
@@ -19,9 +19,10 @@ import org.eclipse.osee.framework.core.util.Conditions;
/**
* @author Roberto E. Escobar
*/
-public class ChangeItemUtil {
+public final class ChangeItemUtil {
private ChangeItemUtil() {
+ // Utility Class
}
public static ChangeVersion getStartingVersion(ChangeItem item) throws OseeCoreException {
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/RelationTypeCacheUpdateResponse.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/RelationTypeCacheUpdateResponse.java
index 36aaf04f77..ad28a4e85c 100644
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/RelationTypeCacheUpdateResponse.java
+++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/RelationTypeCacheUpdateResponse.java
@@ -15,7 +15,6 @@ import java.util.Collection;
import java.util.List;
import org.eclipse.osee.framework.core.enums.RelationTypeMultiplicity;
import org.eclipse.osee.framework.core.enums.StorageState;
-import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.model.type.RelationType;
/**
@@ -138,7 +137,7 @@ public class RelationTypeCacheUpdateResponse {
}
}
- public static RelationTypeCacheUpdateResponse fromCache(Collection<RelationType> types) throws OseeCoreException {
+ public static RelationTypeCacheUpdateResponse fromCache(Collection<RelationType> types) {
List<RelationTypeRow> rows = new ArrayList<RelationTypeRow>();
for (RelationType item : types) {
rows.add(new RelationTypeRow(item.getId(), item.getName(), item.getGuid(), item.getStorageState(),
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TranslationUtil.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TranslationUtil.java
index aac4162fc0..4c0078cd8d 100644
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TranslationUtil.java
+++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TranslationUtil.java
@@ -22,6 +22,7 @@ import org.eclipse.osee.framework.jdk.core.type.Triplet;
public final class TranslationUtil {
private TranslationUtil() {
+ //Utility Class
}
public static void loadArrayMap(Map<Integer, String[]> map, PropertyStore store, Enum<?> key) {

Back to the top