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/com/forgerock/opendj/util/StaticUtils.java |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/util/StaticUtils.java b/opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/util/StaticUtils.java
index cbd42f0..6edb99e 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/util/StaticUtils.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/util/StaticUtils.java
@@ -23,7 +23,7 @@
  *
  *
  *      Copyright 2009-2010 Sun Microsystems, Inc.
- *      Portions copyright 2011 ForgeRock AS
+ *      Portions copyright 2011-2012 ForgeRock AS
  */
 
 package com.forgerock.opendj.util;
@@ -1254,7 +1254,6 @@
    *           If {@code date} was {@code null}.
    */
   public static String formatAsGeneralizedTime(final Date date)
-      throws NullPointerException
   {
     return formatAsGeneralizedTime(date.getTime());
   }
@@ -1273,7 +1272,6 @@
    *           If {@code date} was invalid.
    */
   public static String formatAsGeneralizedTime(final long date)
-      throws IllegalArgumentException
   {
     // Generalized time has the format yyyyMMddHHmmss.SSS'Z'
 
@@ -1807,7 +1805,6 @@
    *           If {@code c} or {@code separator} were {@code null}.
    */
   public static String joinCollection(Collection<?> c, String separator)
-      throws NullPointerException
   {
     Validator.ensureNotNull(c, separator);
 

--
Gitblit v1.10.0