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

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sun Mar 6 13:21:39 MST 2005


Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install
In directory www.crosswire.org:/tmp/cvs-serv26420/java/main/org/crosswire/bibledesktop/book/install

Modified Files:
	IndexResolver.java BookMetaDataTableModel.java 
	InstallerFactoryComboBoxModel.java SitePane.java 
	InstallManagerComboBoxModel.java 
	TextPaneBookMetaDataDisplay.java 
Log Message:
Changes to satisfy CheckStyle

Index: SitePane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install/SitePane.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SitePane.java	28 Feb 2005 02:21:26 -0000	1.3
--- SitePane.java	6 Mar 2005 20:21:36 -0000	1.4
***************
*** 181,185 ****
      private Component createSelectedPanel()
      {
!         
          JLabel lblSelected = actions.createJLabel(SELECTED_BOOK_LABEL);
          display = new TextPaneBookMetaDataDisplay();
--- 181,185 ----
      private Component createSelectedPanel()
      {
! 
          JLabel lblSelected = actions.createJLabel(SELECTED_BOOK_LABEL);
          display = new TextPaneBookMetaDataDisplay();
***************
*** 227,231 ****
          BookMetaDataSet bmds = new BookMetaDataSet(books.getBookMetaDatas());
          TreeNode bookRoot = new BookNode("root", bmds, new Object[] { BookMetaData.KEY_TYPE, BookMetaData.KEY_LANGUAGE }, 0); //$NON-NLS-1$
!         return new DefaultTreeModel(bookRoot);  
      }
  
--- 227,231 ----
          BookMetaDataSet bmds = new BookMetaDataSet(books.getBookMetaDatas());
          TreeNode bookRoot = new BookNode("root", bmds, new Object[] { BookMetaData.KEY_TYPE, BookMetaData.KEY_LANGUAGE }, 0); //$NON-NLS-1$
!         return new DefaultTreeModel(bookRoot);
      }
  
***************
*** 236,240 ****
          if (obj instanceof DefaultMutableTreeNode)
          {
!             obj = ((DefaultMutableTreeNode)obj).getUserObject();
          }
          // Old way
--- 236,240 ----
          if (obj instanceof DefaultMutableTreeNode)
          {
!             obj = ((DefaultMutableTreeNode) obj).getUserObject();
          }
          // Old way
***************
*** 382,386 ****
          treAvailable.setModel(createTreeModel(books));
      }
!     
      /**
       * When new books are added we need to relfect the change in this tree.
--- 382,386 ----
          treAvailable.setModel(createTreeModel(books));
      }
! 
      /**
       * When new books are added we need to relfect the change in this tree.
***************
*** 427,433 ****
       * GUI Components
       */
!     private JTree treAvailable = null;
      private TextPaneBookMetaDataDisplay display;
!     private JLabel lblDesc = null;
  
      /**
--- 427,433 ----
       * GUI Components
       */
!     private JTree treAvailable;
      private TextPaneBookMetaDataDisplay display;
!     private JLabel lblDesc;
  
      /**
***************
*** 435,437 ****
       */
      private static final long serialVersionUID = 3616445692051075634L;
! }
\ No newline at end of file
--- 435,437 ----
       */
      private static final long serialVersionUID = 3616445692051075634L;
! }

Index: InstallerFactoryComboBoxModel.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install/InstallerFactoryComboBoxModel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** InstallerFactoryComboBoxModel.java	15 Feb 2005 02:08:59 -0000	1.1
--- InstallerFactoryComboBoxModel.java	6 Mar 2005 20:21:36 -0000	1.2
***************
*** 37,41 ****
  public class InstallerFactoryComboBoxModel extends AbstractListModel implements ComboBoxModel
  {
! 	/**
       * Simple ctor
       */
--- 37,41 ----
  public class InstallerFactoryComboBoxModel extends AbstractListModel implements ComboBoxModel
  {
!     /**
       * Simple ctor
       */

Index: InstallManagerComboBoxModel.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install/InstallManagerComboBoxModel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** InstallManagerComboBoxModel.java	15 Feb 2005 02:08:59 -0000	1.1
--- InstallManagerComboBoxModel.java	6 Mar 2005 20:21:36 -0000	1.2
***************
*** 39,43 ****
  public class InstallManagerComboBoxModel extends AbstractListModel implements ComboBoxModel
  {
! 	/**
       * Simple ctor
       */
--- 39,43 ----
  public class InstallManagerComboBoxModel extends AbstractListModel implements ComboBoxModel
  {
!     /**
       * Simple ctor
       */

Index: TextPaneBookMetaDataDisplay.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install/TextPaneBookMetaDataDisplay.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TextPaneBookMetaDataDisplay.java	28 Feb 2005 02:21:26 -0000	1.1
--- TextPaneBookMetaDataDisplay.java	6 Mar 2005 20:21:36 -0000	1.2
***************
*** 68,72 ****
          try
          {
!             
              SAXEventProvider osissep = new JDOMSAXEventProvider(bmd.toOSIS());
              TransformingSAXEventProvider htmlsep = (TransformingSAXEventProvider) converter.convert(osissep);
--- 68,72 ----
          try
          {
! 
              SAXEventProvider osissep = new JDOMSAXEventProvider(bmd.toOSIS());
              TransformingSAXEventProvider htmlsep = (TransformingSAXEventProvider) converter.convert(osissep);

Index: IndexResolver.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install/IndexResolver.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** IndexResolver.java	15 Feb 2005 02:08:59 -0000	1.1
--- IndexResolver.java	6 Mar 2005 20:21:36 -0000	1.2
***************
*** 21,25 ****
   * A class to prompt the user to download or create a search index and to do
   * carry out the users wishes.
!  * 
   * <p><table border='1' cellPadding='3' cellSpacing='0'>
   * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
--- 21,25 ----
   * A class to prompt the user to download or create a search index and to do
   * carry out the users wishes.
!  *
   * <p><table border='1' cellPadding='3' cellSpacing='0'>
   * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
***************
*** 64,68 ****
      /**
       * @param parent
!      * 
       */
      public static void scheduleIndex(BookMetaData bmd, Component parent)
--- 64,68 ----
      /**
       * @param parent
!      *
       */
      public static void scheduleIndex(BookMetaData bmd, Component parent)
***************
*** 107,111 ****
          }
      }
!     
      /**
       * Pick an installer
--- 107,111 ----
          }
      }
! 
      /**
       * Pick an installer

Index: BookMetaDataTableModel.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/install/BookMetaDataTableModel.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** BookMetaDataTableModel.java	15 Feb 2005 02:08:59 -0000	1.1
--- BookMetaDataTableModel.java	6 Mar 2005 20:21:36 -0000	1.2
***************
*** 30,34 ****
  public class BookMetaDataTableModel extends MapTableModel
  {
! 	/**
       * Simple ctor
       */
--- 30,34 ----
  public class BookMetaDataTableModel extends MapTableModel
  {
!     /**
       * Simple ctor
       */



More information about the jsword-svn mailing list