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/protocols/ldap/LDAPModification.java | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/LDAPModification.java b/opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/LDAPModification.java
index 6177150..ffc8fc7 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/LDAPModification.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/LDAPModification.java
@@ -12,7 +12,7 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2006-2008 Sun Microsystems, Inc.
- * Portions Copyright 2014-2015 ForgeRock AS.
+ * Portions Copyright 2014-2016 ForgeRock AS.
*/
package org.opends.server.protocols.ldap;
@@ -60,6 +60,7 @@
*
* @return The modification type for this modification.
*/
+ @Override
public ModificationType getModificationType()
{
return modificationType;
@@ -72,6 +73,7 @@
*
* @param modificationType The modification type for this modification.
*/
+ @Override
public void setModificationType(ModificationType modificationType)
{
this.modificationType = modificationType;
@@ -84,6 +86,7 @@
*
* @return The attribute for this modification.
*/
+ @Override
public RawAttribute getAttribute()
{
return attribute;
@@ -96,6 +99,7 @@
*
* @param attribute The attribute for this modification.
*/
+ @Override
public void setAttribute(RawAttribute attribute)
{
this.attribute = attribute;
@@ -112,6 +116,7 @@
* @throws LDAPException If a problem occurs while trying to convert the
* LDAP attribute to a core <CODE>Attribute</CODE>.
*/
+ @Override
public Modification toModification()
throws LDAPException
{
@@ -125,6 +130,7 @@
*
* @return A string representation of this modification.
*/
+ @Override
public String toString()
{
StringBuilder buffer = new StringBuilder();
@@ -140,6 +146,7 @@
*
* @param buffer The buffer to which the information should be appended.
*/
+ @Override
public void toString(StringBuilder buffer)
{
buffer.append("LDAPModification(type=").append(modificationType);
@@ -158,6 +165,7 @@
* @param indent The number of spaces from the margin that the lines should
* be indented.
*/
+ @Override
public void toString(StringBuilder buffer, int indent)
{
StringBuilder indentBuf = new StringBuilder(indent);
--
Gitblit v1.10.0