From: Sasa Zivkov Date: Thu, 20 Sep 2012 14:18:59 +0000 (+0200) Subject: Fix the javadoc for GC.setExpire X-Git-Tag: v2.2.0.201212191850-r~92 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7ad88afeb8ce95905b1e36ba7b0ebcc82c945ae8;p=jgit.git Fix the javadoc for GC.setExpire Clarify expiration of objects with the modification time exactly at the given time instant. Change-Id: I2000aec89c8d6a95700380b0a32275d2d658f67e Signed-off-by: Sasa Zivkov --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/GC.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/GC.java index 2e7208cd80..bf3a8a2b0a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/GC.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/GC.java @@ -838,12 +838,15 @@ public class GC { /** * During gc() or prune() each unreferenced, loose object which has been - * created or modified after expire will not be pruned. Only - * older objects may be pruned. If set to null then every object is a + * created or modified after or at expire will not be pruned. + * Only older objects may be pruned. If set to null then every object is a * candidate for pruning. * * @param expire - * minimal age of objects to be pruned in milliseconds. + * instant in time which defines object expiration + * objects with modification time before this instant are expired + * objects with modification time newer or equal to this instant + * are not expired */ public void setExpire(Date expire) { this.expire = expire;