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

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


The following commit(s) were added to refs/heads/master by this push:
     new c0a4fae  Make constant `TWO` private
c0a4fae is described below

commit c0a4faef1e8d12ef44fe5a2bec5d78cd2c020678
Author: Daniel Sun <[email protected]>
AuthorDate: Sun Dec 13 18:26:53 2020 +0800

    Make constant `TWO` private
---
 .../groovy/ginq/provider/collection/runtime/QueryableCollection.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/QueryableCollection.java
 
b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/QueryableCollection.java
index c3169e0..c8881ac 100644
--- 
a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/QueryableCollection.java
+++ 
b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/QueryableCollection.java
@@ -58,7 +58,6 @@ import static 
org.apache.groovy.ginq.provider.collection.runtime.Queryable.from;
 @Internal
 class QueryableCollection<T> implements Queryable<T>, Serializable {
     private static final long serialVersionUID = -5067092453136522893L;
-    public static final BigDecimal BD_TWO = BigDecimal.valueOf(2);
     private Iterable<T> sourceIterable;
     private Stream<T> sourceStream;
 
@@ -509,4 +508,6 @@ class QueryableCollection<T> implements Queryable<T>, 
Serializable {
     public String toString() {
         return AsciiTableMaker.makeAsciiTable(this);
     }
+
+    private static final BigDecimal BD_TWO = BigDecimal.valueOf(2);
 }

Reply via email to