From 61b9eb1be03fc03a9f4bb0013a08ff44a1059503 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Apr 2016 14:25:46 +0000
Subject: [PATCH] opendj-server-legacy: added @Override + Autorefactor'ed comments

---
 opendj-server-legacy/src/main/java/org/opends/server/tools/makeldif/MakeLDIFInputStream.java |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/tools/makeldif/MakeLDIFInputStream.java b/opendj-server-legacy/src/main/java/org/opends/server/tools/makeldif/MakeLDIFInputStream.java
index e81ebc1..ddcb82d 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/tools/makeldif/MakeLDIFInputStream.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/tools/makeldif/MakeLDIFInputStream.java
@@ -12,7 +12,7 @@
  * information: "Portions Copyright [year] [name of copyright owner]".
  *
  * Copyright 2006-2009 Sun Microsystems, Inc.
- * Portions Copyright 2015 ForgeRock AS.
+ * Portions Copyright 2015-2016 ForgeRock AS.
  */
 package org.opends.server.tools.makeldif;
 
@@ -53,10 +53,7 @@
    */
   private ByteArrayOutputStream entryOutputStream;
 
-  /**
-   * The byte array that will hold the LDIF representation of the next entry to
-   * be read.
-   */
+  /** The byte array that will hold the LDIF representation of the next entry to be read. */
   private ByteBuffer entryBytes;
 
   /** The IOException that should be thrown the next time a read is requested. */
@@ -111,9 +108,8 @@
 
 
 
-  /**
-   * Closes this input stream so that no more data may be read from it.
-   */
+  /** Closes this input stream so that no more data may be read from it. */
+  @Override
   public void close()
   {
     closed      = true;
@@ -131,6 +127,7 @@
    * @throws  IOException  If a problem has occurred while generating data for
    *                       use by this input stream.
    */
+  @Override
   public int read()
          throws IOException
   {
@@ -170,6 +167,7 @@
    * @throws  IOException  If a problem has occurred while generating data for
    *                       use by this input stream.
    */
+  @Override
   public int read(byte[] b, int off, int len)
          throws IOException
   {
@@ -196,7 +194,7 @@
 
 
 
-  /** {@inheritDoc} */
+  @Override
   public boolean writeEntry(TemplateEntry entry)
          throws IOException, MakeLDIFException
   {
@@ -216,7 +214,7 @@
 
 
 
-  /** {@inheritDoc} */
+  @Override
   public void closeEntryWriter()
   {
     allGenerated = true;

--
Gitblit v1.10.0