From 61dac86bceb9d727e1bd707982c41ab9467c6d5a Mon Sep 17 00:00:00 2001
From: Maxim Thomas <maxim.thomas@gmail.com>
Date: Mon, 03 Nov 2025 06:30:05 +0000
Subject: [PATCH] Switch from sun.security.x509 to Bouncy Castle API (#560)
---
opendj-server-legacy/src/test/java/org/opends/server/replication/service/FakeReplicationDomain.java | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/replication/service/FakeReplicationDomain.java b/opendj-server-legacy/src/test/java/org/opends/server/replication/service/FakeReplicationDomain.java
index 276b039..90589a2 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/replication/service/FakeReplicationDomain.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/replication/service/FakeReplicationDomain.java
@@ -13,6 +13,7 @@
*
* Copyright 2008-2010 Sun Microsystems, Inc.
* Portions Copyright 2013-2016 ForgeRock AS.
+ * Portions Copyright 2025 3A Systems LLC.
*/
package org.opends.server.replication.service;
@@ -42,8 +43,8 @@
private BlockingQueue<UpdateMsg> queue;
/** A string that will be exported should exportBackend be called. */
private String exportString;
- /** A StringBuilder that will be used to build a new String should the import be called. */
- private StringBuilder importString;
+ /** A StringBuffer that will be used to build a new String should the import be called. */
+ private StringBuffer importString;
private int exportedEntryCount;
private FakeReplicationDomain(DN baseDN, int serverID,
@@ -82,7 +83,7 @@
FakeReplicationDomain(DN baseDN, int serverID,
SortedSet<String> replicationServers, long heartbeatInterval,
- String exportString, StringBuilder importString, int exportedEntryCount)
+ String exportString, StringBuffer importString, int exportedEntryCount)
throws ConfigException
{
this(baseDN, serverID, replicationServers, 100, heartbeatInterval, 1);
--
Gitblit v1.10.0