Commits

Jason Stonebraker committed 3459f48

Removed injected static method and pointed to the private getConfig… method instead.

Update Issue #1

Comments (0)

Files changed (1)

JsonExclusionMarshallerGrailsPlugin.groovy

                                 + o.getClass().getName(), e)
                         }
 
-                        propertiesToExclude += JSON.globalExclusions()
+                        propertiesToExclude += this.getConfiguredGlobalExclusions(application)
                         propertiesToExclude.each { property -> map.remove(property) }
                         
                         return map
 
             return impl(args)
         }
-
-        JSON.metaClass.static.globalExclusions << { arg ->
-            this.getConfiguredGlobalExclusions(application)
-        }
     }
 
     private List getConfiguredGlobalExclusions(application) {