polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [3/4] polygene-java git commit: core, minor: remove some unecessary modifiers
Date Sat, 13 May 2017 13:12:15 GMT
core, minor: remove some unecessary 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/bb9154b1
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/bb9154b1
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/bb9154b1

Branch: refs/heads/develop
Commit: bb9154b1ac25f50d73c5ee597f9313906187f738
Parents: f93917b
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Sat May 13 15:09:41 2017 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Sat May 13 15:09:41 2017 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/polygene/api/structure/Application.java   | 2 +-
 .../main/java/org/apache/polygene/api/unitofwork/UnitOfWork.java   | 2 +-
 .../main/java/org/apache/polygene/bootstrap/ModuleAssembly.java    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/bb9154b1/core/api/src/main/java/org/apache/polygene/api/structure/Application.java
----------------------------------------------------------------------
diff --git a/core/api/src/main/java/org/apache/polygene/api/structure/Application.java b/core/api/src/main/java/org/apache/polygene/api/structure/Application.java
index 609a9c8..0d44678 100644
--- a/core/api/src/main/java/org/apache/polygene/api/structure/Application.java
+++ b/core/api/src/main/java/org/apache/polygene/api/structure/Application.java
@@ -32,7 +32,7 @@ public interface Application
     /**
      * Application modes.
      */
-    public enum Mode
+    enum Mode
     {
         /**
          * Should be used for unit test runs. Created files etc. should be cleaned up between
runs.

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/bb9154b1/core/api/src/main/java/org/apache/polygene/api/unitofwork/UnitOfWork.java
----------------------------------------------------------------------
diff --git a/core/api/src/main/java/org/apache/polygene/api/unitofwork/UnitOfWork.java b/core/api/src/main/java/org/apache/polygene/api/unitofwork/UnitOfWork.java
index 86eec45..badbe4c 100644
--- a/core/api/src/main/java/org/apache/polygene/api/unitofwork/UnitOfWork.java
+++ b/core/api/src/main/java/org/apache/polygene/api/unitofwork/UnitOfWork.java
@@ -328,7 +328,7 @@ public interface UnitOfWork extends MetaInfoHolder, AutoCloseable
      * support for UnitOfWork.
      */
     @Override
-    public void close();
+    void close();
 
     /**
      * Check if the UnitOfWork is open. It is closed after either complete() or discard()

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/bb9154b1/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ModuleAssembly.java
----------------------------------------------------------------------
diff --git a/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ModuleAssembly.java
b/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ModuleAssembly.java
index d57b5d8..988ab94 100644
--- a/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ModuleAssembly.java
+++ b/core/bootstrap/src/main/java/org/apache/polygene/bootstrap/ModuleAssembly.java
@@ -237,6 +237,6 @@ public interface ModuleAssembly
 
     <T> MixinDeclaration<T> forMixin( Class<T> mixinType );
 
-    public <ThrowableType extends Throwable> void visit( AssemblyVisitor<ThrowableType>
visitor )
+    <ThrowableType extends Throwable> void visit( AssemblyVisitor<ThrowableType>
visitor )
         throws ThrowableType;
 }


Mime
View raw message