[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book/install/sword s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sat Sep 10 02:07:05 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/install/sword
In directory www.crosswire.org:/tmp/cvs-serv16910/java/jsword/org/crosswire/jsword/book/install/sword

Modified Files:
	AbstractSwordInstaller.java 
Log Message:
Replaced BeanPanel with SiteEditor for the Installer.
Added XalanProcess which is useful outside of JSword to transform xml via xslt.
Cleaned up checkstyle complaints.

Index: AbstractSwordInstaller.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/install/sword/AbstractSwordInstaller.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** AbstractSwordInstaller.java	21 Aug 2005 20:37:56 -0000	1.18
--- AbstractSwordInstaller.java	10 Sep 2005 09:07:02 -0000	1.19
***************
*** 364,373 ****
  
      /**
!      * @param directory The directory to set.
       */
!     public void setDirectory(String directory)
      {
!         this.directory = directory;
!         loaded = false;
      }
  
--- 364,376 ----
  
      /**
!      * @param newDirectory The directory to set.
       */
!     public void setDirectory(String newDirectory)
      {
!         if (directory == null || !directory.equals(newDirectory))
!         {
!             directory = newDirectory;
!             loaded = false;
!         }
      }
  
***************
*** 381,390 ****
  
      /**
!      * @param host The host to set.
       */
!     public void setHost(String host)
      {
!         this.host = host;
!         loaded = false;
      }
  
--- 384,396 ----
  
      /**
!      * @param newHost The host to set.
       */
!     public void setHost(String newHost)
      {
!         if (host == null || !host.equals(newHost))
!         {
!             host = newHost;
!             loaded = false;
!         }
      }
  
***************
*** 398,406 ****
  
      /**
!      * @param proxyHost The proxyHost to set.
       */
!     public void setProxyHost(String proxyHost)
      {
!         this.proxyHost = proxyHost;
      }
  
--- 404,421 ----
  
      /**
!      * @param newProxyHost The proxyHost to set.
       */
!     public void setProxyHost(String newProxyHost)
      {
!         String pHost = null;
!         if (newProxyHost != null && newProxyHost.length() > 0)
!         {
!             pHost = newProxyHost;
!         }
!         if (proxyHost == null || !proxyHost.equals(pHost))
!         {
!             proxyHost = pHost;
!             loaded = false;
!         }
      }
  
***************
*** 414,422 ****
  
      /**
!      * @param proxyPort The proxyPort to set.
       */
!     public void setProxyPort(Integer proxyPort)
      {
!         this.proxyPort = proxyPort;
      }
  
--- 429,441 ----
  
      /**
!      * @param newProxyPort The proxyPort to set.
       */
!     public void setProxyPort(Integer newProxyPort)
      {
!         if (proxyPort == null || !proxyPort.equals(newProxyPort))
!         {
!             proxyPort = newProxyPort;
!             loaded = false;
!         }
      }
  
***************
*** 562,566 ****
       * The relative path of the dir holding the search index files
       */
!     protected static final String SEARCH_DIR = "seach/jsword/L1"; //$NON-NLS-1$
  
      /**
--- 581,585 ----
       * The relative path of the dir holding the search index files
       */
!     protected static final String SEARCH_DIR = "search/jsword/L1"; //$NON-NLS-1$
  
      /**



More information about the jsword-svn mailing list