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/controls/PreReadRequestControl.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/controls/PreReadRequestControl.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/controls/PreReadRequestControl.java
index 21bf690..d361972 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/controls/PreReadRequestControl.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/controls/PreReadRequestControl.java
@@ -23,6 +23,7 @@
*
*
* Copyright 2009 Sun Microsystems, Inc.
+ * Portions copyright 2012 ForgeRock AS.
*/
package org.forgerock.opendj.ldap.controls;
@@ -190,7 +191,7 @@
* If {@code attributes} was {@code null}.
*/
public static PreReadRequestControl newControl(final boolean isCritical,
- final Collection<String> attributes) throws NullPointerException
+ final Collection<String> attributes)
{
Validator.ensureNotNull(attributes);
@@ -230,7 +231,7 @@
* If {@code attributes} was {@code null}.
*/
public static PreReadRequestControl newControl(final boolean isCritical,
- final String... attributes) throws NullPointerException
+ final String... attributes)
{
Validator.ensureNotNull((Object) attributes);
--
Gitblit v1.10.0