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/controls/VLVRequestControl.java | 21 +++++++--------------
1 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/controls/VLVRequestControl.java b/opendj-server-legacy/src/main/java/org/opends/server/controls/VLVRequestControl.java
index 2957fc7..341d1aa 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/controls/VLVRequestControl.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/controls/VLVRequestControl.java
@@ -12,7 +12,7 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2008 Sun Microsystems, Inc.
- * Portions Copyright 2014-2015 ForgeRock AS.
+ * Portions Copyright 2014-2016 ForgeRock AS.
*/
package org.opends.server.controls;
import org.forgerock.i18n.LocalizableMessage;
@@ -52,13 +52,11 @@
public class VLVRequestControl
extends Control
{
- /**
- * ControlDecoder implementation to decode this control from a ByteString.
- */
+ /** ControlDecoder implementation to decode this control from a ByteString. */
private static final class Decoder
implements ControlDecoder<VLVRequestControl>
{
- /** {@inheritDoc} */
+ @Override
public VLVRequestControl decode(boolean isCritical, ByteString value)
throws DirectoryException
{
@@ -126,6 +124,7 @@
}
}
+ @Override
public String getOID()
{
return OID_VLV_REQUEST_CONTROL;
@@ -133,22 +132,16 @@
}
- /**
- * The Control Decoder that can be used to decode this control.
- */
+ /** The Control Decoder that can be used to decode this control. */
public static final ControlDecoder<VLVRequestControl> DECODER =
new Decoder();
- /**
- * The BER type to use when encoding the byOffset target element.
- */
+ /** The BER type to use when encoding the byOffset target element. */
public static final byte TYPE_TARGET_BYOFFSET = (byte) 0xA0;
- /**
- * The BER type to use when encoding the greaterThanOrEqual target element.
- */
+ /** The BER type to use when encoding the greaterThanOrEqual target element. */
public static final byte TYPE_TARGET_GREATERTHANOREQUAL = (byte) 0x81;
--
Gitblit v1.10.0