You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2015/10/15 18:19:24 UTC

incubator-groovy git commit: GROOVY-2242: Missing information in Javadoc of ExpandoMetaClass.enableGlobally()

Repository: incubator-groovy
Updated Branches:
  refs/heads/master 77fb28f38 -> f3c258a11


GROOVY-2242: Missing information in Javadoc of ExpandoMetaClass.enableGlobally()


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/f3c258a1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/f3c258a1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/f3c258a1

Branch: refs/heads/master
Commit: f3c258a1169a201487fc4396d316ab9fab06e209
Parents: 77fb28f
Author: pascalschumacher <pa...@gmx.net>
Authored: Thu Oct 15 18:19:07 2015 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Thu Oct 15 18:19:07 2015 +0200

----------------------------------------------------------------------
 src/main/groovy/lang/ExpandoMetaClass.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/f3c258a1/src/main/groovy/lang/ExpandoMetaClass.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/lang/ExpandoMetaClass.java b/src/main/groovy/lang/ExpandoMetaClass.java
index 73a9baf..08e99c9 100644
--- a/src/main/groovy/lang/ExpandoMetaClass.java
+++ b/src/main/groovy/lang/ExpandoMetaClass.java
@@ -460,8 +460,10 @@ public class ExpandoMetaClass extends MetaClassImpl implements GroovyObject {
     }
 
     /**
-     * Call to enable global use of ExpandoMetaClass within the registry. This has the advantage that
-     * inheritance will function correctly, but has a higher memory usage on the JVM than normal Groovy
+     * Call to enable global use of ExpandoMetaClass within the registry.
+     * This has the advantage that inheritance will function correctly and 
+     * metaclass modifications will also apply to existing objects,
+     * but has a higher memory usage on the JVM than normal Groovy
      */
     public static void enableGlobally() {
         DefaultMetaClassInfo.setWithoutCustomMetaclassCreationHandle(false);