projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2003/06/10 21:45:36
[org.ibex.core.git]
/
src
/
org
/
xwt
/
util
/
Vec.java
diff --git
a/src/org/xwt/util/Vec.java
b/src/org/xwt/util/Vec.java
index
be5c2af
..
23f196f
100644
(file)
--- a/
src/org/xwt/util/Vec.java
+++ b/
src/org/xwt/util/Vec.java
@@
-62,7
+62,7
@@
public final class Vec implements Serializable {
public void push(Object o) { addElement(o); }
public Object pop() {
Object ret = lastElement();
- store[size--] = null;
+ if (size > 0) store[size--] = null;
return ret;
}