[jsword-svn] bibledesktop/java/main/org/crosswire/bibledesktop/util s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sun Nov 28 14:36:06 MST 2004


Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/util
In directory www.crosswire.org:/tmp/cvs-serv11205/java/main/org/crosswire/bibledesktop/util

Modified Files:
	ConfigurableSwingConverter.java 
Log Message:
intellij refactor - safe

Index: ConfigurableSwingConverter.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/util/ConfigurableSwingConverter.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ConfigurableSwingConverter.java	21 Sep 2004 17:46:47 -0000	1.7
--- ConfigurableSwingConverter.java	28 Nov 2004 21:36:04 -0000	1.8
***************
*** 19,23 ****
  /**
   * Turn XML from a Bible into HTML according to a Display style.
!  * 
   * <p><table border='1' cellPadding='3' cellSpacing='0'>
   * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
--- 19,23 ----
  /**
   * Turn XML from a Bible into HTML according to a Display style.
!  *
   * <p><table border='1' cellPadding='3' cellSpacing='0'>
   * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
***************
*** 115,120 ****
      {
          String[] fontSpec = StringUtil.split(font, ","); //$NON-NLS-1$
!         int fontStyle = new Integer(fontSpec[1]).intValue();
!         int fontSize = new Integer(fontSpec[2]).intValue();
          Font newFont = new Font(fontSpec[0], fontStyle, fontSize);
          return newFont;
--- 115,120 ----
      {
          String[] fontSpec = StringUtil.split(font, ","); //$NON-NLS-1$
!         int fontStyle = Integer.parseInt(fontSpec[1]);
!         int fontSize = Integer.parseInt(fontSpec[2]);
          Font newFont = new Font(fontSpec[0], fontStyle, fontSize);
          return newFont;



More information about the jsword-svn mailing list