joerg 2004/01/06 05:42:47
Modified:
src/blocks/precept/java/org/apache/cocoon/precept/preceptors/easyrelax
PreceptorBuilderImpl.java
Log:
includeUri and define are not read - can they be removed?
Revision Changes Path
1.5 +7 -7
cocoon-2.1/src/blocks/precept/java/org/apache/cocoon/precept/preceptors/easyrelax/PreceptorBuilderImpl.java
Index: PreceptorBuilderImpl.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/precept/java/org/apache/cocoon/precept/preceptors/easyrelax/PreceptorBuilderImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- PreceptorBuilderImpl.java 20 Nov 2003 17:11:02 -0000 1.4
+++ PreceptorBuilderImpl.java 6 Jan 2004 13:42:47 -0000 1.5
@@ -119,13 +119,13 @@
private String constraintType;
private String constraintName;
private String constraintContext;
- private String includeUri;
+// private String includeUri;
private StringBuffer currentPath;
private Map constraintAliases;
private XMLByteStreamInterpreter xmli;
private ConstraintFactory constraintFactory = new ConstraintFactory();
- private boolean define;
+// private boolean define;
private ContentHandler redirect;
private int redirectLevel;
@@ -192,7 +192,7 @@
constraintAliases = new HashMap();
redirect = null;
redirectLevel = 0;
- define = false;
+// define = false;
xmli = new XMLByteStreamInterpreter();
xmli.setContentHandler(new EmbeddedXMLPipe(this));
}
@@ -219,10 +219,10 @@
if ("grammar".equals(name)) {
}
else if ("include".equals(name)) {
- includeUri = attributes.getValue("uri");
+// includeUri = attributes.getValue("uri");
}
else if ("define".equals(name)) {
- define = true;
+// define = true;
}
else if ("start".equals(name)) {
}
@@ -322,7 +322,7 @@
else if ("include".equals(name)) {
}
else if ("define".equals(name)) {
- define = false;
+// define = false;
}
else if ("start".equals(name)) {
}