[groovy] branch master updated: Trivial refactoring: remove redundant code

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[groovy] branch master updated: Trivial refactoring: remove redundant code

Daniel.Sun
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 1c358e8  Trivial refactoring: remove redundant code
1c358e8 is described below

commit 1c358e84e427b3a6ff808533a93e1d76f4fa0d67
Author: Daniel Sun <[hidden email]>
AuthorDate: Sun Jan 10 19:00:06 2021 +0800

    Trivial refactoring: remove redundant code
---
 .../groovy/ginq/provider/collection/runtime/QueryableCollection.java     | 1 -
 1 file changed, 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 55aca1f..06c9fec 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
@@ -544,7 +544,6 @@ class QueryableCollection<T> implements Queryable<T>, Serializable {
 
     @Override
     public <U extends Comparable<? super U>> Window<T> over(Tuple2<T, Long> currentRecord, WindowDefinition<T, U> windowDefinition) {
-        this.makeReusable();
         final Tuple3<String, String, String> idTuple = (Tuple3<String, String, String>) windowDefinition.getId(); // (partitionId, orderId, windowDefinitionId)
         final String partitionId = idTuple.getV1();
 

Apache Groovy committer & PMC member

Blog: http://blog.sunlan.me
Twitter: @daniel_sun