From 1b9c8d3c789003033b47e2649b3b24b134bf5ab0 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 01 Oct 2012 12:54:15 +0000
Subject: [PATCH] Fix compiler warnings in IDE.

---
 opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldif/LDIFEntryReaderTestCase.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldif/LDIFEntryReaderTestCase.java b/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldif/LDIFEntryReaderTestCase.java
index 9049135..6fc4e5c 100644
--- a/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldif/LDIFEntryReaderTestCase.java
+++ b/opendj3/opendj-ldap-sdk/src/test/java/org/forgerock/opendj/ldif/LDIFEntryReaderTestCase.java
@@ -60,6 +60,7 @@
 /**
  * This class tests the LDIFEntryReader functionality.
  */
+@SuppressWarnings("javadoc")
 public final class LDIFEntryReaderTestCase extends LDIFTestCase {
     /**
      * Provide a standard entry for the tests below.
@@ -1514,8 +1515,7 @@
      */
     @Test(expectedExceptions = NullPointerException.class)
     public void testLDIFEntryReaderInpuStreamDoesntAllowNull() throws Exception {
-        final InputStream is = null;
-        LDIFEntryReader reader = new LDIFEntryReader(is);
+        new LDIFEntryReader((InputStream) null);
     }
 
     /**
@@ -1548,7 +1548,7 @@
     public void testValueOfLDIFEntryMultipleChangeRecordFound() throws Exception {
 
         // @formatter:off
-        final Entry entry = LDIFEntryReader.valueOfLDIFEntry(
+        LDIFEntryReader.valueOfLDIFEntry(
             "#This is an example test",
             "dn: CN=John Smith,OU=Legal,DC=example,DC=com",
             "changetype: modify",

--
Gitblit v1.10.0