juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject juneau git commit: (JUNEAU-76) Improvements to Context/Builder APIs
Date Sat, 23 Dec 2017 21:36:04 GMT
Repository: juneau
Updated Branches:
  refs/heads/master 776647695 -> dce74703a


(JUNEAU-76) Improvements to Context/Builder APIs

Project: http://git-wip-us.apache.org/repos/asf/juneau/repo
Commit: http://git-wip-us.apache.org/repos/asf/juneau/commit/dce74703
Tree: http://git-wip-us.apache.org/repos/asf/juneau/tree/dce74703
Diff: http://git-wip-us.apache.org/repos/asf/juneau/diff/dce74703

Branch: refs/heads/master
Commit: dce74703af6c525aa6e111d538cba9b007fabda8
Parents: 7766476
Author: JamesBognar <jamesbognar@apache.org>
Authored: Sat Dec 23 16:36:02 2017 -0500
Committer: JamesBognar <jamesbognar@apache.org>
Committed: Sat Dec 23 16:36:02 2017 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/juneau/rest/RestConfig.java     | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/juneau/blob/dce74703/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/RestConfig.java
----------------------------------------------------------------------
diff --git a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/RestConfig.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/RestConfig.java
index 9c9f56a..d6bbb02 100644
--- a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/RestConfig.java
+++ b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/RestConfig.java
@@ -77,7 +77,7 @@ import org.apache.juneau.utils.*;
  * that contains a snapshot of these settings.  If you call <code><jk>super</jk>.init(RestServletConfig)</code>
before
  * you modify this config object, you won't see the changes!
  */
-public class RestConfig implements ServletConfig {
+public class RestConfig extends ContextBuilder implements ServletConfig {
 
 	final ServletConfig inner;
 
@@ -1430,4 +1430,10 @@ public class RestConfig implements ServletConfig {
 	public String getServletName() {
 		return inner.getServletName();
 	}
+
+	@Override
+	public Context build() {
+		// TODO Auto-generated method stub
+		return null;
+	}
 }


Mime
View raw message