From b8c6b80da1cb6118167a934daa480eb381c59e0e Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 08 Jul 2015 08:06:00 +0000
Subject: [PATCH] opendj-server-legacy maven module: Enabled "NeedBraces" checkstyle rule. This brings opendj-server-legacy's checkstyle rules closer to ForgeRock's checkstyle rules.

---
 opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/AttrHistorical.java |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/AttrHistorical.java b/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/AttrHistorical.java
index f851ab7..b01f014 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/AttrHistorical.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/AttrHistorical.java
@@ -23,6 +23,7 @@
  *
  *      Copyright 2006-2010 Sun Microsystems, Inc.
  *      Portions Copyright 2013-2014 ForgeRock, AS.
+ *      Portions Copyright 2015 ForgeRock AS.
  */
 package org.opends.server.replication.plugin;
 
@@ -81,10 +82,7 @@
   public static AttrHistorical createAttributeHistorical(
       AttributeType type)
   {
-    if (type.isSingleValue())
-      return new AttrHistoricalSingle();
-    else
-      return new AttrHistoricalMultiple();
+    return type.isSingleValue() ? new AttrHistoricalSingle() : new AttrHistoricalMultiple();
   }
 
   /**
@@ -92,8 +90,7 @@
    *
    * @return the List of ValueInfo
    */
-  public abstract Map<AttrValueHistorical,AttrValueHistorical>
-      getValuesHistorical();
+  public abstract Map<AttrValueHistorical, AttrValueHistorical> getValuesHistorical();
 
 
   /**

--
Gitblit v1.10.0