From acb937f4a9fe1b9adb55f1e63c95e38d33484f4f Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 23 Dec 2013 20:53:04 +0000
Subject: [PATCH] Fix IDE warnings.

---
 opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/LDIF.java                      |    4 ++--
 opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/TemplateFile.java              |    8 --------
 opendj-sdk/opendj-core/src/test/java/org/forgerock/opendj/ldap/requests/RequestsTestCase.java |    8 +-------
 3 files changed, 3 insertions(+), 17 deletions(-)

diff --git a/opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/LDIF.java b/opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/LDIF.java
index e0f66db..fbfe537 100644
--- a/opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/LDIF.java
+++ b/opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/LDIF.java
@@ -286,7 +286,7 @@
      *             if the entry could not be decoded using the default schema.
      * @throws NullPointerException
      *             If {@code ldifLines} was {@code null}.
-     * @see {@code LDIF#makeEntry(String...)}
+     * @see LDIF#makeEntry(String...)
      */
     public static Entry makeEntry(List<String> ldifLines) {
         return makeEntry(ldifLines.toArray(new String[ldifLines.size()]));
@@ -356,7 +356,7 @@
      *             decoded using the default schema.
      * @throws NullPointerException
      *             If {@code ldifLines} was {@code null}.
-     * @see {@code LDIF#makeEntries(String...)}
+     * @see LDIF#makeEntries(String...)
      */
     public static List<Entry> makeEntries(List<String> ldifLines) {
         return makeEntries(ldifLines.toArray(new String[ldifLines.size()]));
diff --git a/opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/TemplateFile.java b/opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/TemplateFile.java
index 4ca31ae..1971508 100644
--- a/opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/TemplateFile.java
+++ b/opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/TemplateFile.java
@@ -732,12 +732,6 @@
      *            template lines appears.
      * @param templateLines
      *            The set of lines containing the template definition.
-     * @param tags
-     *            The set of defined tags from the template file. Note that this
-     *            does not include the tags that are always registered by
-     *            default.
-     * @param definedTemplates
-     *            The set of templates already defined in the template file.
      * @param warnings
      *            A list into which any warnings identified may be placed.
      * @return The decoded template definition.
@@ -1237,8 +1231,6 @@
      * <p>
      * Use {@code readFile()} method to avoid caching.
      *
-     * @param label
-     *            Label used as identifier to cache the line read.
      * @param reader
      *            Reader to parse for lines.
      * @return a list of lines
diff --git a/opendj-sdk/opendj-core/src/test/java/org/forgerock/opendj/ldap/requests/RequestsTestCase.java b/opendj-sdk/opendj-core/src/test/java/org/forgerock/opendj/ldap/requests/RequestsTestCase.java
index 56170d9..8bddca8 100644
--- a/opendj-sdk/opendj-core/src/test/java/org/forgerock/opendj/ldap/requests/RequestsTestCase.java
+++ b/opendj-sdk/opendj-core/src/test/java/org/forgerock/opendj/ldap/requests/RequestsTestCase.java
@@ -102,14 +102,8 @@
      */
     protected abstract Request unmodifiableOf(final Request original);
 
-    /**
-     * Request data to be validated.
-     *
-     * @return An array of requests.
-     * @throws Exception
-     */
     @DataProvider(name = "createModifiableInstance")
-    Object[][] createModifiableInstance() throws Exception {
+    final Object[][] createModifiableInstance() throws Exception {
         final Request[] requestArray = newInstance();
         final Object[][] objectArray = new Object[requestArray.length][1];
 

--
Gitblit v1.10.0