abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r529118 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java
Date Mon, 16 Apr 2007 02:10:04 GMT
Author: jmsnell
Date: Sun Apr 15 19:10:03 2007
New Revision: 529118

URL: http://svn.apache.org/viewvc?view=rev&rev=529118
Log:
I hate silly bugs... especially when I'm the one who makes 'em.

Actually returning objects that we create is helpful.

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java?view=diff&rev=529118&r1=529117&r2=529118
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java
Sun Apr 15 19:10:03 2007
@@ -203,7 +203,7 @@
       types = new Class[args.length];
       for (int n = 0; n < args.length; n++)
         types[n] = args[n].getClass();
-      _class.getConstructor(types).newInstance(args);
+      return _class.getConstructor(types).newInstance(args);
     } catch (Exception e) {
       // Nothing
     }



Mime
View raw message