Kill trailing whitespace 07/42407/2
authorRobert Varga <rovarga@cisco.com>
Sun, 24 Jul 2016 15:54:24 +0000 (17:54 +0200)
committerRobert Varga <nite@hq.sk>
Sun, 24 Jul 2016 17:03:20 +0000 (17:03 +0000)
Addresses checkstyle warnings about trailing whitespace.

Change-Id: Iaa05edcdb22138ec805ab782d94be7f2c8de6458
Signed-off-by: Robert Varga <rovarga@cisco.com>
21 files changed:
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/AbstractListenerRegistration.java
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Delegator.java
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/Identifiable.java
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/MutationBehaviour.java
websocket/websocket-client/src/main/java/org/opendaylight/yangtools/websocket/client/WebSocketClientHandler.java
websocket/websocket-client/src/main/java/org/opendaylight/yangtools/websocket/client/callback/ClientMessageCallback.java
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/codec/DataStringCodec.java
yang/yang-data-util/src/main/java/org/opendaylight/yangtools/yang/data/util/DataSchemaContextNode.java
yang/yang-maven-plugin-spi/src/main/java/org/opendaylight/yangtools/yang2sources/spi/BuildContextAware.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/ConstraintDefinition.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/ExtensionDefinition.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/LeafListSchemaNode.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/LeafSchemaNode.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/MustDefinition.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/BitsTypeDefinition.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/BooleanTypeDefinition.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/IdentityTypeDefinition.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/IdentityrefTypeDefinition.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/PatternConstraint.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/UnionTypeDefinition.java
yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/spi/source/DeclarationInTextSource.java

