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:
Sebastian Bazley 2010-06-30 20:24:49 +00:00
parent 3abcada25b
commit f752f803eb
2 changed files with 2 additions and 1 deletions

View File

@ -376,7 +376,7 @@ public final class Range<T> implements Serializable {
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();
@SuppressWarnings("unchecked") // OK to cast, because comparator works for all types

View File

@ -4752,6 +4752,7 @@ public class StringUtils {
* @deprecated See {@link CharSequenceUtils#length(CharSequence)}
* @since 3.0 Changed signature from length(String) to length(CharSequence)
*/
@Deprecated
public static int length(CharSequence cs) {
return CharSequenceUtils.length(cs);
}