[Idrs-commit] CVS: Idrs/dev/src/net/sourceforge/idrs/deploy/compile CompilerState.java,1.4,1.5 RMLHa
Brought to you by:
bigman921
|
From: Marc B. <big...@us...> - 2002-04-05 15:29:49
|
Update of /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile
In directory usw-pr-cvs1:/tmp/cvs-serv14497/dev/src/net/sourceforge/idrs/deploy/compile
Modified Files:
CompilerState.java RMLHandler.java
Log Message:
bug fixes, documentation
Index: CompilerState.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/CompilerState.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** CompilerState.java 23 Mar 2002 04:48:27 -0000 1.4
--- CompilerState.java 5 Apr 2002 14:37:52 -0000 1.5
***************
*** 74,77 ****
--- 74,85 ----
/**
+ *Determines if nodes is empty
+ *@return true if empty
+ */
+ public boolean isNodeEmpty() {
+ return nodes.isEmpty();
+ }
+
+ /**
*Pops current <code>Compiler</code> instance from the stack
*/
Index: RMLHandler.java
===================================================================
RCS file: /cvsroot/idrs/Idrs/dev/src/net/sourceforge/idrs/deploy/compile/RMLHandler.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** RMLHandler.java 23 Mar 2002 04:48:27 -0000 1.3
--- RMLHandler.java 5 Apr 2002 14:37:52 -0000 1.4
***************
*** 164,175 ****
}
else {
! curr = state.popNode();
! out.println("Pop Class : " + curr.getClass());
! try {
! curr.seal();
! }
! catch (Exception e) {
! e.printStackTrace(System.out);
! throw new SAXException(e);
}
}
--- 164,177 ----
}
else {
! if (! state.isNodeEmpty()) {
! curr = state.popNode();
! out.println("Pop Class : " + curr.getClass());
! try {
! curr.seal();
! }
! catch (Exception e) {
! e.printStackTrace(System.out);
! throw new SAXException(e);
! }
}
}
|