/[classpath]/classpath/javax/print/attribute/AttributeSetUtilities.java
ViewVC logotype

Diff of /classpath/javax/print/attribute/AttributeSetUtilities.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.3 by gnu_andrew, Sun Nov 27 21:00:37 2005 UTC revision 1.2.2.4 by tromey, Wed Dec 7 00:53:54 2005 UTC
# Line 435  public final class AttributeSetUtilities Line 435  public final class AttributeSetUtilities
435     * that implements interfaceName     * that implements interfaceName
436     * @exception NullPointerException if object is null     * @exception NullPointerException if object is null
437     */     */
438    public static Class verifyAttributeCategory(Object object,    public static Class<?> verifyAttributeCategory(Object object,
439                                                Class interfaceName)                                                   Class<?> interfaceName)
440    {    {
441      if (object == null)      if (object == null)
442        throw new NullPointerException("object may not be null");        throw new NullPointerException("object may not be null");
# Line 461  public final class AttributeSetUtilities Line 461  public final class AttributeSetUtilities
461     * @exception NullPointerException if object is null     * @exception NullPointerException if object is null
462     */     */
463    public static Attribute verifyAttributeValue(Object object,    public static Attribute verifyAttributeValue(Object object,
464                                                 Class interfaceName)                                                 Class<?> interfaceName)
465    {    {
466      if (object == null)      if (object == null)
467        throw new NullPointerException("object may not be null");        throw new NullPointerException("object may not be null");
# Line 482  public final class AttributeSetUtilities Line 482  public final class AttributeSetUtilities
482     * @exception IllegalArgumentException if the categories are not equal     * @exception IllegalArgumentException if the categories are not equal
483     * @exception NullPointerException if category is null     * @exception NullPointerException if category is null
484     */     */
485    public static void verifyCategoryForValue(Class category,    public static void verifyCategoryForValue(Class<?> category,
486                                              Attribute attribute)                                              Attribute attribute)
487    {    {
488      if (category == null || attribute == null)      if (category == null || attribute == null)

Legend:
Removed from v.1.2.2.3  
changed lines
  Added in v.1.2.2.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26