You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2020/07/13 23:19:44 UTC

[groovy] branch GROOVY-9644 created (now 618a754)

This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a change to branch GROOVY-9644
in repository https://gitbox.apache.org/repos/asf/groovy.git.


      at 618a754  GROOVY-9644: Add java.io.File to immutable type list

This branch includes the following new commits:

     new 618a754  GROOVY-9644: Add java.io.File to immutable type list

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[groovy] 01/01: GROOVY-9644: Add java.io.File to immutable type list

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch GROOVY-9644
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 618a75415dcc7ed60ad9eff62af064de1dad86d6
Author: Daniel Sun <su...@apache.org>
AuthorDate: Tue Jul 14 07:18:50 2020 +0800

    GROOVY-9644: Add java.io.File to immutable type list
---
 src/main/java/org/apache/groovy/ast/tools/ImmutablePropertyUtils.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/groovy/ast/tools/ImmutablePropertyUtils.java b/src/main/java/org/apache/groovy/ast/tools/ImmutablePropertyUtils.java
index 7ee64a6..4e2bde0 100644
--- a/src/main/java/org/apache/groovy/ast/tools/ImmutablePropertyUtils.java
+++ b/src/main/java/org/apache/groovy/ast/tools/ImmutablePropertyUtils.java
@@ -115,7 +115,8 @@ public class ImmutablePropertyUtils {
             "java.time.temporal.IsoFields",
             "java.time.temporal.JulianFields",
             "java.time.temporal.ValueRange",
-            "java.time.temporal.WeekFields"
+            "java.time.temporal.WeekFields",
+            "java.io.File"
     ));
 
     private ImmutablePropertyUtils() { }