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 2e7208cd8..bf3a8a2b0 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 void setExpireAgeMillis(long expireAgeMillis) { /** * 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;