Fix compile problem.
diff --git a/plugins/org.eclipse.bpel.ui.noEmbeddedEditors/src/org/eclipse/bpel/ui/editors/xpath/XPathTextEditor.java b/plugins/org.eclipse.bpel.ui.noEmbeddedEditors/src/org/eclipse/bpel/ui/editors/xpath/XPathTextEditor.java
index e6b92f6..93428d2 100644
--- a/plugins/org.eclipse.bpel.ui.noEmbeddedEditors/src/org/eclipse/bpel/ui/editors/xpath/XPathTextEditor.java
+++ b/plugins/org.eclipse.bpel.ui.noEmbeddedEditors/src/org/eclipse/bpel/ui/editors/xpath/XPathTextEditor.java
@@ -130,7 +130,7 @@
 			caproc.setModelObject( eObj );
 		}
 
-		Integer value = input.getAdapter(Integer.class);
+		Integer value = (Integer) input.getAdapter(Integer.class);
 		if (value != null) {
 			String expressionContext = value.toString();
 			caproc.setExpressionContext(expressionContext);
diff --git a/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editors/xpath/XPathTextEditor.java b/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editors/xpath/XPathTextEditor.java
index 6475252..dfded4a 100644
--- a/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editors/xpath/XPathTextEditor.java
+++ b/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/editors/xpath/XPathTextEditor.java
@@ -132,7 +132,7 @@
 			caproc.setModelObject( eObj );
 		}
 		
-		Integer value = input.getAdapter(Integer.class);
+		Integer value = (Integer) input.getAdapter(Integer.class);
 		if (value != null) {
 			String expressionContext = value.toString();
 			caproc.setExpressionContext(expressionContext);