abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r772409 - /abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ElementWrapper.java
Date Wed, 06 May 2009 19:43:45 GMT
Author: jmsnell
Date: Wed May  6 19:43:44 2009
New Revision: 772409

URL: http://svn.apache.org/viewvc?rev=772409&view=rev
Log:
remove unnecessary compiler warnings

Modified:
    abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ElementWrapper.java

Modified: abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ElementWrapper.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ElementWrapper.java?rev=772409&r1=772408&r2=772409&view=diff
==============================================================================
--- abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ElementWrapper.java (original)
+++ abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ElementWrapper.java Wed May
 6 19:43:44 2009
@@ -107,12 +107,10 @@
     return internal.getFactory();
   }
 
-  @SuppressWarnings("unchecked")
   public <T extends Element> T getFirstChild() {
     return (T) internal.getFirstChild();
   }
 
-  @SuppressWarnings("unchecked")
   public <T extends Element> T getFirstChild(QName qname) {
     return (T) internal.getFirstChild(qname);
   }
@@ -129,27 +127,22 @@
     return internal.getLocale();
   }
 
-  @SuppressWarnings("unchecked")
   public <T extends Element> T getNextSibling() {
     return (T) internal.getNextSibling();
   }
 
-  @SuppressWarnings("unchecked")
   public <T extends Element> T getNextSibling(QName qname) {
     return (T) internal.getNextSibling(qname);
   }
 
-  @SuppressWarnings("unchecked")
   public <T extends Base> T getParentElement() {
     return (T) internal.getParentElement();
   }
 
-  @SuppressWarnings("unchecked")
   public <T extends Element> T getPreviousSibling() {
     return (T) internal.getPreviousSibling();
   }
 
-  @SuppressWarnings("unchecked")
   public <T extends Element> T getPreviousSibling(QName qname) {
     return (T) internal.getPreviousSibling(qname);
   }



Mime
View raw message