[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] JavaHL returns lastChangedDate instead if lockCreationDate

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-04-26 21:35:22 CEST

Doing some more testing I discovered this bug in JavaHL. In the method to
return the lockCreationDate for an item it is instead returning the date
of the last commit.

Is it OK if I commit this to trunk?

Thanks

Mark

[[[
Return correct date for lockCreationDate

* bindings/javahl/src/org/tigris/subversion/javahl/Status.java
  Corrected the date field that was returned in getLockCreationDate()
]]]

Index: javahl/src/org/tigris/subversion/javahl/Status.java
===================================================================
--- javahl/src/org/tigris/subversion/javahl/Status.java (revision 14452)
+++ javahl/src/org/tigris/subversion/javahl/Status.java (working copy)
@@ -538,7 +538,7 @@
         if (lockCreationDate == 0)
             return null;
         else
- return new Date(lastChangedDate / 1000);
+ return new Date(lockCreationDate / 1000);
     }
 
     /**

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 26 21:37:23 2005

This is an archived mail posted to the Subversion Dev mailing list.