[jsword-svn] common/java/swing/org/crosswire/common/swing s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Mon Apr 4 17:33:25 MST 2005


Update of /cvs/jsword/common/java/swing/org/crosswire/common/swing
In directory www.crosswire.org:/tmp/cvs-serv3405/java/swing/org/crosswire/common/swing

Modified Files:
	ActionFactory.java MapTableModel.java 
Log Message:
Cleanup: remove unused libraries. Piddly software changes for consistency. Move unused code to limbo.

Index: ActionFactory.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/ActionFactory.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** ActionFactory.java	6 Mar 2005 20:21:59 -0000	1.11
--- ActionFactory.java	5 Apr 2005 00:33:22 -0000	1.12
***************
*** 115,133 ****
              return action;
          }
!         else
!         {
!             log.info("Missing key: '" + key + "'. Known keys are: " + StringUtil.join(actions.keySet().toArray(), ", ")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
!             assert false;
  
!             CWAction getOutOfJailFreeAction = new CWAction();
  
!             getOutOfJailFreeAction.putValue(Action.NAME, key);
!             getOutOfJailFreeAction.putValue(Action.SHORT_DESCRIPTION, MISSING_RESOURCE);
!             getOutOfJailFreeAction.putValue(Action.LONG_DESCRIPTION, MISSING_RESOURCE);
!             getOutOfJailFreeAction.setEnabled(true);
!             getOutOfJailFreeAction.addActionListener(this);
  
!             return getOutOfJailFreeAction;
!         }
      }
  
--- 115,130 ----
              return action;
          }
!         log.info("Missing key: '" + key + "'. Known keys are: " + StringUtil.join(actions.keySet().toArray(), ", ")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
!         assert false;
  
!         CWAction getOutOfJailFreeAction = new CWAction();
  
!         getOutOfJailFreeAction.putValue(Action.NAME, key);
!         getOutOfJailFreeAction.putValue(Action.SHORT_DESCRIPTION, MISSING_RESOURCE);
!         getOutOfJailFreeAction.putValue(Action.LONG_DESCRIPTION, MISSING_RESOURCE);
!         getOutOfJailFreeAction.setEnabled(true);
!         getOutOfJailFreeAction.addActionListener(this);
  
!         return getOutOfJailFreeAction;
      }
  

Index: MapTableModel.java
===================================================================
RCS file: /cvs/jsword/common/java/swing/org/crosswire/common/swing/MapTableModel.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MapTableModel.java	24 Jan 2005 23:22:06 -0000	1.4
--- MapTableModel.java	5 Apr 2005 00:33:22 -0000	1.5
***************
*** 167,174 ****
              return 0;
          }
!         else
!         {
!             return 2;
!         }
      }
  
--- 167,171 ----
              return 0;
          }
!         return 2;
      }
  
***************
*** 183,190 ****
              return 0;
          }
!         else
!         {
!             return list.size();
!         }
      }
  
--- 180,184 ----
              return 0;
          }
!         return list.size();
      }
  
***************
*** 207,214 ****
              return entry.getKey();
          }
!         else
!         {
!             return entry.getValue();
!         }
      }
  
--- 201,205 ----
              return entry.getKey();
          }
!         return entry.getValue();
      }
  



More information about the jsword-svn mailing list