commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1130668 - /commons/sandbox/digester3/trunk/src/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/BookFactory.java
Date Thu, 02 Jun 2011 17:26:10 GMT
Author: simonetripodi
Date: Thu Jun  2 17:26:09 2011
New Revision: 1130668

URL: http://svn.apache.org/viewvc?rev=1130668&view=rev
Log:
added Factory generics

Modified:
    commons/sandbox/digester3/trunk/src/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/BookFactory.java

Modified: commons/sandbox/digester3/trunk/src/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/BookFactory.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/BookFactory.java?rev=1130668&r1=1130667&r2=1130668&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/BookFactory.java
(original)
+++ commons/sandbox/digester3/trunk/src/examples/api/catalog/src/main/java/org/apache/commons/digester3/examples/api/catalog/BookFactory.java
Thu Jun  2 17:26:09 2011
@@ -60,10 +60,10 @@ import org.apache.commons.digester3.Abst
  * overhead of using this functionality in many cases. 
  */
 public class BookFactory
-    extends AbstractObjectCreationFactory
+    extends AbstractObjectCreationFactory<Book>
 {
 
-    public Object createObject( org.xml.sax.Attributes attributes )
+    public Book createObject( org.xml.sax.Attributes attributes )
         throws Exception
     {
         String isbn = attributes.getValue( "isbn" );



Mime
View raw message