[jboss-svn-commits] JBL Code SVN: r31636 - labs/jbossrules/branches/camel_jaxb_marshaller2-lucaz/drools-core/src/main/java/org/drools.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Feb 12 14:28:00 EST 2010


Author: baunax
Date: 2010-02-12 14:28:00 -0500 (Fri, 12 Feb 2010)
New Revision: 31636

Modified:
   labs/jbossrules/branches/camel_jaxb_marshaller2-lucaz/drools-core/src/main/java/org/drools/QueryResult.java
Log:
- fixed typo
- and removed unused casts

Modified: labs/jbossrules/branches/camel_jaxb_marshaller2-lucaz/drools-core/src/main/java/org/drools/QueryResult.java
===================================================================
--- labs/jbossrules/branches/camel_jaxb_marshaller2-lucaz/drools-core/src/main/java/org/drools/QueryResult.java	2010-02-12 19:13:32 UTC (rev 31635)
+++ labs/jbossrules/branches/camel_jaxb_marshaller2-lucaz/drools-core/src/main/java/org/drools/QueryResult.java	2010-02-12 19:28:00 UTC (rev 31636)
@@ -62,13 +62,13 @@
     }
 
     /** 
-     * Return the Object for the given Declaration identifer.
+     * Return the Object for the given Declaration identifier.
      * @param identifier
      * @return
      *      The Object
      */
     public Object get(final String identifier) {
-        return get( (Declaration) this.queryResults.getDeclarations().get( identifier ) );
+        return get( this.queryResults.getDeclarations().get( identifier ) );
     }
 
     /** 
@@ -82,7 +82,7 @@
     }
     
     public FactHandle getFactHandle(String identifier) {
-        return getFactHandle( ( Declaration ) this.queryResults.getDeclarations().get( identifier ) );
+        return getFactHandle( this.queryResults.getDeclarations().get( identifier ) );
     }
     
     public FactHandle getFactHandle(Declaration declr) {



More information about the jboss-svn-commits mailing list