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/DecodeOptions.java | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/DecodeOptions.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/DecodeOptions.java
index 5bd29d9..702d10e 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/DecodeOptions.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/DecodeOptions.java
@@ -23,7 +23,7 @@
*
*
* Copyright 2009 Sun Microsystems, Inc.
- * Portions copyright 2011 ForgeRock AS
+ * Portions copyright 2011-2012 ForgeRock AS
*/
package org.forgerock.opendj.ldap;
@@ -168,7 +168,6 @@
* If {@code factory} was {@code null}.
*/
public final DecodeOptions setAttributeFactory(final AttributeFactory factory)
- throws NullPointerException
{
Validator.ensureNotNull(factory);
this.attributeFactory = factory;
@@ -189,7 +188,6 @@
* If {@code factory} was {@code null}.
*/
public final DecodeOptions setEntryFactory(final EntryFactory factory)
- throws NullPointerException
{
Validator.ensureNotNull(factory);
this.entryFactory = factory;
@@ -211,7 +209,6 @@
* If {@code schema} was {@code null}.
*/
public final DecodeOptions setSchema(final Schema schema)
- throws NullPointerException
{
Validator.ensureNotNull(schema);
this.schemaResolver = new FixedSchemaResolver(schema);
@@ -233,7 +230,6 @@
* If {@code resolver} was {@code null}.
*/
public final DecodeOptions setSchemaResolver(final SchemaResolver resolver)
- throws NullPointerException
{
Validator.ensureNotNull(resolver);
this.schemaResolver = resolver;
--
Gitblit v1.10.0