You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2010/02/17 15:07:42 UTC
svn commit: r910980 -
/harmony/enhanced/classlib/branches/java6/modules/luni/src/main/java/java/util/TreeMap.java
Author: hindessm
Date: Wed Feb 17 14:07:42 2010
New Revision: 910980
URL: http://svn.apache.org/viewvc?rev=910980&view=rev
Log:
Thought I'd reverted this already ... reverting r903454. See:
http://markmail.org/thread/cdxlmi26mjgor3om
Modified:
harmony/enhanced/classlib/branches/java6/modules/luni/src/main/java/java/util/TreeMap.java
Modified: harmony/enhanced/classlib/branches/java6/modules/luni/src/main/java/java/util/TreeMap.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/luni/src/main/java/java/util/TreeMap.java?rev=910980&r1=910979&r2=910980&view=diff
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/luni/src/main/java/java/util/TreeMap.java (original)
+++ harmony/enhanced/classlib/branches/java6/modules/luni/src/main/java/java/util/TreeMap.java Wed Feb 17 14:07:42 2010
@@ -5465,9 +5465,6 @@
@SuppressWarnings("unchecked")
private static <T> Comparable<T> toComparable(T obj) {
- if (obj == null) {
- throw new NullPointerException();
- }
return (Comparable<T>) obj;
}