BUG-869: remove public modifier
authorRobert Varga <rovarga@cisco.com>
Mon, 30 Mar 2015 15:23:40 +0000 (17:23 +0200)
committerRobert Varga <rovarga@cisco.com>
Mon, 30 Mar 2015 15:23:40 +0000 (17:23 +0200)
public is implied to all identifiers within the enclosing interface.

Change-Id: I43a50c7d51b73074df6d0456cf0d9d9aab24b819
Signed-off-by: Robert Varga <rovarga@cisco.com>
code-generator/binding-model-api/src/main/java/org/opendaylight/yangtools/sal/binding/model/api/type/builder/GeneratedTypeBuilderBase.java
yang/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/BindingCodec.java
yang/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/BindingStreamEventWriter.java
yang/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/DataContainer.java

index f4052150595da7b4f1043c5c5ac753c901d71ff9..cc95e198ab4349178bb522d18339bdc36eb1c4f3 100644 (file)
@@ -189,7 +189,7 @@ public interface GeneratedTypeBuilderBase<T extends GeneratedTypeBuilderBase<T>>
      *            a string that contains a human-readable textual description of
      *            type definition.
      */
      *            a string that contains a human-readable textual description of
      *            type definition.
      */
-    public void setDescription(String description);
+    void setDescription(String description);
 
     /**
      * Set the name of the module, in which generated type was specified.
 
     /**
      * Set the name of the module, in which generated type was specified.
@@ -197,7 +197,7 @@ public interface GeneratedTypeBuilderBase<T extends GeneratedTypeBuilderBase<T>>
      * @param moduleName
      *            the name of the module
      */
      * @param moduleName
      *            the name of the module
      */
-    public void setModuleName(String moduleName);
+    void setModuleName(String moduleName);
 
     /**
      * Set a list of QNames which represent schema path in schema tree from
 
     /**
      * Set a list of QNames which represent schema path in schema tree from
@@ -206,7 +206,7 @@ public interface GeneratedTypeBuilderBase<T extends GeneratedTypeBuilderBase<T>>
      * @param schemaPath
      *            a list of QNames which represent schema path in schema tree
      */
      * @param schemaPath
      *            a list of QNames which represent schema path in schema tree
      */
-    public void setSchemaPath(Iterable<QName> schemaPath);
+    void setSchemaPath(Iterable<QName> schemaPath);
 
     /**
      * Set a string that is used to specify a textual cross-reference to an
 
     /**
      * Set a string that is used to specify a textual cross-reference to an
@@ -217,6 +217,6 @@ public interface GeneratedTypeBuilderBase<T extends GeneratedTypeBuilderBase<T>>
      * @param reference
      *            a textual cross-reference to an external document.
      */
      * @param reference
      *            a textual cross-reference to an external document.
      */
-    public void setReference(String reference);
+    void setReference(String reference);
 
 }
 
 }
index 7e387dc0e1f0f4a51fe403b395d87c544c34f27a..a812126336d724542b0b2c47180de2849157a0fa 100644 (file)
@@ -9,17 +9,14 @@ package org.opendaylight.yangtools.yang.binding;
 
 import org.opendaylight.yangtools.concepts.Codec;
 
 
 import org.opendaylight.yangtools.concepts.Codec;
 
-public interface BindingCodec<P, I> extends //
-        BindingSerializer<P, I>, //
-        BindingDeserializer<I, P>, //
-        Codec<P, I> {
+public interface BindingCodec<P, I> extends BindingSerializer<P, I>, BindingDeserializer<I, P>, Codec<P, I> {
 
     @Override
 
     @Override
-    public P serialize(I input);
+    P serialize(I input);
 
     @Override
 
     @Override
-    public I deserialize(P input);
+    I deserialize(P input);
 
 
-    public I deserialize(P input, InstanceIdentifier<?> bindingIdentifier);
+    I deserialize(P input, InstanceIdentifier<?> bindingIdentifier);
 
 }
 
 }
index 233af3ef291f6b3fcaf0e694c5219b1472667f86..c986f8143eec6500b6d44f05e54a3b4e990efeea 100644 (file)
@@ -104,7 +104,7 @@ public interface BindingStreamEventWriter extends Closeable, Flushable {
      * all other values will result, based on implementation preference, in the
      * hint being completely ignored or IllegalArgumentException being thrown.
      */
      * all other values will result, based on implementation preference, in the
      * hint being completely ignored or IllegalArgumentException being thrown.
      */
-    public final int UNKNOWN_SIZE = -1;
+    final int UNKNOWN_SIZE = -1;
 
     /**
      *
 
     /**
      *
index 0e1937d2bc1616a1e8ef57dfd7c986fe3f11d5e0..f4bc7a3142e5e4467fffcc86a46c0e60ec420c86 100644 (file)
@@ -20,10 +20,8 @@ package org.opendaylight.yangtools.yang.binding;
  * <li>List
  * <li>Case
  * </ul>
  * <li>List
  * <li>Case
  * </ul>
- * 
- *
  */
 public interface DataContainer {
 
  */
 public interface DataContainer {
 
-    public Class<? extends DataContainer> getImplementedInterface();
+    Class<? extends DataContainer> getImplementedInterface();
 }
 }