stefano 2003/03/15 12:21:00
Modified: src/java/org/apache/cocoon/generation
WebServiceProxyGenerator.java
src/java/org/apache/cocoon/components/validation
SchemaFactory.java
src/java/org/apache/cocoon/components/validation/schematron
SchematronFactory.java
src/java/org/apache/cocoon/transformation
EncodeURLTransformer.java XMLFormTransformer.java
Log:
changed @todo in TODO so that javadoc doesn't complain, also removed those custom
cocoon tags since they were used only in one location and contained duplicated
information
Revision Changes Path
1.2 +3 -4
cocoon-2.1/src/java/org/apache/cocoon/generation/WebServiceProxyGenerator.java
Index: WebServiceProxyGenerator.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/generation/WebServiceProxyGenerator.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- WebServiceProxyGenerator.java 9 Mar 2003 00:09:31 -0000 1.1
+++ WebServiceProxyGenerator.java 15 Mar 2003 20:21:00 -0000 1.2
@@ -199,7 +199,7 @@
{
- // @todo: Write a log entry detailing which httpMethod was configured
+ // TODO: Write a log entry detailing which httpMethod was configured
HttpUrlMethod method = null;
@@ -253,14 +253,13 @@
int htcode = httpClient.executeMethod( method );
// meaningful reaction to htcodes different than 200
- // @todo: We should probably be logging this, as well.
+ // TODO: We should probably be logging this, as well.
if (htcode >= 400) {
throw new ProcessingException( "The remote returned error " + htcode + "
when attempting to access remote URL:" + method.getUrl() );
}
- // @todo: fix-me
- // This sleep() is a temporary workaround
+ // FIXME: This sleep() is a temporary workaround
// to avoid NullPointerException in the next line.
Thread.sleep( 100 );
1.2 +1 -1
cocoon-2.1/src/java/org/apache/cocoon/components/validation/SchemaFactory.java
Index: SchemaFactory.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/validation/SchemaFactory.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SchemaFactory.java 9 Mar 2003 00:09:25 -0000 1.1
+++ SchemaFactory.java 15 Mar 2003 20:21:00 -0000 1.2
@@ -82,7 +82,7 @@
throws InstantiationException {
// currently hardcoded implementation for Schematron
// until another schema validator is implemented
- /* @todo create SchematronValidatorFactory */
+ /* TODO: create SchematronValidatorFactory */
if (ns.equals(NAMESPACE_SCHEMATRON))
return new org
.apache
1.2 +4 -4
cocoon-2.1/src/java/org/apache/cocoon/components/validation/schematron/SchematronFactory.java
Index: SchematronFactory.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/validation/schematron/SchematronFactory.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SchematronFactory.java 9 Mar 2003 00:09:25 -0000 1.1
+++ SchematronFactory.java 15 Mar 2003 20:21:00 -0000 1.2
@@ -83,7 +83,7 @@
*/
private String defaultSchemaPrefix_ = "sch";
- /*
+ /**
* private logger
*/
private Logger logger = setupLogger();
@@ -290,7 +290,7 @@
jxpContext.setLenient(false);
// now read the report message
- // @todo: The current implementation does not
+ // TODO: The current implementation does not
// read xml tags used within the assert message.
// Solution is to use JXPath NodePointer to get
// to the DOM node and then convert it to a String.
@@ -430,10 +430,10 @@
}
}
- /*
+ /**
* Replace all occurances of sch: with the actual Schema prefix used in the
document
*
- * @todo fix this implementaion. There are problems with DOM.
+ * TODO: fix this implementaion. There are problems with DOM.
* Returns null instead of the actual namespace prefix (e.g. "sch") as
expected.
*/
protected String fixns(String path) {
1.2 +2 -12
cocoon-2.1/src/java/org/apache/cocoon/transformation/EncodeURLTransformer.java
Index: EncodeURLTransformer.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/transformation/EncodeURLTransformer.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EncodeURLTransformer.java 9 Mar 2003 00:09:39 -0000 1.1
+++ EncodeURLTransformer.java 15 Mar 2003 20:21:00 -0000 1.2
@@ -111,16 +111,6 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Bernhard Huber</a>
* @version CVS $Id$
- *
- * @cocoon:name encodeURL
- * @cocoon:status scratchpad
- * @cocoon:parameter name="exclude-name"
- * default-value="img/@src"
- * description="RE pattern for excluding attributes from encode URL rewriting"
- * @cocoon:parameter name="include-name"
- * default-value=".&asterik;/@href|.&asterik;/@src|.&asterik;/@action"
- * description="RE pattern for including attributes from encode URL rewriting"
- *
*/
public class EncodeURLTransformer
extends AbstractTransformer
1.2 +1 -3
cocoon-2.1/src/java/org/apache/cocoon/transformation/XMLFormTransformer.java
Index: XMLFormTransformer.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/transformation/XMLFormTransformer.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XMLFormTransformer.java 9 Mar 2003 00:09:40 -0000 1.1
+++ XMLFormTransformer.java 15 Mar 2003 20:21:00 -0000 1.2
@@ -89,9 +89,7 @@
public class XMLFormTransformer extends AbstractSAXTransformer
{
- // @todo : implements CacheableProcessingComponent {
-
-
+ // TODO: implements CacheableProcessingComponent {
public final static String NS = "http://xml.apache.org/cocoon/xmlform/2002";
private final static String NS_PREFIX = "xf";