From b562bb7b23759b1ba50c4618eb35010054965226 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 21 Apr 2016 14:06:47 +0000
Subject: [PATCH] Fix warnings during build

---
 opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ControlPanelArgumentParser.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ControlPanelArgumentParser.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ControlPanelArgumentParser.java
index 263ba38..729dde6 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ControlPanelArgumentParser.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ControlPanelArgumentParser.java
@@ -218,10 +218,10 @@
    * must be called after parsing the arguments.
    * @return the timeout to be used to connect in milliseconds.  Returns
    * {@code 0} if there is no timeout.
-   * @throw {@code IllegalStateException} if the method is called before
+   * @throws IllegalStateException if the method is called before
    * parsing the arguments.
    */
-  public int getConnectTimeout()
+  public int getConnectTimeout() throws IllegalStateException
   {
     try
     {

--
Gitblit v1.10.0