From 41e72531b209b74571589296a3a33354eb2a1c39 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Tue, 03 Jan 2012 17:05:22 +0000
Subject: [PATCH] Fix OPENDJ-394: Do not declare unchecked exceptions in method declarations

---
 opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/SimpleBindRequestImpl.java |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/SimpleBindRequestImpl.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/SimpleBindRequestImpl.java
index 1462dc8..e56cc05 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/SimpleBindRequestImpl.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/SimpleBindRequestImpl.java
@@ -23,7 +23,7 @@
  *
  *
  *      Copyright 2010 Sun Microsystems, Inc.
- *      Portions copyright 2011 ForgeRock AS
+ *      Portions copyright 2011-2012 ForgeRock AS
  */
 
 package org.forgerock.opendj.ldap.requests;
@@ -67,7 +67,6 @@
    *           If {@code name} or {@code password} was {@code null}.
    */
   SimpleBindRequestImpl(final String name, final byte[] password)
-      throws NullPointerException
   {
     this.name = name;
     this.password = password;
@@ -85,7 +84,6 @@
    *           If {@code simpleBindRequest} was {@code null} .
    */
   SimpleBindRequestImpl(final SimpleBindRequest simpleBindRequest)
-      throws NullPointerException
   {
     super(simpleBindRequest);
     this.name = simpleBindRequest.getName();
@@ -134,7 +132,6 @@
    * {@inheritDoc}
    */
   public SimpleBindRequest setName(final String name)
-      throws UnsupportedOperationException, NullPointerException
   {
     Validator.ensureNotNull(name);
     this.name = name;
@@ -147,7 +144,6 @@
    * {@inheritDoc}
    */
   public SimpleBindRequest setPassword(final byte[] password)
-      throws UnsupportedOperationException, NullPointerException
   {
     Validator.ensureNotNull(password);
     this.password = password;
@@ -160,7 +156,6 @@
    * {@inheritDoc}
    */
   public SimpleBindRequest setPassword(final char[] password)
-      throws UnsupportedOperationException, NullPointerException
   {
     Validator.ensureNotNull(password);
     this.password = StaticUtils.getBytes(password);

--
Gitblit v1.10.0