forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r488449 - /forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/Controller.java
Date Mon, 18 Dec 2006 23:08:30 GMT
Author: rgardler
Date: Mon Dec 18 15:08:29 2006
New Revision: 488449

URL: http://svn.apache.org/viewvc?view=rev&rev=488449
Log:
@refactor variable renaming for clarity

Modified:
    forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/Controller.java

Modified: forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/Controller.java
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/Controller.java?view=diff&rev=488449&r1=488448&r2=488449
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/Controller.java
(original)
+++ forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/Controller.java
Mon Dec 18 15:08:29 2006
@@ -471,12 +471,12 @@
 	 */
 	public AbstractOutputDocument getOutputDocument(URI requestURI)
 			throws MalformedURLException, ProcessingException {
-		String path = requestURI.getSchemeSpecificPart();
-		if (path.endsWith(this.sourceURLExtension)) {
+		String ssp = requestURI.getSchemeSpecificPart();
+		if (ssp.endsWith(this.sourceURLExtension)) {
 			return getSourceDocumentAsOutput(requestURI);
-		} else if (path.endsWith(this.internalURLExtension)) {
+		} else if (ssp.endsWith(this.internalURLExtension)) {
 			return getInternalDocumentAsOutput(requestURI);
-		} else if (path.endsWith(this.pipelineURLExtension)) {
+		} else if (ssp.endsWith(this.pipelineURLExtension)) {
 			return getPipelineAsOutput(requestURI);
 		}
 



Mime
View raw message