Update of /cvsroot/jrobin/src/org/jrobin/core/jrrd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9853/org/jrobin/core/jrrd
Modified Files:
RRDatabase.java
Log Message:
minor changes
Index: RRDatabase.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/jrrd/RRDatabase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RRDatabase.java 22 Jul 2004 09:34:10 -0000 1.1
--- RRDatabase.java 22 Jul 2004 09:36:33 -0000 1.2
***************
*** 288,292 ****
// Find start and end offsets
! // todo: This is terrible - some of this should be encapsulated in Archive - CT.
long lastUpdateLong = lastUpdate.getTime() / 1000;
long archiveEndTime = lastUpdateLong - (lastUpdateLong % step);
--- 288,292 ----
// Find start and end offsets
! // This is terrible - some of this should be encapsulated in Archive - CT.
long lastUpdateLong = lastUpdate.getTime() / 1000;
long archiveEndTime = lastUpdateLong - (lastUpdateLong % step);
***************
*** 321,325 ****
int firstFull = 1;
long bestMatch = 0;
! long bestPartRRA = 0;
long bestStepDiff = 0;
long tmpStepDiff = 0;
--- 321,325 ----
int firstFull = 1;
long bestMatch = 0;
! //long bestPartRRA = 0;
long bestStepDiff = 0;
long tmpStepDiff = 0;
***************
*** 364,368 ****
// See how the matching went
! // todo: optimise this
if (firstFull == 0) {
archive = bestFullArchive;
--- 364,368 ----
// See how the matching went
! // optimise this
if (firstFull == 0) {
archive = bestFullArchive;
|