Fix license header violations in yang-model-util
[yangtools.git] / yang / yang-model-util / src / main / java / org / opendaylight / yangtools / yang / model / util / repo / AbstractCachingSchemaSourceProvider.java
index 5b084e3fb1056e5fd68d30b6bb02cdb3b7f4766f..b3a0a4c489cc371d51fea52301da06f32c4df5ab 100644 (file)
@@ -3,7 +3,7 @@
  *
  * 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/eplv10.html
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
 package org.opendaylight.yangtools.yang.model.util.repo;
 
@@ -98,7 +98,7 @@ public abstract class AbstractCachingSchemaSourceProvider<I, O> implements Advan
      * @param input Optional of schema source, representing one returned from delegate.
      * @return Optional of schema source, representing result returned from this cache.
      */
-    abstract protected Optional<O> cacheSchemaSource(SourceIdentifier identifier, Optional<I> input);
+    protected abstract Optional<O> cacheSchemaSource(SourceIdentifier identifier, Optional<I> input);
 
     /**
      * Returns cached schema source of {@link Optional#absent()} if source is not present in cache.
@@ -111,7 +111,7 @@ public abstract class AbstractCachingSchemaSourceProvider<I, O> implements Advan
      * @param identifier Source Identifier for which schema should be retrieved.
      * @return Cached schema source.
      */
-    abstract protected Optional<O> getCachedSchemaSource(SourceIdentifier identifier);
+    protected abstract Optional<O> getCachedSchemaSource(SourceIdentifier identifier);
 
     @Override
     public AdvancedSchemaSourceProvider<I> getDelegate() {
@@ -143,15 +143,13 @@ public abstract class AbstractCachingSchemaSourceProvider<I, O> implements Advan
      *
      */
     @Beta
-    private class SchemaSourceProviderInstance implements //
-    AdvancedSchemaSourceProvider<O>,
-    Delegator<AdvancedSchemaSourceProvider<I>> {
+    private class SchemaSourceProviderInstance implements AdvancedSchemaSourceProvider<O>, Delegator<AdvancedSchemaSourceProvider<I>> {
 
         private final AdvancedSchemaSourceProvider<I> delegate;
 
         protected SchemaSourceProviderInstance(final AdvancedSchemaSourceProvider<I> delegate) {
             super();
-            this.delegate = Preconditions.checkNotNull(delegate, "Delegate should not be null");;
+            this.delegate = Preconditions.checkNotNull(delegate, "Delegate should not be null");
         }
 
         @Override