yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sek...@apache.org
Subject yetus git commit: YETUS-540 Remove unnecessary semicolons in audience annotations
Date Fri, 08 Sep 2017 10:21:18 GMT
Repository: yetus
Updated Branches:
  refs/heads/master fe421608c -> 3f250f01e


YETUS-540 Remove unnecessary semicolons in audience annotations

Signed-off-by: Kengo Seki <sekikn@apache.org>


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

Branch: refs/heads/master
Commit: 3f250f01e40216d9d73ee4c4f6d95c6fdac0a32e
Parents: fe42160
Author: Gezapeti Cseh <gezapeti@apache.org>
Authored: Sat Sep 2 23:29:02 2017 +0200
Committer: Kengo Seki <sekikn@apache.org>
Committed: Fri Sep 8 06:20:09 2017 -0400

----------------------------------------------------------------------
 .../java/org/apache/yetus/audience/InterfaceAudience.java    | 6 +++---
 .../java/org/apache/yetus/audience/InterfaceStability.java   | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/3f250f01/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/InterfaceAudience.java
----------------------------------------------------------------------
diff --git a/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/InterfaceAudience.java
b/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/InterfaceAudience.java
index 1441767..8461b4a 100644
--- a/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/InterfaceAudience.java
+++ b/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/InterfaceAudience.java
@@ -51,7 +51,7 @@ public class InterfaceAudience {
    */
   @Documented
   @Retention(RetentionPolicy.RUNTIME)
-  public @interface Public {};
+  public @interface Public {}
 
   /**
    * Intended only for the project(s) specified in the annotation.
@@ -61,14 +61,14 @@ public class InterfaceAudience {
   @Retention(RetentionPolicy.RUNTIME)
   public @interface LimitedPrivate {
     String[] value();
-  };
+  }
 
   /**
    * Intended for use only within a given project.
    */
   @Documented
   @Retention(RetentionPolicy.RUNTIME)
-  public @interface Private {};
+  public @interface Private {}
 
   private InterfaceAudience() {} // Audience can't exist on its own
 }

http://git-wip-us.apache.org/repos/asf/yetus/blob/3f250f01/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/InterfaceStability.java
----------------------------------------------------------------------
diff --git a/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/InterfaceStability.java
b/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/InterfaceStability.java
index 93be2a9..b20cfea 100644
--- a/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/InterfaceStability.java
+++ b/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/InterfaceStability.java
@@ -41,19 +41,19 @@ import org.apache.yetus.audience.InterfaceAudience.Public;
 @InterfaceStability.Evolving
 public class InterfaceStability {
   /**
-   * Can evolve while retaining compatibility for minor release boundaries.;
+   * Can evolve while retaining compatibility for minor release boundaries.
    * can break compatibility only at major release (ie. at m.0).
    */
   @Documented
   @Retention(RetentionPolicy.RUNTIME)
-  public @interface Stable {};
+  public @interface Stable {}
 
   /**
    * Evolving, but can break compatibility at minor release (i.e. m.x)
    */
   @Documented
   @Retention(RetentionPolicy.RUNTIME)
-  public @interface Evolving {};
+  public @interface Evolving {}
 
   /**
    * No guarantee is provided as to reliability or stability across any
@@ -61,5 +61,5 @@ public class InterfaceStability {
    */
   @Documented
   @Retention(RetentionPolicy.RUNTIME)
-  public @interface Unstable {};
+  public @interface Unstable {}
 }


Mime
View raw message