Revision: 17843
          http://sourceforge.net/p/gate/code/17843
Author:   ian_roberts
Date:     2014-04-16 14:26:41 +0000 (Wed, 16 Apr 2014)
Log Message:
-----------
Backported MissingMethodException fix from 5.0 trunk - we need to explicitly
cast the return value from collect into an array rather than a list

Modified Paths:
--------------
    
mimir/branches/4.2/mimir-web/grails-app/services/gate/mimir/web/FederatedIndexService.groovy

Modified: 
mimir/branches/4.2/mimir-web/grails-app/services/gate/mimir/web/FederatedIndexService.groovy
===================================================================
--- 
mimir/branches/4.2/mimir-web/grails-app/services/gate/mimir/web/FederatedIndexService.groovy
        2014-04-16 12:56:02 UTC (rev 17842)
+++ 
mimir/branches/4.2/mimir-web/grails-app/services/gate/mimir/web/FederatedIndexService.groovy
        2014-04-16 14:26:41 UTC (rev 17843)
@@ -176,7 +176,7 @@
         return TermsResultSet.groupByDescription(
           index.indexes.collect{ 
             Index subIndex -> subIndex.postTermsQuery(query)
-          }
+          } as TermsResultSet[]
         )
       }
     }   

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to