--- /home/cpdev/src/classpath/java/awt/RenderingHints.java	2005-07-02 21:03:22.000000000 +0000
+++ java/awt/RenderingHints.java	2005-06-30 05:34:28.000000000 +0000
@@ -1,5 +1,5 @@
 /* RenderingHints.java --
-   Copyright (C) 2000, 2001, 2002, 2004, 2005  Free Software Foundation
+   Copyright (C) 2000, 2001, 2002, 2004  Free Software Foundation
 
 This file is part of GNU Classpath.
 
@@ -592,18 +592,14 @@
    * Returns <code>true</code> if the collection of hints contains the
    * specified key, and <code>false</code> otherwise.
    * 
-   * @param key  the key (<code>null</code> not permitted).
+   * @param key  the key.
    * 
    * @return A boolean.
-   * 
-   * @throws NullPointerException if <code>key</code> is <code>null</code>.
-   * @throws ClassCastException if <code>key</code> is not a {@link Key}.
    */
   public boolean containsKey(Object key)
   {
     if (key == null)
       throw new NullPointerException();
-    // don't remove the cast, it is necessary to throw the required exception
     return hintMap.containsKey((Key) key);
   }
 
@@ -621,20 +617,14 @@
   }
 
   /**
-   * Returns the value associated with the specified key, or <code>null</code>
-   * if there is no value defined for the key.
-   * 
-   * @param key  the key (<code>null</code> permitted).
+   * Returns the value associated with the specified key.
    * 
-   * @return The value (possibly <code>null</code>).
-   * 
-   * @throws ClassCastException if <code>key</code> is not a {@link Key}.
+   * @param key  the key.
    * 
-   * @see #containsKey(Object)
+   * @return The value.
    */
   public Object get(Object key)
   {
-    // don't remove the cast, it is necessary to throw the required exception
     return hintMap.get((Key) key);
   }
 
