[jsword-svn] common/java/core/org/crosswire/common/util s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Tue May 24 18:12:33 MST 2005


Update of /cvs/jsword/common/java/core/org/crosswire/common/util
In directory www.crosswire.org:/tmp/cvs-serv11090/java/core/org/crosswire/common/util

Modified Files:
	StackTrace.java 
Log Message:
Fixed a problem of character entity references causing a parsing error.

Index: StackTrace.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/util/StackTrace.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** StackTrace.java	17 May 2005 00:47:01 -0000	1.10
--- StackTrace.java	25 May 2005 01:12:31 -0000	1.11
***************
*** 58,64 ****
       * Create a stack trace of the code at this point
       * @param ex The Throwable containing the Stack Trace
!      * @param disgard The number of uppermost stack frames to ignore
       */
!     private void init(Throwable ex, int disgard)
      {
          StringWriter sout = new StringWriter();
--- 58,64 ----
       * Create a stack trace of the code at this point
       * @param ex The Throwable containing the Stack Trace
!      * @param discard The number of uppermost stack frames to ignore
       */
!     private void init(Throwable ex, int discard)
      {
          StringWriter sout = new StringWriter();
***************
*** 67,78 ****
          String[] calls = StringUtil.split(msg, "\n\r"); //$NON-NLS-1$
  
!         classNames = new String[calls.length - disgard];
!         methodNames = new String[calls.length - disgard];
!         fileNames = new String[calls.length - disgard];
!         lineNumbers = new int[calls.length - disgard];
  
          for (int i = 0; i < classNames.length; i++)
          {
!             String call = calls[i + disgard];
  
              try
--- 67,78 ----
          String[] calls = StringUtil.split(msg, "\n\r"); //$NON-NLS-1$
  
!         classNames = new String[calls.length - discard];
!         methodNames = new String[calls.length - discard];
!         fileNames = new String[calls.length - discard];
!         lineNumbers = new int[calls.length - discard];
  
          for (int i = 0; i < classNames.length; i++)
          {
!             String call = calls[i + discard];
  
              try



More information about the jsword-svn mailing list