You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lc...@apache.org on 2017/11/09 22:29:54 UTC

[1/2] beam git commit: Remove redundant public modifier on inner interfaces

Repository: beam
Updated Branches:
  refs/heads/master dc0892cf1 -> b203af7fd


Remove redundant public modifier on inner interfaces


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

Branch: refs/heads/master
Commit: d4f33dd0eb0e23e021ecc77cdd9cd4cbaefd34c5
Parents: dc0892c
Author: wtanaka.com <wt...@users.noreply.github.com>
Authored: Sat Oct 7 08:57:02 2017 -1000
Committer: Luke Cwik <lc...@google.com>
Committed: Thu Nov 9 14:29:21 2017 -0800

----------------------------------------------------------------------
 .../org/apache/beam/sdk/options/Default.java    | 22 ++++++++++----------
 .../org/apache/beam/sdk/options/Validation.java |  2 +-
 2 files changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/d4f33dd0/sdks/java/core/src/main/java/org/apache/beam/sdk/options/Default.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/options/Default.java b/sdks/java/core/src/main/java/org/apache/beam/sdk/options/Default.java
index cd26a87..e031736 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/options/Default.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/options/Default.java
@@ -46,7 +46,7 @@ public @interface Default {
   @Target(ElementType.METHOD)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
-  public @interface String {
+  @interface String {
     java.lang.String value();
   }
 
@@ -56,7 +56,7 @@ public @interface Default {
   @Target(ElementType.METHOD)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
-  public @interface Boolean {
+  @interface Boolean {
     boolean value();
   }
 
@@ -66,7 +66,7 @@ public @interface Default {
   @Target(ElementType.METHOD)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
-  public @interface Character {
+  @interface Character {
     char value();
   }
 
@@ -76,7 +76,7 @@ public @interface Default {
   @Target(ElementType.METHOD)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
-  public @interface Byte {
+  @interface Byte {
     byte value();
   }
   /**
@@ -85,7 +85,7 @@ public @interface Default {
   @Target(ElementType.METHOD)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
-  public @interface Short {
+  @interface Short {
     short value();
   }
   /**
@@ -94,7 +94,7 @@ public @interface Default {
   @Target(ElementType.METHOD)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
-  public @interface Integer {
+  @interface Integer {
     int value();
   }
 
@@ -104,7 +104,7 @@ public @interface Default {
   @Target(ElementType.METHOD)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
-  public @interface Long {
+  @interface Long {
     long value();
   }
 
@@ -114,7 +114,7 @@ public @interface Default {
   @Target(ElementType.METHOD)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
-  public @interface Float {
+  @interface Float {
     float value();
   }
 
@@ -124,7 +124,7 @@ public @interface Default {
   @Target(ElementType.METHOD)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
-  public @interface Double {
+  @interface Double {
     double value();
   }
 
@@ -135,7 +135,7 @@ public @interface Default {
   @Target(ElementType.METHOD)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
-  public @interface Enum {
+  @interface Enum {
     java.lang.String value();
   }
 
@@ -148,7 +148,7 @@ public @interface Default {
   @Target(ElementType.METHOD)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
-  public @interface InstanceFactory {
+  @interface InstanceFactory {
     java.lang.Class<? extends DefaultValueFactory<?>> value();
   }
 }

http://git-wip-us.apache.org/repos/asf/beam/blob/d4f33dd0/sdks/java/core/src/main/java/org/apache/beam/sdk/options/Validation.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/options/Validation.java b/sdks/java/core/src/main/java/org/apache/beam/sdk/options/Validation.java
index 458a450..2143884 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/options/Validation.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/options/Validation.java
@@ -36,7 +36,7 @@ public @interface Validation {
   @Target(value = ElementType.METHOD)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
-  public @interface Required {
+  @interface Required {
     /**
      * The groups that the annotated attribute is a member of. A member can be in 0 or more groups.
      * Members not in any groups are considered to be in a group consisting exclusively of


[2/2] beam git commit: Remove redundant public modifier on inner interfaces

Posted by lc...@apache.org.
Remove redundant public modifier on inner interfaces

This closes #4063


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

Branch: refs/heads/master
Commit: b203af7fd2e5db3974e010e7955cfed7e961eacd
Parents: dc0892c d4f33dd
Author: Luke Cwik <lc...@google.com>
Authored: Thu Nov 9 14:29:46 2017 -0800
Committer: Luke Cwik <lc...@google.com>
Committed: Thu Nov 9 14:29:46 2017 -0800

----------------------------------------------------------------------
 .../org/apache/beam/sdk/options/Default.java    | 22 ++++++++++----------
 .../org/apache/beam/sdk/options/Validation.java |  2 +-
 2 files changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------