Removed checkstyle warnings.
[bgpcep.git] / pcep / spi / src / main / java / org / opendaylight / protocol / pcep / spi / ObjectRegistry.java
index 9dbf59624e1e4acbd02b23476a495029074df8ce..b226e144b149fcedfcfc71a2bd0cb9f8e333eacf 100644 (file)
@@ -13,20 +13,23 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.typ
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.ObjectHeader;
 
 public interface ObjectRegistry {
-       /**
-        * Finds parser for given object type and class in the registry. Delegates parsing to found parser.
-        * @param objectType object type
-        * @param objectClass object class
-        * @param buffer object wrapped in ByteBuf
-        * @return null if the parser for this object could not be found
-        * @throws PCEPDeserializerException if the parsing did not succeed
-        */
-       Object parseObject(final int objectClass, final int objectType, final ObjectHeader header, final ByteBuf buffer) throws PCEPDeserializerException;
+    /**
+     * Finds parser for given object type and class in the registry. Delegates parsing to found parser.
+     *
+     * @param objectType object type
+     * @param objectClass object class
+     * @param buffer object wrapped in ByteBuf
+     * @return null if the parser for this object could not be found
+     * @throws PCEPDeserializerException if the parsing did not succeed
+     */
+    Object parseObject(final int objectClass, final int objectType, final ObjectHeader header, final ByteBuf buffer)
+            throws PCEPDeserializerException;
 
-       /**
-        * Find serializer for given object. Delegates parsing to found serializer.
-        * @param object to be parsed
-        * @return null if the serializer for this object could not be found
-        */
-       byte[] serializeObject(final Object object);
+    /**
+     * Find serializer for given object. Delegates parsing to found serializer.
+     *
+     * @param object to be parsed
+     * @return null if the serializer for this object could not be found
+     */
+    byte[] serializeObject(final Object object);
 }