openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r939097 - in /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans: config/OwbParametrizedTypeImpl.java xml/XMLUtil.java
Date Wed, 28 Apr 2010 21:20:29 GMT
Author: gerdogdu
Date: Wed Apr 28 21:20:28 2010
New Revision: 939097

URL: http://svn.apache.org/viewvc?rev=939097&view=rev
Log:
remove warnings add comments

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OwbParametrizedTypeImpl.java
  (contents, props changed)
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLUtil.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OwbParametrizedTypeImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OwbParametrizedTypeImpl.java?rev=939097&r1=939096&r2=939097&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OwbParametrizedTypeImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OwbParametrizedTypeImpl.java
Wed Apr 28 21:20:28 2010
@@ -22,18 +22,29 @@ import java.lang.reflect.ParameterizedTy
 import java.lang.reflect.Type;
 import java.util.ArrayList;
 import java.util.Arrays;
-import java.util.HashSet;
 import java.util.List;
-import java.util.Set;
 
+/**
+ * Custom parametrized type implementation.
+ * @version $Rev$ $Date$
+ *
+ */
 public class OwbParametrizedTypeImpl implements ParameterizedType
 {
+    /**Owner type*/
     private final Type owner;
     
+    /**Raw type*/
     private final Type rawType;
     
+    /**Actual type arguments*/
     private final List<Type> types = new ArrayList<Type>();
     
+    /**
+     * New instance.
+     * @param owner owner
+     * @param raw raw
+     */
     public OwbParametrizedTypeImpl(Type owner, Type raw)
     {
         this.owner = owner;

Propchange: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/OwbParametrizedTypeImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLUtil.java?rev=939097&r1=939096&r2=939097&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLUtil.java (original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/xml/XMLUtil.java Wed
Apr 28 21:20:28 2010
@@ -51,6 +51,7 @@ import org.w3c.dom.Attr; 
 import org.w3c.dom.NodeList;
 
 
+@SuppressWarnings("unchecked")
 public class XMLUtil {
 
     private XMLUtil()



Mime
View raw message