[groovy] branch master updated: Add `serialVersionUID`

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: Add `serialVersionUID`

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 59c6e30  Add `serialVersionUID`
59c6e30 is described below

commit 59c6e30151a35d010c8d1bf50bb2d767fe1ece0b
Author: Daniel Sun <[hidden email]>
AuthorDate: Sun Jan 10 16:13:30 2021 +0800

    Add `serialVersionUID`
---
 .../apache/groovy/ginq/provider/collection/runtime/PartitionImpl.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/PartitionImpl.java b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/PartitionImpl.java
index 25b656b..c2817e2 100644
--- a/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/PartitionImpl.java
+++ b/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/PartitionImpl.java
@@ -29,6 +29,8 @@ import java.util.List;
  * @since 4.0.0
  */
 class PartitionImpl<T> extends QueryableCollection<T> implements Partition<T> {
+    private static final long serialVersionUID = -3650144225768070117L;
+
     public static <T, U extends Comparable<? super U>> Partition<Tuple2<T, Long>> newInstance(List<Tuple2<T, Long>> listWithIndex) {
         return new PartitionImpl<>(listWithIndex);
     }

Apache Groovy committer & PMC member

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