groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject groovy git commit: GROOVY-8900: Make class `Tuple0`, `Tuple1`...`Tuple16` final(closes #829)
Date Fri, 23 Nov 2018 14:38:54 GMT
Repository: groovy
Updated Branches:
  refs/heads/master 650936ecd -> 306644ded


GROOVY-8900: Make class `Tuple0`, `Tuple1`...`Tuple16` final(closes #829)


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

Branch: refs/heads/master
Commit: 306644ded53082e6a076a9046a0b2235f8a277a0
Parents: 650936e
Author: Daniel Sun <sunlan@apache.org>
Authored: Fri Nov 23 22:38:30 2018 +0800
Committer: Daniel Sun <sunlan@apache.org>
Committed: Fri Nov 23 22:38:30 2018 +0800

----------------------------------------------------------------------
 src/main/groovy/groovy/lang/Tuple0.java  | 2 +-
 src/main/groovy/groovy/lang/Tuple1.java  | 2 +-
 src/main/groovy/groovy/lang/Tuple10.java | 2 +-
 src/main/groovy/groovy/lang/Tuple11.java | 2 +-
 src/main/groovy/groovy/lang/Tuple12.java | 2 +-
 src/main/groovy/groovy/lang/Tuple13.java | 2 +-
 src/main/groovy/groovy/lang/Tuple14.java | 2 +-
 src/main/groovy/groovy/lang/Tuple15.java | 2 +-
 src/main/groovy/groovy/lang/Tuple16.java | 2 +-
 src/main/groovy/groovy/lang/Tuple2.java  | 2 +-
 src/main/groovy/groovy/lang/Tuple3.java  | 2 +-
 src/main/groovy/groovy/lang/Tuple4.java  | 2 +-
 src/main/groovy/groovy/lang/Tuple5.java  | 2 +-
 src/main/groovy/groovy/lang/Tuple6.java  | 2 +-
 src/main/groovy/groovy/lang/Tuple7.java  | 2 +-
 src/main/groovy/groovy/lang/Tuple8.java  | 2 +-
 src/main/groovy/groovy/lang/Tuple9.java  | 2 +-
 17 files changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple0.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple0.java b/src/main/groovy/groovy/lang/Tuple0.java
index 3713201..95c098f 100644
--- a/src/main/groovy/groovy/lang/Tuple0.java
+++ b/src/main/groovy/groovy/lang/Tuple0.java
@@ -25,7 +25,7 @@ import groovy.util.function.Function0;
  *
  * @since 3.0.0
  */
-public class Tuple0 extends Tuple {
+public final class Tuple0 extends Tuple {
     private static final long serialVersionUID = -3791115121904072346L;
 
     public Tuple0() {

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple1.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple1.java b/src/main/groovy/groovy/lang/Tuple1.java
index f9b39a8..e152376 100644
--- a/src/main/groovy/groovy/lang/Tuple1.java
+++ b/src/main/groovy/groovy/lang/Tuple1.java
@@ -25,7 +25,7 @@ import groovy.util.function.Function1;
  *
  * @since 2.5.0
  */
-public class Tuple1<T1> extends Tuple {
+public final class Tuple1<T1> extends Tuple {
     private static final long serialVersionUID = -4647790147461409603L;
     private final T1 v1;
 

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple10.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple10.java b/src/main/groovy/groovy/lang/Tuple10.java
index 8cb7036..67ddded 100644
--- a/src/main/groovy/groovy/lang/Tuple10.java
+++ b/src/main/groovy/groovy/lang/Tuple10.java
@@ -28,7 +28,7 @@ import groovy.util.function.Function10;
  *
  * @since 3.0.0
  */
-public class Tuple10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> extends Tuple {
+public final class Tuple10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> extends Tuple {
     private static final long serialVersionUID = 7824474731525795360L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple11.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple11.java b/src/main/groovy/groovy/lang/Tuple11.java
index 511f01f..23bb963 100644
--- a/src/main/groovy/groovy/lang/Tuple11.java
+++ b/src/main/groovy/groovy/lang/Tuple11.java
@@ -28,7 +28,7 @@ import groovy.util.function.Function11;
  *
  * @since 3.0.0
  */
-public class Tuple11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> extends Tuple {
+public final class Tuple11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> extends Tuple
{
     private static final long serialVersionUID = -8882524414681687282L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple12.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple12.java b/src/main/groovy/groovy/lang/Tuple12.java
index b14ab76..582cb92 100644
--- a/src/main/groovy/groovy/lang/Tuple12.java
+++ b/src/main/groovy/groovy/lang/Tuple12.java
@@ -28,7 +28,7 @@ import groovy.util.function.Function12;
  *
  * @since 3.0.0
  */
-public class Tuple12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> extends Tuple
{
+public final class Tuple12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> extends
Tuple {
     private static final long serialVersionUID = 8297587976812329899L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple13.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple13.java b/src/main/groovy/groovy/lang/Tuple13.java
index 406147a..d5ed275 100644
--- a/src/main/groovy/groovy/lang/Tuple13.java
+++ b/src/main/groovy/groovy/lang/Tuple13.java
@@ -28,7 +28,7 @@ import groovy.util.function.Function13;
  *
  * @since 3.0.0
  */
-public class Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> extends
Tuple {
+public final class Tuple13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
extends Tuple {
     private static final long serialVersionUID = -3709443502209750114L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple14.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple14.java b/src/main/groovy/groovy/lang/Tuple14.java
index f08138a..b9988b3 100644
--- a/src/main/groovy/groovy/lang/Tuple14.java
+++ b/src/main/groovy/groovy/lang/Tuple14.java
@@ -28,7 +28,7 @@ import groovy.util.function.Function14;
  *
  * @since 3.0.0
  */
-public class Tuple14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> extends
Tuple {
+public final class Tuple14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>
extends Tuple {
     private static final long serialVersionUID = -8866382365396941648L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple15.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple15.java b/src/main/groovy/groovy/lang/Tuple15.java
index 2981472..5d6f56d 100644
--- a/src/main/groovy/groovy/lang/Tuple15.java
+++ b/src/main/groovy/groovy/lang/Tuple15.java
@@ -28,7 +28,7 @@ import groovy.util.function.Function15;
  *
  * @since 3.0.0
  */
-public class Tuple15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
extends Tuple {
+public final class Tuple15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14,
T15> extends Tuple {
     private static final long serialVersionUID = -8866382365396941648L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple16.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple16.java b/src/main/groovy/groovy/lang/Tuple16.java
index 66ef023..39a477f 100644
--- a/src/main/groovy/groovy/lang/Tuple16.java
+++ b/src/main/groovy/groovy/lang/Tuple16.java
@@ -28,7 +28,7 @@ import groovy.util.function.Function16;
  *
  * @since 3.0.0
  */
-public class Tuple16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15,
T16> extends Tuple {
+public final class Tuple16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14,
T15, T16> extends Tuple {
     private static final long serialVersionUID = -8866382365396941648L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple2.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple2.java b/src/main/groovy/groovy/lang/Tuple2.java
index 83645c7..821aea9 100644
--- a/src/main/groovy/groovy/lang/Tuple2.java
+++ b/src/main/groovy/groovy/lang/Tuple2.java
@@ -26,7 +26,7 @@ import java.util.Optional;
 /**
  * Represents a list of 2 typed Objects.
  */
-public class Tuple2<T1, T2> extends Tuple {
+public final class Tuple2<T1, T2> extends Tuple {
     private static final long serialVersionUID = 9006144674906325597L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple3.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple3.java b/src/main/groovy/groovy/lang/Tuple3.java
index ff567f0..e3945fb 100644
--- a/src/main/groovy/groovy/lang/Tuple3.java
+++ b/src/main/groovy/groovy/lang/Tuple3.java
@@ -27,7 +27,7 @@ import groovy.util.function.Function3;
  *
  * @since 2.5.0
  */
-public class Tuple3<T1, T2, T3> extends Tuple {
+public final class Tuple3<T1, T2, T3> extends Tuple {
     private static final long serialVersionUID = 8469774237154310687L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple4.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple4.java b/src/main/groovy/groovy/lang/Tuple4.java
index 39b2e0e..c18d014 100644
--- a/src/main/groovy/groovy/lang/Tuple4.java
+++ b/src/main/groovy/groovy/lang/Tuple4.java
@@ -27,7 +27,7 @@ import groovy.util.function.Function4;
  *
  * @since 2.5.0
  */
-public class Tuple4<T1, T2, T3, T4> extends Tuple {
+public final class Tuple4<T1, T2, T3, T4> extends Tuple {
     private static final long serialVersionUID = -7788878731471377207L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple5.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple5.java b/src/main/groovy/groovy/lang/Tuple5.java
index 663a8fa..9269377 100644
--- a/src/main/groovy/groovy/lang/Tuple5.java
+++ b/src/main/groovy/groovy/lang/Tuple5.java
@@ -27,7 +27,7 @@ import groovy.util.function.Function5;
  *
  * @since 2.5.0
  */
-public class Tuple5<T1, T2, T3, T4, T5> extends Tuple {
+public final class Tuple5<T1, T2, T3, T4, T5> extends Tuple {
     private static final long serialVersionUID = 6722094358774027115L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple6.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple6.java b/src/main/groovy/groovy/lang/Tuple6.java
index 4dfdb7b..d4d79a1 100644
--- a/src/main/groovy/groovy/lang/Tuple6.java
+++ b/src/main/groovy/groovy/lang/Tuple6.java
@@ -27,7 +27,7 @@ import groovy.util.function.Function6;
  *
  * @since 2.5.0
  */
-public class Tuple6<T1, T2, T3, T4, T5, T6> extends Tuple {
+public final class Tuple6<T1, T2, T3, T4, T5, T6> extends Tuple {
     private static final long serialVersionUID = -7848588473093102288L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple7.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple7.java b/src/main/groovy/groovy/lang/Tuple7.java
index 3ee897e..8debcfd 100644
--- a/src/main/groovy/groovy/lang/Tuple7.java
+++ b/src/main/groovy/groovy/lang/Tuple7.java
@@ -27,7 +27,7 @@ import groovy.util.function.Function7;
  *
  * @since 2.5.0
  */
-public class Tuple7<T1, T2, T3, T4, T5, T6, T7> extends Tuple {
+public final class Tuple7<T1, T2, T3, T4, T5, T6, T7> extends Tuple {
     private static final long serialVersionUID = 4226144828786865766L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple8.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple8.java b/src/main/groovy/groovy/lang/Tuple8.java
index c20bd76..d01321e 100644
--- a/src/main/groovy/groovy/lang/Tuple8.java
+++ b/src/main/groovy/groovy/lang/Tuple8.java
@@ -27,7 +27,7 @@ import groovy.util.function.Function8;
  *
  * @since 2.5.0
  */
-public class Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> extends Tuple {
+public final class Tuple8<T1, T2, T3, T4, T5, T6, T7, T8> extends Tuple {
     private static final long serialVersionUID = -8895822084644138566L;
     private final T1 v1;
     private final T2 v2;

http://git-wip-us.apache.org/repos/asf/groovy/blob/306644de/src/main/groovy/groovy/lang/Tuple9.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/groovy/lang/Tuple9.java b/src/main/groovy/groovy/lang/Tuple9.java
index 0b91b64..ecc13bf 100644
--- a/src/main/groovy/groovy/lang/Tuple9.java
+++ b/src/main/groovy/groovy/lang/Tuple9.java
@@ -28,7 +28,7 @@ import groovy.util.function.Function9;
  *
  * @since 2.5.0
  */
-public class Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9> extends Tuple {
+public final class Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9> extends Tuple {
     private static final long serialVersionUID = -5181196675351911769L;
     private final T1 v1;
     private final T2 v2;


Mime
View raw message