diff options
Diffstat (limited to 'plugins/org.eclipse.jem.proxy/proxyide/org/eclipse/jem/internal/proxy/ide/IDEShortTypeBeanTypeProxy.java')
-rw-r--r-- | plugins/org.eclipse.jem.proxy/proxyide/org/eclipse/jem/internal/proxy/ide/IDEShortTypeBeanTypeProxy.java | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/plugins/org.eclipse.jem.proxy/proxyide/org/eclipse/jem/internal/proxy/ide/IDEShortTypeBeanTypeProxy.java b/plugins/org.eclipse.jem.proxy/proxyide/org/eclipse/jem/internal/proxy/ide/IDEShortTypeBeanTypeProxy.java deleted file mode 100644 index 3ae6dfb64..000000000 --- a/plugins/org.eclipse.jem.proxy/proxyide/org/eclipse/jem/internal/proxy/ide/IDEShortTypeBeanTypeProxy.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2005 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jem.internal.proxy.ide; -/* - - - */ - -import org.eclipse.jem.internal.proxy.core.*; - -/** - * Short BeanType Proxy. - */ -final class IDEShortTypeBeanTypeProxy extends IDEPrimitiveBeanTypeProxy { -protected IDEShortTypeBeanTypeProxy(IDEProxyFactoryRegistry aRegistry, Class aClass) { - super(aRegistry, aClass); -} -INumberBeanProxy createShortBeanProxy(short aShort){ - return new IDENumberBeanProxy(fProxyFactoryRegistry,new Short(aShort),this); -} -int getPrimitiveType(){ - return SHORT; -} -protected IIDEBeanProxy newBeanProxy(Object anObject){ - Number n = anObject instanceof Character ? new Short((short) ((Character) anObject).charValue()) : (Number) anObject; - return new IDENumberBeanProxy(fProxyFactoryRegistry, n, this); -} -} |