diff options
author | wisberg <wisberg> | 2003-06-30 22:43:38 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-06-30 22:43:38 +0000 |
commit | 2e3c9191a9cb753ff54cf20592dcd0ef14bfc83a (patch) | |
tree | b4cc55f95733dfcc387d71a4852846005fb1a56f /docs | |
parent | 9938d34703ff325101c170f3d8dbbcd43877b187 (diff) | |
download | aspectj-2e3c9191a9cb753ff54cf20592dcd0ef14bfc83a.tar.gz aspectj-2e3c9191a9cb753ff54cf20592dcd0ef14bfc83a.zip |
replacing 1.2 Vector API's with equivalent 1.1 API's to make telecom testable under 1.1
Diffstat (limited to 'docs')
-rw-r--r-- | docs/dist/doc/examples/telecom/Call.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dist/doc/examples/telecom/Call.java b/docs/dist/doc/examples/telecom/Call.java index 738d2d348..3d3489e86 100644 --- a/docs/dist/doc/examples/telecom/Call.java +++ b/docs/dist/doc/examples/telecom/Call.java @@ -42,7 +42,7 @@ public class Call { } else { c = new LongDistance(caller, receiver); } - connections.add(c); + connections.addElement(c); } /** @@ -90,7 +90,7 @@ public class Call { public void merge(Call other){ for(Enumeration e = other.connections.elements(); e.hasMoreElements();){ Connection conn = (Connection)e.nextElement(); - other.connections.remove(conn); + other.connections.removeElement(conn); connections.addElement(conn); } } |