mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
13.07.2013 957bdd75d0f8e79cce835ab5092a43d64c17b02a
AttrHistoricalSingle.java:
In getValuesHistorical(), simplified the code by removing useless generics.
1 files modified
7 ■■■■ changed files
opends/src/server/org/opends/server/replication/plugin/AttrHistoricalSingle.java 7 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/plugin/AttrHistoricalSingle.java
@@ -79,15 +79,12 @@
  {
    if (addTime == null)
    {
      return Collections.<AttrValueHistorical,AttrValueHistorical>emptyMap();
      return Collections.emptyMap();
    }
    else
    {
      AttrValueHistorical val = new AttrValueHistorical(value, addTime, null);
      Map<AttrValueHistorical,AttrValueHistorical> values =
          Collections.<AttrValueHistorical,AttrValueHistorical>
          singletonMap(val, val);
      return values;
      return Collections.singletonMap(val, val);
    }
  }