From acaedb9d66cfab0329c49a9120938143b7c15487 Mon Sep 17 00:00:00 2001 From: jestin Date: Mon, 30 Dec 2002 13:07:11 +0000 Subject: use of the old Vector API and old System.getProperties in order to allow the classes to be compiled with a 1.1.7A jdk --- src/Ivy.java | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'src/Ivy.java') diff --git a/src/Ivy.java b/src/Ivy.java index 5c11066..b3f8bfb 100755 --- a/src/Ivy.java +++ b/src/Ivy.java @@ -22,6 +22,9 @@ import java.util.*; * * * CHANGELOG: + * 1.2.2: + * - added the String domains(String d) function, in order to display the + * domain list * 1.2.1: * - bus.start(null) now starts on DEFAULT_DOMAIN * - added the getDomains in order to correctly display the domain list @@ -332,7 +335,7 @@ public class Ivy implements Runnable { public Vector getIvyClients() { Vector v=new Vector(); for (Enumeration e=clients.elements();e.hasMoreElements();) { - v.add(e.nextElement()); + v.addElement(e.nextElement()); } return v; } @@ -378,10 +381,10 @@ public class Ivy implements Runnable { if (length!=0) while (true) { index=s.indexOf(separator,last); if (index==-1) { - v.add(s.substring(last,length)); + v.addElement(s.substring(last,length)); break; } else if (index