Sophie

Sophie

distrib > Fedora > 17 > i386 > by-pkgid > 0ea6147eb8e8c3236addc028d4e93343 > files > 5

eclipse-wtp-jeetools-3.4.0-4.fc17.src.rpm

--- org.eclipse.jem.proxy/proxyide/org/eclipse/jem/internal/proxy/ide/IDEStandardBeanProxyFactory.java.orig	2012-06-10 11:20:40.220606011 +0100
+++ org.eclipse.jem.proxy/proxyide/org/eclipse/jem/internal/proxy/ide/IDEStandardBeanProxyFactory.java	2012-06-10 11:20:56.437322023 +0100
@@ -106,21 +106,21 @@
 		if (!nonPrimitiveProxy.isValid())
 			return nonPrimitiveProxy;
 		IDEBeanTypeProxy type = (IDEBeanTypeProxy) nonPrimitiveProxy.getTypeProxy();
-		if (type.getClass() == Boolean.class)
+		if (type.getTypeClass() == Boolean.class)
 			return this.createBeanProxyWith(((IBooleanBeanProxy) nonPrimitiveProxy).booleanValue());
-		else if (type.getClass() == Byte.class)
+		else if (type.getTypeClass() == Byte.class)
 			return this.createBeanProxyWith(((INumberBeanProxy) nonPrimitiveProxy).byteValue());
-		else if (type.getClass() == Character.class)
+		else if (type.getTypeClass() == Character.class)
 			return this.createBeanProxyWith(((ICharacterBeanProxy) nonPrimitiveProxy).charValue());
-		else if (type.getClass() == Double.class)
+		else if (type.getTypeClass() == Double.class)
 			return this.createBeanProxyWith(((INumberBeanProxy) nonPrimitiveProxy).doubleValue());
-		else if (type.getClass() == Float.class)
+		else if (type.getTypeClass() == Float.class)
 			return this.createBeanProxyWith(((INumberBeanProxy) nonPrimitiveProxy).floatValue());
-		else if (type.getClass() == Integer.class)
+		else if (type.getTypeClass() == Integer.class)
 			return this.createBeanProxyWith(((INumberBeanProxy) nonPrimitiveProxy).intValue());
-		else if (type.getClass() == Long.class)
+		else if (type.getTypeClass() == Long.class)
 			return this.createBeanProxyWith(((INumberBeanProxy) nonPrimitiveProxy).longValue());
-		else if (type.getClass() == Short.class)
+		else if (type.getTypeClass() == Short.class)
 			return this.createBeanProxyWith(((INumberBeanProxy) nonPrimitiveProxy).shortValue());
 		else
 			return nonPrimitiveProxy;