[jboss-cvs] jboss-seam/src/main/org/jboss/seam/remoting/wrapper ...
Gavin King
gavin.king at jboss.com
Fri Nov 17 12:17:42 EST 2006
User: gavin
Date: 06/11/17 12:17:42
Modified: src/main/org/jboss/seam/remoting/wrapper
BaseWrapper.java BeanWrapper.java
NumberWrapper.java StringWrapper.java Wrapper.java
WrapperFactory.java
Log:
get rid of javadoc warnings
Revision Changes Path
1.4 +0 -2 jboss-seam/src/main/org/jboss/seam/remoting/wrapper/BaseWrapper.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BaseWrapper.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/remoting/wrapper/BaseWrapper.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- BaseWrapper.java 4 Jul 2006 21:33:34 -0000 1.3
+++ BaseWrapper.java 17 Nov 2006 17:17:42 -0000 1.4
@@ -65,8 +65,6 @@
/**
* Sets the call context
- *
- * @param call Call
*/
public void setCallContext(CallContext context)
{
1.13 +0 -29 jboss-seam/src/main/org/jboss/seam/remoting/wrapper/BeanWrapper.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BeanWrapper.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/remoting/wrapper/BeanWrapper.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- BeanWrapper.java 25 Oct 2006 15:14:37 -0000 1.12
+++ BeanWrapper.java 17 Nov 2006 17:17:42 -0000 1.13
@@ -30,10 +30,6 @@
private static final byte[] MEMBER_START_TAG_CLOSE = "\">".getBytes();
private static final byte[] MEMBER_CLOSE_TAG = "</member>".getBytes();
- /**
- *
- * @param element Element
- */
@Override
public void setElement(Element element)
{
@@ -118,11 +114,6 @@
}
}
- /**
- *
- * @param cls Class
- * @return Object
- */
public Object convert(Type type)
throws ConversionException
{
@@ -133,11 +124,6 @@
"Value [%s] cannot be converted to type [%s].", value, type));
}
- /**
- *
- * @param out OutputStream
- * @throws IOException
- */
public void marshal(OutputStream out)
throws IOException
{
@@ -148,11 +134,6 @@
out.write(REF_START_TAG_END);
}
- /**
- *
- * @param out OutputStream
- * @throws IOException
- */
@Override
public void serialize(OutputStream out)
throws IOException
@@ -160,11 +141,6 @@
serialize(out, null);
}
- /**
- *
- * @param out OutputStream
- * @throws IOException
- */
public void serialize(OutputStream out, List<String> constraints)
throws IOException
{
@@ -271,11 +247,6 @@
out.write(BEAN_CLOSE_TAG);
}
- /**
- *
- * @param cls Class
- * @return int
- */
public ConversionScore conversionScore(Class cls) {
if (cls.equals(value.getClass()))
return ConversionScore.exact;
1.3 +0 -5 jboss-seam/src/main/org/jboss/seam/remoting/wrapper/NumberWrapper.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NumberWrapper.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/remoting/wrapper/NumberWrapper.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- NumberWrapper.java 24 Apr 2006 06:43:58 -0000 1.2
+++ NumberWrapper.java 17 Nov 2006 17:17:42 -0000 1.3
@@ -14,11 +14,6 @@
private static final byte[] NUMBER_TAG_OPEN = "<number>".getBytes();
private static final byte[] NUMBER_TAG_CLOSE = "</number>".getBytes();
- /**
- *
- * @param cls Class
- * @return Object
- */
public Object convert(Type type)
throws ConversionException
{
1.9 +0 -10 jboss-seam/src/main/org/jboss/seam/remoting/wrapper/StringWrapper.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: StringWrapper.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/remoting/wrapper/StringWrapper.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- StringWrapper.java 25 Oct 2006 15:14:37 -0000 1.8
+++ StringWrapper.java 17 Nov 2006 17:17:42 -0000 1.9
@@ -105,11 +105,6 @@
Character.class, Character.TYPE, Byte.class, Byte.TYPE,
BigInteger.class, BigDecimal.class, Object.class};
- /**
- *
- * @param targetClass Class
- * @return Object
- */
public Object convert(Type type)
throws ConversionException
{
@@ -145,11 +140,6 @@
}
}
- /**
- *
- * @param target Class
- * @return int
- */
public ConversionScore conversionScore(Class cls)
{
if (cls.equals(String.class) ||
1.4 +0 -8 jboss-seam/src/main/org/jboss/seam/remoting/wrapper/Wrapper.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Wrapper.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/remoting/wrapper/Wrapper.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- Wrapper.java 4 Jul 2006 21:33:34 -0000 1.3
+++ Wrapper.java 17 Nov 2006 17:17:42 -0000 1.4
@@ -21,10 +21,6 @@
*/
public void setPath(String path);
- /**
- *
- * @param call Call
- */
public void setCallContext(CallContext context);
/**
@@ -54,8 +50,6 @@
/**
* Convert the wrapped parameter value to the specified target class.
*
- * @param targetClass Class
- * @return Object
*/
public Object convert(Type type) throws ConversionException;
@@ -72,8 +66,6 @@
* 1 - Can be converted to this type
* 2 - Param is this exact type
*
- * @param target Class
- * @return int
*/
public ConversionScore conversionScore(Class cls);
}
1.8 +0 -27 jboss-seam/src/main/org/jboss/seam/remoting/wrapper/WrapperFactory.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: WrapperFactory.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/remoting/wrapper/WrapperFactory.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- WrapperFactory.java 12 Oct 2006 00:05:43 -0000 1.7
+++ WrapperFactory.java 17 Nov 2006 17:17:42 -0000 1.8
@@ -23,9 +23,6 @@
*/
private Map<String,Class> wrapperRegistry = new HashMap<String,Class>();
- /**
- *
- */
private Map<Class,Class> classRegistry = new HashMap<Class,Class>();
/**
@@ -62,40 +59,21 @@
registerWrapperClass(Byte.class, NumberWrapper.class);
}
- /**
- *
- * @param type String
- * @param wrapperClass Class
- */
public void registerWrapper(String type, Class wrapperClass)
{
wrapperRegistry.put(type, wrapperClass);
}
- /**
- *
- * @param cls Class
- * @param wrapperClass Class
- */
public void registerWrapperClass(Class cls, Class wrapperClass)
{
classRegistry.put(cls, wrapperClass);
}
- /**
- *
- * @return WrapperFactory
- */
public static WrapperFactory getInstance()
{
return factory;
}
- /**
- *
- * @param element Element
- * @return BaseWrapper
- */
public Wrapper createWrapper(String type)
{
Class wrapperClass = wrapperRegistry.get(type);
@@ -113,11 +91,6 @@
type));
}
- /**
- *
- * @param obj Object
- * @return Wrapper
- */
public Wrapper getWrapperForObject(Object obj)
{
if (obj == null)
More information about the jboss-cvs-commits
mailing list