diff options
author | Thomas Wolf <twolf@apache.org> | 2024-12-19 20:54:33 +0100 |
---|---|---|
committer | Thomas Wolf <twolf@apache.org> | 2024-12-19 20:54:33 +0100 |
commit | 7fc6382689f95961e5a6f86046be6da1f86f7bc4 (patch) | |
tree | a29245af035b1a564e414c40f80f7f954ca91490 | |
parent | a783bb76caa148577d2f5ce11ef037a547d51c34 (diff) | |
download | jgit-7fc6382689f95961e5a6f86046be6da1f86f7bc4.tar.gz jgit-7fc6382689f95961e5a6f86046be6da1f86f7bc4.zip |
CommitTimeRevFilter: add missing @since
Annotate the new methods using Instant.
Change-Id: I1dc4eec59b44e784bcc151bd6a28347f6fd0de03
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/revwalk/filter/CommitTimeRevFilter.java | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/filter/CommitTimeRevFilter.java b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/filter/CommitTimeRevFilter.java index 40f56e38ba..c9186b5491 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/filter/CommitTimeRevFilter.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/revwalk/filter/CommitTimeRevFilter.java @@ -45,6 +45,7 @@ public abstract class CommitTimeRevFilter extends RevFilter { * @param ts * the point in time to cut on. * @return a new filter to select commits on or before <code>ts</code>. + * @since 7.2 */ public static RevFilter before(Instant ts) { return new Before(ts); @@ -81,6 +82,7 @@ public abstract class CommitTimeRevFilter extends RevFilter { * @param ts * the point in time to cut on. * @return a new filter to select commits on or after <code>ts</code>. + * @since 7.2 */ public static RevFilter after(Instant ts) { return new After(ts); @@ -113,12 +115,16 @@ public abstract class CommitTimeRevFilter extends RevFilter { } /** - * Create a new filter to select commits after or equal a given date/time <code>since</code> - * and before or equal a given date/time <code>until</code>. + * Create a new filter to select commits after or equal a given date/time + * <code>since</code> and before or equal a given date/time + * <code>until</code>. * - * @param since the point in time to cut on. - * @param until the point in time to cut off. + * @param since + * the point in time to cut on. + * @param until + * the point in time to cut off. * @return a new filter to select commits between the given date/times. + * @since 7.2 */ public static RevFilter between(Instant since, Instant until) { return new Between(since, until); |