From 27a02f3d576383fd8aeb29e3e0b7e0344ee2a201 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Sun, 5 May 2013 21:54:13 +0000 Subject: [PATCH] Add missing since tags. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479403 13f79535-47bb-0310-9956-ffa450edef68 --- .../commons/collections4/comparators/BooleanComparator.java | 1 + .../commons/collections4/comparators/ComparableComparator.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/org/apache/commons/collections4/comparators/BooleanComparator.java b/src/main/java/org/apache/commons/collections4/comparators/BooleanComparator.java index 3a78f29fe..a7524ba75 100644 --- a/src/main/java/org/apache/commons/collections4/comparators/BooleanComparator.java +++ b/src/main/java/org/apache/commons/collections4/comparators/BooleanComparator.java @@ -91,6 +91,7 @@ public final class BooleanComparator implements Comparator, Serializabl * @param trueFirst when true, sort * true Booleans before false * @return a singleton BooleanComparator instance + * @since 4.0 */ public static BooleanComparator booleanComparator(final boolean trueFirst) { return trueFirst ? TRUE_FIRST : FALSE_FIRST; diff --git a/src/main/java/org/apache/commons/collections4/comparators/ComparableComparator.java b/src/main/java/org/apache/commons/collections4/comparators/ComparableComparator.java index 9c02f2086..1d82514d8 100644 --- a/src/main/java/org/apache/commons/collections4/comparators/ComparableComparator.java +++ b/src/main/java/org/apache/commons/collections4/comparators/ComparableComparator.java @@ -58,6 +58,7 @@ public class ComparableComparator> implements Co * * @param the element type * @return the singleton ComparableComparator + * @since 4.0 */ @SuppressWarnings("unchecked") public static > ComparableComparator comparableComparator() {