index 879f9ba967c9594b7158666ffc16e407c9171d25..bd467908edb94e05731d574468e00ba513a2e616 100644 (file)
@@ -11,7 +11,7 @@ import java.util.EventListener;
 
 public abstract class AbstractListenerRegistration<T extends EventListener> extends AbstractObjectRegistration<T>
         implements ListenerRegistration<T> {
-    
+
     protected AbstractListenerRegistration(final T listener) {
         super(listener);
     }
index be799d7fc05dc680999b814cb15c41b987f3aa53..80373fba278607979c67c4c3d232147b3f43881a 100644 (file)
@@ -10,7 +10,7 @@ package org.opendaylight.yangtools.concepts;
 /**
  * Implementation of this interface delegates all it's calls
  * to the delegator if not specified otherwise.
- * 
+ *
  *
  * @param <T> Type of delegate
  */
index b2c3c21f80d3a19c04cc5db2f5ecaa69ee2b819e..cf91864260f489409fd01881b264b62a3e8d4874 100644 (file)
@@ -8,6 +8,6 @@
 package org.opendaylight.yangtools.concepts;
 
 public interface Identifiable<T> {
-    
+
     T getIdentifier();
 }
index 6cf499fc405554093489b3a20fdeb2f02a18f206..30e1fbd2f925f31779cafea99260f8578a2563a0 100644 (file)
@@ -9,10 +9,10 @@ package org.opendaylight.yangtools.concepts;
 
 /**
  * Mutation behavior
- * 
+ *
  * This interface is used to prevent same class extends multiple types of MutationBehaviour
  * such as {@link Immutable} and {@link Mutable} which are mutually exclusive.
- * 
+ *
  * @author Tony Tkacik
  *
  * @param <T> Mutation Type
index b4f98eb4da849b9492b1918edee973cb7d39bd47..8c1acc1c38e53d8ab93d5c1f2f6e5b6392a7a0e3 100644 (file)
@@ -38,12 +38,12 @@ public class WebSocketClientHandler extends SimpleChannelInboundHandler<Object>
 
     /**
      * Create new Web Socket Client Handler.
-     * 
+     *
      * @param handshaker
      *            manages handshake process
      * @param listener
-     * 
-     * 
+     *
+     *
      */
     public WebSocketClientHandler(WebSocketClientHandshaker handshaker,
             ClientMessageCallback listener) {
@@ -53,7 +53,7 @@ public class WebSocketClientHandler extends SimpleChannelInboundHandler<Object>
 
     /**
      * Notifies by Future when handshake process succeeds or fails.
-     * 
+     *
      * @return information about the completation of the handshake
      */
     public ChannelFuture handshakeFuture() {
index a10c83c4e31eeb8e20f867b6d258493e55ee6bbd..12916280cd5149e7323b71ccf438b9cd9fa79224 100644 (file)
@@ -14,7 +14,7 @@ public interface ClientMessageCallback {
 
     /**
      * Notifies client that some event has occurred.
-     * 
+     *
      * @param message
      *            the message which aid to will be client notified
      */
index 7fa37384f95e911b17789ad2d4f59ec09e1bb377..2a7b8dcc83c82efc762f66ccfb2d2007668a552d 100644 (file)
@@ -10,7 +10,7 @@ package org.opendaylight.yangtools.yang.data.impl.codec;
 import org.opendaylight.yangtools.concepts.Codec;
 
 public interface DataStringCodec<T> extends Codec<String, T> {
-    
+
     Class<T> getInputClass();
 
     String serialize(T data);
index 5412700e84d0c1146772ca6261f785a60c49127d..a40226b2a712a1e7866ea37552af1071d9a4a2df 100644 (file)
@@ -76,7 +76,7 @@ public abstract class DataSchemaContextNode<T extends PathArgument> implements I
     }
 
     @Nullable public abstract DataSchemaContextNode<?> getChild(final PathArgument child);
-              
+
     @Nullable public abstract DataSchemaContextNode<?> getChild(QName child);
 
     public abstract boolean isLeaf();
index 2649f91cce33599a5674d608c5894f4f8e73fddd..0a3a6ea4a5b0019bf31f9bcdd89940f08df3c897 100644 (file)
@@ -18,7 +18,7 @@ import org.sonatype.plexus.build.incremental.BuildContext;
 public interface BuildContextAware {
     /**
      * Set the build context to be used during the lifetime of this reactor.
-     *  
+     *
      * @param buildContext current build context reference.
      */
     void setBuildContext(BuildContext buildContext);
index c201545d8ca98849f3aa3cd6f51a350626a768c3..bf1694b6d2e0e4444f89c8f9b394edfaa0d36c53 100644 (file)
@@ -21,7 +21,7 @@ public interface ConstraintDefinition {
      * Specifies the condition when the data node which contains
      * <code>when</code> YANG substatement has to be present. If XPath
      * expression is evaluated as true then the data node has to be present.
-     * 
+     *
      * @return XPath expression.
      */
     RevisionAwareXPath getWhenCondition();
@@ -29,8 +29,8 @@ public interface ConstraintDefinition {
     /**
      * Specifies the rules which the node which contains <code>must</code> YANG
      * substatement has to match.
-     * 
-     * 
+     *
+     *
      * @return set of <code>MustDefinition</code> (XPath) instances which
      *         represents the concrete data constraints
      */
@@ -39,11 +39,11 @@ public interface ConstraintDefinition {
     /**
      * Expreses if the presence of the data element for which this constraint is
      * specified is|isn't required.
-     * 
+     *
      * Contains the value of the <b>mandatory</b> YANG substatement.
-     * 
+     *
      * It is used with YANG statements leaf, choice, anyxml, deviate.
-     * 
+     *
      * @return boolean value:
      *         <ul>
      *         <li>true - if <code>mandatory</code> YANG keyword argument =
@@ -57,12 +57,12 @@ public interface ConstraintDefinition {
     /**
      * Returns the minimum required number of data elements for node where this
      * constraint is specified.
-     * 
+     *
      * The returning value equals to value of the argument of the
      * <b>min-elements</b> YANG substatement.
-     * 
+     *
      * It is used with YANG statements leaf-list, list, deviate.
-     * 
+     *
      * @return integer with minimal number of elements
      */
     Integer getMinElements();
@@ -70,12 +70,12 @@ public interface ConstraintDefinition {
     /**
      * Returns the maximum admissible number of data elements for node where
      * this constraint is specified.
-     * 
+     *
      * The returning value equals to value of the argument of the
      * <b>max-elements</b> YANG substatement.
-     * 
+     *
      * It is used with YANG statements leaf-list, list, deviate.
-     * 
+     *
      * @return integer with maximum number of elements
      */
     Integer getMaxElements();
index 5154df6d86b646f1d547109215a3175ca5e5bb79..edeb389cc4f9980f9544aee5854b68550569633d 100644 (file)
@@ -8,10 +8,10 @@
 package org.opendaylight.yangtools.yang.model.api;
 
 /**
- * 
+ *
  * Contains the methods for getting the data which are part of the YANG
  * <code>extensoion</code> statement.
- * 
+ *
  */
 public interface ExtensionDefinition extends SchemaNode {
 
@@ -22,7 +22,7 @@ public interface ExtensionDefinition extends SchemaNode {
      * The argument statement is defined in <a
      * href="https://tools.ietf.org/html/rfc6020#section-7.17.2">[RFC-6020] The
      * argument Statement</a>
-     * 
+     *
      * @return the <code>String</code> that is the name of argument to the
      *         Keyword. If no argument statement is present the method will
      *         return <code>null</code>
@@ -35,13 +35,13 @@ public interface ExtensionDefinition extends SchemaNode {
      * By contract if implementation of ExtensionDefinition does not specify the
      * yin-element statement the return value is by default set to
      * <code>false</code>
-     * 
+     *
      * <br>
      * <br>
      * For more specific definition please look into <a
      * href="https://tools.ietf.org/html/rfc6020#section-7.17.2.2">[RFC-6020]
      * The yin-element Statement</a>
-     * 
+     *
      * @return <code>true</code> if the argument is mapped to an XML element in
      *         YIN or returns <code>false</code> if the argument is mapped to an
      *         XML attribute.
index b6c2a6ec42102e7faf4dd75f9313ab06b134efc4..99ad7fc503482cf254b82eda0e045c5cac8b5c5e 100644 (file)
@@ -15,7 +15,7 @@ public interface LeafListSchemaNode extends DataSchemaNode {
     /**
      * Returns type of the instance which implements <code>DataSchemaNode</code>
      * .
-     * 
+     *
      * @return type definition of leaf-list schema node which represents the
      *         value of the argument of the YANG <code>type</code> substatement
      *         of the <code>leaf-list</code> statement
@@ -26,7 +26,7 @@ public interface LeafListSchemaNode extends DataSchemaNode {
      * YANG 'ordered-by' statement. It defines whether the order of entries
      * within this leaf-list are determined by the user or the system. If not
      * present, default is false.
-     * 
+     *
      * @return true if ordered-by argument is "user", false otherwise
      */
     boolean isUserOrdered();
index 37b2ef0744c0f5170400c6d74da11e7d2fd439f9..3a3f2d91a88e8d1668e5e7471c8f31972d3f33c7 100644 (file)
@@ -25,7 +25,7 @@ public interface LeafSchemaNode extends DataSchemaNode {
     /**
      * Returns the YANG <code>type</code> of the instance of the type
      * <code>LeafSchemaNode</code>.
-     * 
+     *
      * @return type definition which represents the value of the YANG
      *         <code>type</code> substatement for <code>leaf</code> statement
      */
@@ -33,7 +33,7 @@ public interface LeafSchemaNode extends DataSchemaNode {
 
     /**
      * Returns the default value of YANG <code>leaf</code>.
-     * 
+     *
      * @return string with the value of the argument of YANG
      *         <code>default</code> substatement of the <code>leaf</code>
      *         statement
@@ -43,7 +43,7 @@ public interface LeafSchemaNode extends DataSchemaNode {
     /**
      * Returns the units in which are the values of the <code>leaf</code>
      * presented.
-     * 
+     *
      * @return string with the value of the argument of YANG <code>units</code>
      *         substatement of the <code>leaf</code> statement
      */
index 5e1c8c1118e641e73bd9c59871ff82435f992677..99072c8a29d9434554940c5168573be50e7f2919 100644 (file)
@@ -8,7 +8,7 @@
 package org.opendaylight.yangtools.yang.model.api;
 
 /**
- * 
+ *
  * Contains methods for accessing constraint declaration for valid data in form
  * of XPath expressions.<br>
  * <br>
@@ -20,7 +20,7 @@ public interface MustDefinition extends ConstraintMetaDefinition {
 
     /**
      * Returns XPath expression which contains constraint.
-     * 
+     *
      * @return XPath expression which represents the value of the argument of
      *         the <code>must</code> YANG substatement
      */
index bdd566ec3f5e02c0c975e36a8a6c7c38f0a0b47f..f0a27f5da266a86e3a5ea76b2bfd37e80c8c0b89 100644 (file)
@@ -13,22 +13,22 @@ import org.opendaylight.yangtools.yang.model.api.SchemaNode;
 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
 
 /**
- * 
+ *
  * Makes is possible to access to the individual bits values of this type.
- * 
+ *
  */
 public interface BitsTypeDefinition extends TypeDefinition<BitsTypeDefinition> {
 
     /**
      * Returns all bit values.
-     * 
+     *
      * @return list of <code>Bit</code> type instastances with data about all
      *         individual bits of <code>bits</code> YANG built-in type
      */
     List<Bit> getBits();
 
     /**
-     * 
+     *
      * Contains the methods for accessing the data about the individual bit of
      * <code>bits</code> YANG type.
      */
@@ -36,14 +36,14 @@ public interface BitsTypeDefinition extends TypeDefinition<BitsTypeDefinition> {
         /**
          * The position value MUST be in the range 0 to 4294967295, and it MUST
          * be unique within the bits type.
-         * 
+         *
          * @return The position value of bit in range from 0 to 4294967295.
          */
         Long getPosition();
 
         /**
          * Returns the name of the concrete bit.
-         * 
+         *
          * @return string with the name of the concrete bit
          */
         String getName();
index 84cb4c5a061ad3d0db3177cc734d9c253d2f3109..dd20aacc5f6da9f6e5a28b5b7068546f50f80138 100644 (file)
@@ -10,10 +10,10 @@ package org.opendaylight.yangtools.yang.model.api.type;
 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
 
 /**
- * 
+ *
  * Marker interface which marks that type definition represents the built-in
  * YANG <code>boolean</code> type.
- * 
+ *
  */
 public interface BooleanTypeDefinition extends TypeDefinition<BooleanTypeDefinition> {
 
index 86f6379f1f2c43056a61b4dff051c7622880c5bf..b11a085194744a140e6004fd68da784b3d03a724 100644 (file)
@@ -11,14 +11,14 @@ import org.opendaylight.yangtools.yang.common.QName;
 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
 
 /**
- * 
+ *
  * Contains the method for getting the details about YANG <code>identity</code>.
  */
 public interface IdentityTypeDefinition extends TypeDefinition<IdentityTypeDefinition> {
 
     /**
      * Returns the name of the YANG identity
-     * 
+     *
      * @return QName of the YANG identity
      */
     QName getIdentityName();
index 8b567a716186aeacb16586141f03962d49937b53..1ab5370d5f03c988fc52e43628128663103de129 100644 (file)
@@ -11,16 +11,16 @@ import org.opendaylight.yangtools.yang.model.api.IdentitySchemaNode;
 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
 
 /**
- * 
+ *
  * Contains method for getting data from <code>identityref</code> built-in YANG
  * type.
- * 
+ *
  */
 public interface IdentityrefTypeDefinition extends TypeDefinition<IdentityrefTypeDefinition> {
 
     /**
      * Returns identity to which the instance of this type refers.
-     * 
+     *
      * @return identity which is specified with the <code>identity</code> YANG
      *         statement
      */
index 29b3b5be29fcb55cad470adc8b6d49fc6d04cb32..2e59f4331a38f579ffec456fc661a54facd6589f 100644 (file)
@@ -12,13 +12,13 @@ import org.opendaylight.yangtools.yang.model.api.ConstraintMetaDefinition;
 /**
  * Contains the method for getting the data from the YANG <code>pattern</code>
  * which is substatement of <code>type</code> statement.
- * 
+ *
  */
 public interface PatternConstraint extends ConstraintMetaDefinition {
 
     /**
      * Returns a regular expression (pattern).
-     * 
+     *
      * @return string with regular expression which is equal to the argument of
      *         the YANG <code>pattern</code> substatement
      */
index ab2acef6272cf3244955318f4f4b56c0a0c1b149..6b2897f588fbccce006d21b310a6ce8985271831 100644 (file)
@@ -13,7 +13,7 @@ import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
 
 /**
  * Contains the method which access union item in the union type.
- * 
+ *
  */
 public interface UnionTypeDefinition extends TypeDefinition<UnionTypeDefinition> {
 
@@ -21,7 +21,7 @@ public interface UnionTypeDefinition extends TypeDefinition<UnionTypeDefinition>
      * Returns type definitions which represent the values of the arguments for
      * all YANG <code>type</code> substatement in the main <code>union</code>
      * statement.
-     * 
+     *
      * @return list of the type definition which contains the union items.
      */
     List<TypeDefinition<?>> getTypes();
index 280e18cc0e3d88f186146a841e25f13634f2a459..6d7a70735608934fd61dd2f735a579e940db730b 100644 (file)
@@ -89,7 +89,7 @@ public abstract class DeclarationInTextSource implements StatementSourceReferenc
         public String toString() {
             return String.format("%s:%d", getSourceName(),line);
         }
-        
+
         public int getLine() {
             return line;
         }