Enforce checkstyle in yang-data-util
[yangtools.git] / yang / yang-data-util / src / main / java / org / opendaylight / yangtools / yang / data / util / codec / PrecomputedCodecCache.java
index ec009a9c8525a3f9239c065ad8ea6104de410636..4bf16141d1534cff194107f443dcea0f09c9f5b7 100644 (file)
@@ -18,6 +18,7 @@ import org.opendaylight.yangtools.yang.model.api.TypedSchemaNode;
  * Pre-computed CodecCache. All possible codecs are created upfront at instantiation time, after which they are
  * available for the cost of a constant lookup.
  *
+ * <p>
  * Instantiation needs to occur through {@link LazyCodecCache#toPrecomputed()} after the lazy cache has been fully
  * populated.
  *
@@ -35,24 +36,24 @@ public final class PrecomputedCodecCache<T> extends CodecCache<T> {
     }
 
     @Override
-    public T lookupComplex(final TypedSchemaNode schema) {
+    T lookupComplex(final TypedSchemaNode schema) {
         final T ret = complexCodecs.get(schema);
         Preconditions.checkArgument(ret != null, "No codec available for schema %s", schema);
         return ret;
     }
 
     @Override
-    public T lookupSimple(final TypeDefinition<?> type) {
+    T lookupSimple(final TypeDefinition<?> type) {
         return simpleCodecs.get(type);
     }
 
     @Override
-    public T getComplex(final TypedSchemaNode schema, final T codec) {
+    T getComplex(final TypedSchemaNode schema, final T codec) {
         throw new IllegalStateException("Uncached codec for " + schema);
     }
 
     @Override
-    public T getSimple(final TypeDefinition<?> type, final T codec) {
+    T getSimple(final TypeDefinition<?> type, final T codec) {
         throw new IllegalStateException("Uncached codec for " + type);
     }