:core:bootstrap refine - remove unnecessary modifiers
Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/3fad5986 Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/3fad5986 Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/3fad5986 Branch: refs/heads/develop Commit: 3fad5986cd085702f5225fe7ab490d9dd94816bd Parents: ef4d38e Author: Paul Merlin <[email protected]> Authored: Sun May 14 16:26:09 2017 +0200 Committer: Paul Merlin <[email protected]> Committed: Sun May 14 16:26:09 2017 +0200 ---------------------------------------------------------------------- .../polygene/bootstrap/AssemblyVisitor.java | 18 +++++++++--------- .../bootstrap/ImportedServiceDeclaration.java | 8 ++++---- .../apache/polygene/bootstrap/RuntimeFactory.java | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/polygene-java/blob/3fad5986/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/AssemblyVisitor.java ---------------------------------------------------------------------- diff --git a/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/AssemblyVisitor.java b/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/AssemblyVisitor.java index a04e8f8..0617974 100644 --- a/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/AssemblyVisitor.java +++ b/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/AssemblyVisitor.java @@ -31,30 +31,30 @@ package org.apache.polygene.bootstrap; */ public interface AssemblyVisitor<ThrowableType extends Throwable> { - public void visitApplication( ApplicationAssembly assembly ) + void visitApplication( ApplicationAssembly assembly ) throws ThrowableType; - public void visitLayer( LayerAssembly assembly ) + void visitLayer( LayerAssembly assembly ) throws ThrowableType; - public void visitModule( ModuleAssembly assembly ) + void visitModule( ModuleAssembly assembly ) throws ThrowableType; - public void visitComposite( TransientDeclaration declaration ) + void visitComposite( TransientDeclaration declaration ) throws ThrowableType; - public void visitEntity( EntityDeclaration declaration ) + void visitEntity( EntityDeclaration declaration ) throws ThrowableType; - public void visitService( ServiceDeclaration declaration ) + void visitService( ServiceDeclaration declaration ) throws ThrowableType; - public void visitImportedService( ImportedServiceDeclaration declaration ) + void visitImportedService( ImportedServiceDeclaration declaration ) throws ThrowableType; - public void visitValue( ValueDeclaration declaration ) + void visitValue( ValueDeclaration declaration ) throws ThrowableType; - public void visitObject( ObjectDeclaration declaration ) + void visitObject( ObjectDeclaration declaration ) throws ThrowableType; } http://git-wip-us.apache.org/repos/asf/polygene-java/blob/3fad5986/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ImportedServiceDeclaration.java ---------------------------------------------------------------------- diff --git a/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ImportedServiceDeclaration.java b/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ImportedServiceDeclaration.java index 8d143e9..33a77f9 100644 --- a/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ImportedServiceDeclaration.java +++ b/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ImportedServiceDeclaration.java @@ -35,10 +35,10 @@ import org.apache.polygene.api.service.importer.ServiceSelectorImporter; public interface ImportedServiceDeclaration { // Convenience constants for common service importers - public static final Class<? extends ServiceImporter> INSTANCE = InstanceImporter.class; - public static final Class<? extends ServiceImporter> NEW_OBJECT = NewObjectImporter.class; - public static final Class<? extends ServiceImporter> SERVICE_SELECTOR = ServiceSelectorImporter.class; - public static final Class<? extends ServiceImporter> SERVICE_IMPORTER = ServiceInstanceImporter.class; + Class<? extends ServiceImporter> INSTANCE = InstanceImporter.class; + Class<? extends ServiceImporter> NEW_OBJECT = NewObjectImporter.class; + Class<? extends ServiceImporter> SERVICE_SELECTOR = ServiceSelectorImporter.class; + Class<? extends ServiceImporter> SERVICE_IMPORTER = ServiceInstanceImporter.class; ImportedServiceDeclaration visibleIn( Visibility visibility ); http://git-wip-us.apache.org/repos/asf/polygene-java/blob/3fad5986/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/RuntimeFactory.java ---------------------------------------------------------------------- diff --git a/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/RuntimeFactory.java b/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/RuntimeFactory.java index f12b999..6aec6f9 100644 --- a/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/RuntimeFactory.java +++ b/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/RuntimeFactory.java @@ -29,7 +29,7 @@ public interface RuntimeFactory /** * Standalone application Polygene runtime factory. */ - public final class StandaloneApplicationRuntimeFactory + final class StandaloneApplicationRuntimeFactory implements RuntimeFactory { @Override
