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/api/ProtocolElement.java | 25 +++----------------------
1 files changed, 3 insertions(+), 22 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/api/ProtocolElement.java b/opendj-server-legacy/src/main/java/org/opends/server/api/ProtocolElement.java
index 2d37c69..287821b 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/api/ProtocolElement.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/api/ProtocolElement.java
@@ -12,12 +12,10 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2006-2008 Sun Microsystems, Inc.
- * Portions Copyright 2015 ForgeRock AS.
+ * Portions Copyright 2015-2016 ForgeRock AS.
*/
package org.opends.server.api;
-
-
/**
* This interface defines a set of methods that must be implemented by
* any class that forms the basis for a protocol element (e.g., an
@@ -25,31 +23,17 @@
*/
@org.opends.server.types.PublicAPI(
stability=org.opends.server.types.StabilityLevel.VOLATILE,
- mayInstantiate=false,
mayExtend=true,
mayInvoke=true)
public interface ProtocolElement
{
/**
- * Retrieves the name of the protocol associated with this protocol
- * element.
+ * Retrieves the name of the protocol associated with this protocol element.
*
- * @return The name of the protocol associated with this protocol
- * element.
+ * @return The name of the protocol associated with this protocol element.
*/
String getProtocolElementName();
-
-
- /**
- * Retrieves a string representation of this protocol element.
- *
- * @return A string representation of this protocol element.
- */
- String toString();
-
-
-
/**
* Appends a string representation of this protocol element to the
* provided buffer.
@@ -59,8 +43,6 @@
*/
void toString(StringBuilder buffer);
-
-
/**
* Appends a string representation of this protocol element to the
* provided buffer.
@@ -72,4 +54,3 @@
*/
void toString(StringBuilder buffer, int indent);
}
-
--
Gitblit v1.10.0