*
* 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;
* @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.
* @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() {
*
*/
@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