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/ldif/LDIFEntryReader.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/LDIFEntryReader.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/LDIFEntryReader.java
index 3772797..00fd04a 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/LDIFEntryReader.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/LDIFEntryReader.java
@@ -23,7 +23,7 @@
  *
  *
  *      Copyright 2009-2010 Sun Microsystems, Inc.
- *      Portions copyright 2011 ForgeRock AS
+ *      Portions copyright 2011-2012 ForgeRock AS
  */
 
 package org.forgerock.opendj.ldif;
@@ -78,7 +78,6 @@
    *           If {@code ldifLines} was {@code null}.
    */
   public static Entry valueOfLDIFEntry(final String... ldifLines)
-      throws LocalizedIllegalArgumentException, NullPointerException
   {
     final LDIFEntryReader reader = new LDIFEntryReader(ldifLines);
     try
@@ -131,7 +130,7 @@
    * @throws NullPointerException
    *           If {@code in} was {@code null}.
    */
-  public LDIFEntryReader(final InputStream in) throws NullPointerException
+  public LDIFEntryReader(final InputStream in)
   {
     super(in);
   }
@@ -148,7 +147,6 @@
    *           If {@code ldifLines} was {@code null}.
    */
   public LDIFEntryReader(final List<String> ldifLines)
-      throws NullPointerException
   {
     super(ldifLines);
   }
@@ -164,7 +162,7 @@
    * @throws NullPointerException
    *           If {@code ldifLines} was {@code null}.
    */
-  public LDIFEntryReader(final String... ldifLines) throws NullPointerException
+  public LDIFEntryReader(final String... ldifLines)
   {
     super(Arrays.asList(ldifLines));
   }

--
Gitblit v1.10.0