Fixing sonar issues 2
[yangtools.git] / code-generator / binding-model-api / src / main / java / org / opendaylight / yangtools / sal / binding / model / api / type / builder / GeneratedPropertyBuilder.java
index 18467ab156c970bc84456d5e8e132bc96507741b..6cadfdd3911db762763f6c6285a98bd46171c50f 100644 (file)
@@ -1,10 +1,10 @@
 /*
 * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.yangtools.sal.binding.model.api.type.builder;
 
 import org.opendaylight.yangtools.sal.binding.model.api.GeneratedProperty;
@@ -13,32 +13,31 @@ import org.opendaylight.yangtools.sal.binding.model.api.Type;
 /**
  * Generated Property Builder is interface that contains methods to build and
  * instantiate Generated Property definition.
- *
+ * 
  * @see GeneratedProperty
  */
 public interface GeneratedPropertyBuilder extends TypeMemberBuilder<GeneratedPropertyBuilder> {
 
     /**
-     * Sets isReadOnly flag for property. If property is marked as read only
-     * it is the same as set property in java as final.
-     *
-     * @param isReadOnly Read Only property flag.
+     * Sets isReadOnly flag for property. If property is marked as read only it
+     * is the same as set property in java as final.
+     * 
+     * @param isReadOnly
+     *            Read Only property flag.
      */
-    public GeneratedPropertyBuilder setReadOnly(final boolean isReadOnly);
+    GeneratedPropertyBuilder setReadOnly(final boolean isReadOnly);
 
     /**
-     * Returns <code>new</code> <i>immutable</i> instance of Generated
-     * Property.
-     * <br>
+     * Returns <code>new</code> <i>immutable</i> instance of Generated Property. <br>
      * The <code>definingType</code> param cannot be <code>null</code>. The
      * every member in Java MUST be declared and defined inside the scope of
-     * <code>class</code> definition. In case that
-     * defining Type will be passed as <code>null</code> reference the method
-     * SHOULD thrown {@link IllegalArgumentException}.
-     *
-     * @param definingType Defining Type of Generated Property
-     * @return <code>new</code> <i>immutable</i> instance of Generated
-     * Property.
+     * <code>class</code> definition. In case that defining Type will be passed
+     * as <code>null</code> reference the method SHOULD thrown
+     * {@link IllegalArgumentException}.
+     * 
+     * @param definingType
+     *            Defining Type of Generated Property
+     * @return <code>new</code> <i>immutable</i> instance of Generated Property.
      */
-    public GeneratedProperty toInstance(final Type definingType);
+    GeneratedProperty toInstance(final Type definingType);
 }