You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2017/02/08 17:23:34 UTC

svn commit: r1782222 - in /myfaces/tobago/trunk: tobago-core/src/main/java/org/apache/myfaces/tobago/component/ tobago-core/src/main/java/org/apache/myfaces/tobago/context/ tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/...

Author: lofwyr
Date: Wed Feb  8 17:23:33 2017
New Revision: 1782222

URL: http://svn.apache.org/viewvc?rev=1782222&view=rev
Log:
TOBAGO-1698: Update some build libs
* code style

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/Facets.java
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/context/UserAgent.java
    myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/BodyContentDescription.java
    myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Facet.java
    myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Taglib.java
    myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/UIComponentTag.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/Facets.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/Facets.java?rev=1782222&r1=1782221&r2=1782222&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/Facets.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/component/Facets.java Wed Feb  8 17:23:33 2017
@@ -44,16 +44,9 @@ public enum Facets {
   pagerPageDirect,
   pagerRow,
   radio,
-  reload(true),
+  reload,
   sorter;
 
-  Facets() {
-  }
-
-  @Deprecated
-  Facets(boolean event) {
-  }
-
   public static final String AFTER = "after";
   public static final String BAR = "bar";
   public static final String BEFORE = "before";

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/context/UserAgent.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/context/UserAgent.java?rev=1782222&r1=1782221&r2=1782222&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/context/UserAgent.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/context/UserAgent.java Wed Feb  8 17:23:33 2017
@@ -352,7 +352,7 @@ public final class UserAgent implements
         : name;
   }
 
-  private static enum CspHeader {
+  private enum CspHeader {
 
     NOT_SUPPORTED(new String[] {}),
     X(new String[] {"Content-Security-Policy", "X-Content-Security-Policy"}),
@@ -361,7 +361,7 @@ public final class UserAgent implements
 
     private String[] names;
 
-    private CspHeader(final String[] names) {
+    CspHeader(final String[] names) {
       this.names = names;
     }
 
@@ -370,7 +370,7 @@ public final class UserAgent implements
     }
   }
 
-  private static enum CsproHeader {
+  private enum CsproHeader {
 
     NOT_SUPPORTED(new String[] {}),
     X(new String[] {"Content-Security-Policy-Report-Only", "X-Content-Security-Policy-Report-Only"}),
@@ -379,7 +379,7 @@ public final class UserAgent implements
 
     private String[] names;
 
-    private CsproHeader(final String[] names) {
+    CsproHeader(final String[] names) {
       this.names = names;
     }
 

Modified: myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/BodyContentDescription.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/BodyContentDescription.java?rev=1782222&r1=1782221&r2=1782222&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/BodyContentDescription.java (original)
+++ myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/BodyContentDescription.java Wed Feb  8 17:23:33 2017
@@ -32,6 +32,6 @@ public @interface BodyContentDescription
   String contentType() default "";
 
   // TODO should be Class see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5089128
-  String [] anyClassOf() default {};
+  String[] anyClassOf() default {};
 
 }

Modified: myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Facet.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Facet.java?rev=1782222&r1=1782221&r2=1782222&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Facet.java (original)
+++ myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Facet.java Wed Feb  8 17:23:33 2017
@@ -34,7 +34,7 @@ public @interface Facet {
     * Array of supported component-types that explictly enumerates the
     * set of allowd component children for this component. Other possible values are: ALL...
    */
-  String [] allowedChildComponenents() default { "ALL" };
+  String[] allowedChildComponenents() default { "ALL" };
 
   /**
    * Specifies whether this component should be available on a component palette.

Modified: myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Taglib.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Taglib.java?rev=1782222&r1=1782221&r2=1782222&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Taglib.java (original)
+++ myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Taglib.java Wed Feb  8 17:23:33 2017
@@ -33,5 +33,5 @@ public @interface Taglib {
   String uri();
   String name();
   String displayName();
-  String [] listener() default {};
+  String[] listener() default {};
 }

Modified: myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/UIComponentTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/UIComponentTag.java?rev=1782222&r1=1782221&r2=1782222&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/UIComponentTag.java (original)
+++ myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/UIComponentTag.java Wed Feb  8 17:23:33 2017
@@ -59,7 +59,7 @@ public @interface UIComponentTag {
    * Array of supported component-types that explicitly enumerates the
    * set of allowed component children for this component. Other possible values are: ALL...
    */
-  String [] allowedChildComponenents() default { "ALL" };
+  String[] allowedChildComponenents() default { "ALL" };
 
   /**
    * Specifies the category of a component palette.