summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.model/src/org/eclipse/osee/framework/core/model/internal/fields/EnumEntryField.java')
-rw-r--r--plugins/org.eclipse.osee.framework.core.model/src/org/eclipse/osee/framework/core/model/internal/fields/EnumEntryField.java23
1 files changed, 6 insertions, 17 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.model/src/org/eclipse/osee/framework/core/model/internal/fields/EnumEntryField.java b/plugins/org.eclipse.osee.framework.core.model/src/org/eclipse/osee/framework/core/model/internal/fields/EnumEntryField.java
index cf925a8..b1e7b51 100644
--- a/plugins/org.eclipse.osee.framework.core.model/src/org/eclipse/osee/framework/core/model/internal/fields/EnumEntryField.java
+++ b/plugins/org.eclipse.osee.framework.core.model/src/org/eclipse/osee/framework/core/model/internal/fields/EnumEntryField.java
@@ -13,12 +13,9 @@ package org.eclipse.osee.framework.core.model.internal.fields;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
-import java.util.logging.Level;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.model.OseeEnumEntry;
-import org.eclipse.osee.framework.core.model.internal.Activator;
import org.eclipse.osee.framework.core.util.Conditions;
-import org.eclipse.osee.framework.logging.OseeLog;
/**
* @author Roberto E. Escobar
@@ -87,12 +84,8 @@ public class EnumEntryField extends CollectionField<OseeEnumEntry> {
@Override
public void clearDirty() {
super.clearDirty();
- try {
- for (OseeEnumEntry entry : get()) {
- entry.clearDirty();
- }
- } catch (OseeCoreException ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex);
+ for (OseeEnumEntry entry : get()) {
+ entry.clearDirty();
}
}
@@ -100,15 +93,11 @@ public class EnumEntryField extends CollectionField<OseeEnumEntry> {
public boolean isDirty() {
boolean result = super.isDirty();
if (!result) {
- try {
- for (OseeEnumEntry entry : get()) {
- if (entry.isDirty()) {
- result = true;
- break;
- }
+ for (OseeEnumEntry entry : get()) {
+ if (entry.isDirty()) {
+ result = true;
+ break;
}
- } catch (OseeCoreException ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex);
}
}
return result;