From b48ce50fdf4d73e8be3799e3a7c6c2bf9d1b2965 Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Sun, 02 Sep 2007 17:58:07 +0000
Subject: [PATCH] fix for #1733 & #845 - Initialization of replication
---
opends/src/server/org/opends/server/replication/common/ServerState.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/common/ServerState.java b/opends/src/server/org/opends/server/replication/common/ServerState.java
index 048891a..530e914 100644
--- a/opends/src/server/org/opends/server/replication/common/ServerState.java
+++ b/opends/src/server/org/opends/server/replication/common/ServerState.java
@@ -41,7 +41,7 @@
/**
* ServerState class.
- * This object is used to store the last update seem on this server
+ * This object is used to store the last update seen on this server
* from each server.
* It is exchanged with the replication servers at connection establishment
* time.
@@ -204,7 +204,7 @@
*/
public ArrayList<ASN1OctetString> toASN1ArrayList()
{
- ArrayList<ASN1OctetString> values = new ArrayList<ASN1OctetString>();
+ ArrayList<ASN1OctetString> values = new ArrayList<ASN1OctetString>(0);
synchronized (this)
{
--
Gitblit v1.10.0