polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject [24/50] polygene-java git commit: NullPointerException fixed.
Date Mon, 10 Jul 2017 06:53:26 GMT
NullPointerException fixed.


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/41fbc549
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/41fbc549
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/41fbc549

Branch: refs/heads/es-jooq
Commit: 41fbc549fab5d92194be7c5d7cc208f4c1ca9c39
Parents: 5e494ff
Author: niclas <niclas@hedhman.org>
Authored: Thu Jun 29 15:00:51 2017 +0800
Committer: niclas <niclas@hedhman.org>
Committed: Thu Jun 29 15:00:51 2017 +0800

----------------------------------------------------------------------
 .../apache/polygene/library/restlet/PolygeneRestApplication.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/41fbc549/libraries/restlet/src/main/java/org/apache/polygene/library/restlet/PolygeneRestApplication.java
----------------------------------------------------------------------
diff --git a/libraries/restlet/src/main/java/org/apache/polygene/library/restlet/PolygeneRestApplication.java
b/libraries/restlet/src/main/java/org/apache/polygene/library/restlet/PolygeneRestApplication.java
index d3f33d4..854592e 100644
--- a/libraries/restlet/src/main/java/org/apache/polygene/library/restlet/PolygeneRestApplication.java
+++ b/libraries/restlet/src/main/java/org/apache/polygene/library/restlet/PolygeneRestApplication.java
@@ -63,7 +63,6 @@ public abstract class PolygeneRestApplication extends org.restlet.Application
     protected PolygeneRestApplication( Context context )
     {
         super( context );
-        setName( polygeneApplication.name() );
     }
 
     protected void printRoutes( PrintStream out )
@@ -78,6 +77,7 @@ public abstract class PolygeneRestApplication extends org.restlet.Application
     public synchronized void start()
         throws Exception
     {
+        setName( polygeneApplication.name() );
         Series<Parameter> parameters = getContext().getParameters();
         String mode = parameters.getFirstValue( "org.apache.polygene.runtime.mode" );
         super.start();


Mime
View raw message