Fix two typos 99/81999/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 11 May 2019 10:00:43 +0000 (12:00 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 11 May 2019 10:00:43 +0000 (12:00 +0200)
A simple comment typo and a mistakenly-private constructor.

Change-Id: Iea4d40c23c0a1141c90c7bdbc2ab70cafed689af
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/CodecDataObjectGenerator.java

index a1e3c9d25adc25549e1be0af2bffb847adb7f40d..a11e3a916a74bfcb69b1c7b335d030a7ece2636f 100644 (file)
@@ -155,7 +155,7 @@ import org.slf4j.LoggerFactory;
  * block runs with the class loading lock for this FQCN and the reference is not leaked until the process completes.
  */
 abstract class CodecDataObjectGenerator<T extends CodecDataObject<?>> implements ClassGenerator<T> {
-    // Not reusable defintion: we can inline NodeContextSuppliers without a problem
+    // Not reusable definition: we can inline NodeContextSuppliers without a problem
     private static final class Fixed<T extends CodecDataObject<?>> extends CodecDataObjectGenerator<T>
             implements NodeContextSupplierProvider<T> {
         private final ImmutableMap<Method, NodeContextSupplier> properties;
@@ -276,7 +276,7 @@ abstract class CodecDataObjectGenerator<T extends CodecDataObject<?>> implements
     private final Builder<?> template;
     private final Method keyMethod;
 
-    private CodecDataObjectGenerator(final Builder<?> template, final @Nullable Method keyMethod) {
+    CodecDataObjectGenerator(final Builder<?> template, final @Nullable Method keyMethod) {
         this.template = requireNonNull(template);
         this.keyMethod = keyMethod;
     }