juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject incubator-juneau git commit: Remove unused methods.
Date Sat, 10 Jun 2017 23:54:19 GMT
Repository: incubator-juneau
Updated Branches:
  refs/heads/master 2870be2d4 -> c007d496e


Remove unused methods.

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

Branch: refs/heads/master
Commit: c007d496ef1deee861d6ed2088a0f1c73261132f
Parents: 2870be2
Author: JamesBognar <jamesbognar@apache.org>
Authored: Sat Jun 10 19:54:16 2017 -0400
Committer: JamesBognar <jamesbognar@apache.org>
Committed: Sat Jun 10 19:54:16 2017 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/juneau/rest/RestRequest.java   | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-juneau/blob/c007d496/juneau-rest/src/main/java/org/apache/juneau/rest/RestRequest.java
----------------------------------------------------------------------
diff --git a/juneau-rest/src/main/java/org/apache/juneau/rest/RestRequest.java b/juneau-rest/src/main/java/org/apache/juneau/rest/RestRequest.java
index 3234249..909677e 100644
--- a/juneau-rest/src/main/java/org/apache/juneau/rest/RestRequest.java
+++ b/juneau-rest/src/main/java/org/apache/juneau/rest/RestRequest.java
@@ -82,7 +82,6 @@ public final class RestRequest extends HttpServletRequestWrapper {
 	private RequestPathMatch pathParams;
 	private boolean isPost;
 	private UriContext uriContext;
-	private String relativeServletURI;
 	private String charset, defaultCharset;
 	private RequestHeaders headers;
 	private ConfigFile cf;
@@ -508,17 +507,6 @@ public final class RestRequest extends HttpServletRequestWrapper {
 		return trimTrailingSlashes(getRequestURL());
 	}
 
-	/**
-	 * Gets the path-absolute relative URI of the servlet (e.g. <js>"/contextPath/servletPath"</js>).
-	 *
-	 * @return The relative servlet URI.
-	 */
-	public String getRelativeServletURI() {
-		if (relativeServletURI == null)
-			relativeServletURI = getContextPath() + getServletPath();
-		return relativeServletURI;
-	}
-
 
 	//--------------------------------------------------------------------------------
 	// Labels


Mime
View raw message