summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Fisher2010-11-29 12:38:22 (EST)
committer Ryan D. Brooks2010-11-29 12:38:22 (EST)
commit81e916bbcceab5bd57b83e4671a275b14a29b117 (patch)
tree910dcb3b384ff6276a0bc22ce9d1826b49cf93eb
parent0e5e3d502dec662bb688e4ea67b443b354e5501d (diff)
downloadorg.eclipse.osee-81e916bbcceab5bd57b83e4671a275b14a29b117.zip
org.eclipse.osee-81e916bbcceab5bd57b83e4671a275b14a29b117.tar.gz
org.eclipse.osee-81e916bbcceab5bd57b83e4671a275b14a29b117.tar.bz2
bug: Fix message invalidation after precompile update
Fixed the ActivateState and InactiveState to return a UnresolvedState that has the fully qualified name of the message, not just the simple name of the message.
-rw-r--r--plugins/org.eclipse.osee.ote.client.msg/src/org/eclipse/osee/ote/client/msg/core/internal/state/ActivateState.java2
-rw-r--r--plugins/org.eclipse.osee.ote.client.msg/src/org/eclipse/osee/ote/client/msg/core/internal/state/InactiveState.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ote.client.msg/src/org/eclipse/osee/ote/client/msg/core/internal/state/ActivateState.java b/plugins/org.eclipse.osee.ote.client.msg/src/org/eclipse/osee/ote/client/msg/core/internal/state/ActivateState.java
index 9a2cbec..a5939b6 100644
--- a/plugins/org.eclipse.osee.ote.client.msg/src/org/eclipse/osee/ote/client/msg/core/internal/state/ActivateState.java
+++ b/plugins/org.eclipse.osee.ote.client.msg/src/org/eclipse/osee/ote/client/msg/core/internal/state/ActivateState.java
@@ -50,7 +50,7 @@ public class ActivateState extends AbstractSubscriptionState {
} catch (Exception e) {
OseeLog.log(ActivateState.class, Level.SEVERE, "problem releasing instance of " + getMsgClassName());
}
- return new UnresolvedState(instance.getMessage().getName(), this);
+ return new UnresolvedState(getMsgClassName(), this);
}
@Override
diff --git a/plugins/org.eclipse.osee.ote.client.msg/src/org/eclipse/osee/ote/client/msg/core/internal/state/InactiveState.java b/plugins/org.eclipse.osee.ote.client.msg/src/org/eclipse/osee/ote/client/msg/core/internal/state/InactiveState.java
index f9fb7f6..c41eef3 100644
--- a/plugins/org.eclipse.osee.ote.client.msg/src/org/eclipse/osee/ote/client/msg/core/internal/state/InactiveState.java
+++ b/plugins/org.eclipse.osee.ote.client.msg/src/org/eclipse/osee/ote/client/msg/core/internal/state/InactiveState.java
@@ -57,7 +57,7 @@ public class InactiveState extends AbstractSubscriptionState {
} catch (Exception e) {
OseeLog.log(ActivateState.class, Level.SEVERE, "problem releasing instance of " + getMsgClassName());
}
- return new UnresolvedState(instance.getMessage().getName(), this);
+ return new UnresolvedState(getMsgClassName(), this);
}
@Override