Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@959422 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3abcada25b
commit
f752f803eb
|
@ -376,7 +376,7 @@ public final class Range<T> implements Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@SuppressWarnings("unchecked") // Comparator works for all types
|
@SuppressWarnings("rawtypes") // Comparator works for all types
|
||||||
public static final ComparableComparator<?> INSTANCE = new ComparableComparator();
|
public static final ComparableComparator<?> INSTANCE = new ComparableComparator();
|
||||||
|
|
||||||
@SuppressWarnings("unchecked") // OK to cast, because comparator works for all types
|
@SuppressWarnings("unchecked") // OK to cast, because comparator works for all types
|
||||||
|
|
|
@ -4752,6 +4752,7 @@ public class StringUtils {
|
||||||
* @deprecated See {@link CharSequenceUtils#length(CharSequence)}
|
* @deprecated See {@link CharSequenceUtils#length(CharSequence)}
|
||||||
* @since 3.0 Changed signature from length(String) to length(CharSequence)
|
* @since 3.0 Changed signature from length(String) to length(CharSequence)
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static int length(CharSequence cs) {
|
public static int length(CharSequence cs) {
|
||||||
return CharSequenceUtils.length(cs);
|
return CharSequenceUtils.length(cs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue