[jsword-svn] common/java/core/org/crosswire/common/progress s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Sun Nov 28 14:36:33 MST 2004
Update of /cvs/jsword/common/java/core/org/crosswire/common/progress
In directory www.crosswire.org:/tmp/cvs-serv11368/java/core/org/crosswire/common/progress
Modified Files:
Job.java WorkEvent.java
Log Message:
intellij refactor - safe
Index: Job.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/progress/Job.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Job.java 8 Sep 2004 19:54:24 -0000 1.5
--- Job.java 28 Nov 2004 21:36:31 -0000 1.6
***************
*** 20,24 ****
/**
* A Generic method of keeping track of Threads and monitoring their progress.
! *
* <p><table border='1' cellPadding='3' cellSpacing='0'>
* <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
--- 20,24 ----
/**
* A Generic method of keeping track of Threads and monitoring their progress.
! *
* <p><table border='1' cellPadding='3' cellSpacing='0'>
* <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
***************
*** 46,50 ****
/**
* Create a new Job. This will automatically fire a workProgressed event to
! * all WorkListeners, with the percent property of this job set to 0.
* @param description Short description of this job
* @param predicturl Optional URL to save/load prediction times from
--- 46,50 ----
/**
* Create a new Job. This will automatically fire a workProgressed event to
! * all WorkListeners, with the percent property of this job set to 0.
* @param description Short description of this job
* @param predicturl Optional URL to save/load prediction times from
***************
*** 329,333 ****
percentend = reportedpc + pcdiff;
! log.debug("Predicting " + predsecttime + "ms (" + reportedpc + "-" + percentend + "%) for section " + message); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
}
--- 329,333 ----
percentend = reportedpc + pcdiff;
! log.debug("Predicting " + predsecttime + "ms (" + reportedpc + '-' + percentend + "%) for section " + message); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
***************
*** 495,499 ****
private final class PredictAction extends AbstractAction
{
! /* (non-Javadoc)
* @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
*/
--- 495,499 ----
private final class PredictAction extends AbstractAction
{
! /* (non-Javadoc)
* @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
*/
***************
*** 503,506 ****
--- 503,511 ----
JobManager.fireWorkProgressed(Job.this, true);
}
+
+ /**
+ * Serialization ID
+ */
+ private static final long serialVersionUID = 3256721784160924983L;
}
Index: WorkEvent.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/progress/WorkEvent.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** WorkEvent.java 16 Aug 2004 22:07:35 -0000 1.3
--- WorkEvent.java 28 Nov 2004 21:36:31 -0000 1.4
***************
*** 30,34 ****
public class WorkEvent extends EventObject
{
! /**
* Initialize a WorkEvent
*/
--- 30,34 ----
public class WorkEvent extends EventObject
{
! /**
* Initialize a WorkEvent
*/
***************
*** 59,61 ****
--- 59,66 ----
*/
private boolean predicted;
+
+ /**
+ * Serialization ID
+ */
+ private static final long serialVersionUID = 3976736990807011378L;
}
More information about the jsword-svn
mailing list