Revision: 14884
          http://gate.svn.sourceforge.net/gate/?rev=14884&view=rev
Author:   markagreenwood
Date:     2012-01-05 14:19:17 +0000 (Thu, 05 Jan 2012)
Log Message:
-----------
for maps you need to use putAll not addAll, while this fix is for the old style 
template DSL, it's the style used in the default template so without this the 
default template causes an error when you try and create a new index

Modified Paths:
--------------
    
mimir/trunk/mimir-web/src/groovy/gate/mimir/util/SemanticAnnotationsHandler.groovy

Modified: 
mimir/trunk/mimir-web/src/groovy/gate/mimir/util/SemanticAnnotationsHandler.groovy
===================================================================
--- 
mimir/trunk/mimir-web/src/groovy/gate/mimir/util/SemanticAnnotationsHandler.groovy
  2012-01-05 12:57:46 UTC (rev 14883)
+++ 
mimir/trunk/mimir-web/src/groovy/gate/mimir/util/SemanticAnnotationsHandler.groovy
  2012-01-05 14:19:17 UTC (rev 14884)
@@ -131,7 +131,7 @@
     }
 
     def helperParams = [:]
-    helperParams.addAll(defParams)
+    helperParams.putAll(defParams)
     helperParams.remove('type')
     helperParams.annType = annotationType
     annotation(type:annotationType, helper:theClass.newInstance(helperParams))

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


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to