Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-06-06 03:22:34 +0000
committerslewis2007-06-06 03:22:34 +0000
commit3f1c148c098ae04ebdad1a178362dcaf3346709f (patch)
tree9c7f4b08c945fdb147a5ba7a5c5b48015e0d2f0e /examples/bundles/org.eclipse.ecf.example.collab/src/org
parentfea92e547b27cffc85463d3502f1ddb0e9877840 (diff)
downloadorg.eclipse.ecf-3f1c148c098ae04ebdad1a178362dcaf3346709f.tar.gz
org.eclipse.ecf-3f1c148c098ae04ebdad1a178362dcaf3346709f.tar.xz
org.eclipse.ecf-3f1c148c098ae04ebdad1a178362dcaf3346709f.zip
Added guard
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.example.collab/src/org')
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/share/GenericSharedObject.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/share/GenericSharedObject.java b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/share/GenericSharedObject.java
index 1be52a2a7..9eeac8800 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/share/GenericSharedObject.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/share/GenericSharedObject.java
@@ -142,6 +142,7 @@ public class GenericSharedObject implements ISharedObject {
protected void execMsgInvoke(SharedObjectMsg msg, ID fromID, Object o)
throws Exception {
+ if (msg == null || fromID == null || o == null) return;
try {
msg.invoke(o);
} catch (NoSuchMethodException e) {

Back to the top