abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r571848 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/converter/AbstractConversionContext.java
Date Sat, 01 Sep 2007 18:06:37 GMT
Author: jmsnell
Date: Sat Sep  1 11:06:36 2007
New Revision: 571848

URL: http://svn.apache.org/viewvc?rev=571848&view=rev
Log:
Fix compile bug

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/converter/AbstractConversionContext.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/converter/AbstractConversionContext.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/converter/AbstractConversionContext.java?rev=571848&r1=571847&r2=571848&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/converter/AbstractConversionContext.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/converter/AbstractConversionContext.java
Sat Sep  1 11:06:36 2007
@@ -100,7 +100,7 @@
   }
 
   public <T> T convert(Object object) {
-    return convert(object,new ObjectContext(object));
+    return (T)convert(object,new ObjectContext(object));
   }
 
   public <T> T convert(Object object, ObjectContext objectContext) {
@@ -115,7 +115,7 @@
   }
 
   public <T> T convert(Object object, Converter<T> converter) {
-    return convert(object,new ObjectContext(object),converter);
+    return (T)convert(object,new ObjectContext(object),converter);
   }
 
   public <T> T convert(



Mime
View raw message