Bug 546949 - Fix erroneous ContextObjectSupplier#hashCode

Change-Id: I6bb92fe22c841bf34ab2495e4d587971eeab4f46
Signed-off-by: Mickael Istria <mistria@redhat.com>
diff --git a/bundles/org.eclipse.e4.core.contexts/src/org/eclipse/e4/core/internal/contexts/ContextObjectSupplier.java b/bundles/org.eclipse.e4.core.contexts/src/org/eclipse/e4/core/internal/contexts/ContextObjectSupplier.java
index 870a616..bcf5a4e 100644
--- a/bundles/org.eclipse.e4.core.contexts/src/org/eclipse/e4/core/internal/contexts/ContextObjectSupplier.java
+++ b/bundles/org.eclipse.e4.core.contexts/src/org/eclipse/e4/core/internal/contexts/ContextObjectSupplier.java
@@ -105,8 +105,8 @@
 		public int hashCode() {
 			final int prime = 31;
 			int hashRresult = 1;
-			hashRresult = prime * hashRresult + Objects.hashCode(context == null);
-			hashRresult = prime * hashRresult + Objects.hashCode(requestor == null);
+			hashRresult = prime * hashRresult + Objects.hashCode(context);
+			hashRresult = prime * hashRresult + Objects.hashCode(requestor);
 			return hashRresult;
 		}