You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by cz...@apache.org on 2004/02/22 11:54:46 UTC
cvs commit: avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source SourceResolver.java
cziegeler 2004/02/22 02:54:46
Modified: sourceresolve/src/java/org/apache/excalibur/source
SourceResolver.java
Log:
Remove duplicate definition
Revision Changes Path
1.5 +5 -12 avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/SourceResolver.java
Index: SourceResolver.java
===================================================================
RCS file: /home/cvs/avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/SourceResolver.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SourceResolver.java 19 Feb 2004 08:36:15 -0000 1.4
+++ SourceResolver.java 22 Feb 2004 10:54:46 -0000 1.5
@@ -51,19 +51,19 @@
* the content. It is up to the protocol implementation ({@link
* SourceFactory}) to support this or not
*/
- String METHOD = "org.apache.avalon.excalibur.source.Source.uri.method";
+ String METHOD = Source.class.getName()+".uri.method";
/** With this parameter you can specify additional request parameters which are
* appended to the URI. It is up to the protocol implementation ({@link
* SourceFactory}) to support this or not.
*/
- String URI_PARAMETERS = "org.apache.excalibur.source.Source.uri.parameters";
+ String URI_PARAMETERS = Source.class.getName()+".uri.parameters";
/** With this parameter you can specify the encoding to use for encoding
* the additional request parameters the URI. It is up to the protocol
* implementation ({@link SourceFactory}) to support this or not.
*/
- String URI_ENCODING = "org.apache.excalibur.source.Source.uri.encoding";
+ String URI_ENCODING = Source.class.getName()+".uri.encoding";
/**
* Get a {@link Source} object. This is a shortcut for {@link #resolveURI
@@ -76,12 +76,6 @@
Source resolveURI( String location )
throws MalformedURLException, IOException;
- /** With this parameter you can specify the encoding to use for encoding
- * the additional request parameters the URI. It is up to the protocol
- * implementation ({@link SourceFactory}) to support this or not.
- */
- String URI_ENCODING = "org.apache.excalibur.source.Source.uri.encoding";
-
/**
* Get a {@link Source} object.
* @param location - the URI to resolve. If this is relative it is either
@@ -107,5 +101,4 @@
* @param source the source to release.
*/
void release( Source source );
-}
-
+}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org