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/extensions/SASLByteChannel.java |   38 +-------------------------------------
 1 files changed, 1 insertions(+), 37 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/extensions/SASLByteChannel.java b/opendj-server-legacy/src/main/java/org/opends/server/extensions/SASLByteChannel.java
index 59e2e6d..3071051 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/extensions/SASLByteChannel.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/extensions/SASLByteChannel.java
@@ -12,7 +12,7 @@
  * information: "Portions Copyright [year] [name of copyright owner]".
  *
  * Copyright 2008-2009 Sun Microsystems, Inc.
- * Portions Copyright 2012-2015 ForgeRock AS.
+ * Portions Copyright 2012-2016 ForgeRock AS.
  */
 package org.opends.server.extensions;
 
@@ -29,12 +29,9 @@
  */
 public final class SASLByteChannel implements ConnectionSecurityProvider
 {
-
   /** Private implementation. */
   private final class ByteChannelImpl implements ByteChannel
   {
-
-    /** {@inheritDoc} */
     @Override
     public void close() throws IOException
     {
@@ -48,18 +45,12 @@
       }
     }
 
-
-
-    /** {@inheritDoc} */
     @Override
     public boolean isOpen()
     {
       return saslContext != null;
     }
 
-
-
-    /** {@inheritDoc} */
     @Override
     public int read(final ByteBuffer unwrappedData) throws IOException
     {
@@ -97,9 +88,6 @@
       }
     }
 
-
-
-    /** {@inheritDoc} */
     @Override
     public int write(final ByteBuffer unwrappedData) throws IOException
     {
@@ -154,8 +142,6 @@
       return bytesWritten;
     }
 
-
-
     /** Attempt to read and unwrap the next SASL packet. */
     private int doRecvAndUnwrap() throws IOException
     {
@@ -240,8 +226,6 @@
     }
   }
 
-
-
   /**
    * Return a SASL byte channel instance created using the specified parameters.
    *
@@ -259,8 +243,6 @@
     return new SASLByteChannel(c, name, context);
   }
 
-
-
   private final String name;
   private final ByteChannel channel;
   private final ByteChannelImpl pimpl = new ByteChannelImpl();
@@ -279,8 +261,6 @@
   private final Object readLock = new Object();
   private final Object writeLock = new Object();
 
-
-
   /**
    * Create a SASL byte channel with the specified parameters that is capable of
    * processing a confidentiality/integrity SASL connection.
@@ -308,49 +288,33 @@
     sendWrappedBuffer = ByteBuffer.allocate(sendUnwrappedBufferSize + 64);
   }
 
-
-
-  /** {@inheritDoc} */
   @Override
   public ByteChannel getChannel()
   {
     return pimpl;
   }
 
-
-
-  /** {@inheritDoc} */
   @Override
   public Certificate[] getClientCertificateChain()
   {
     return new Certificate[0];
   }
 
-
-
-  /** {@inheritDoc} */
   @Override
   public String getName()
   {
     return name;
   }
 
-
-
-  /** {@inheritDoc} */
   @Override
   public int getSSF()
   {
     return saslContext.getSSF();
   }
 
-
-
-  /** {@inheritDoc} */
   @Override
   public boolean isSecure()
   {
     return true;
   }
-
 }

--
Gitblit v1.10.0