projects
/
iotcloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changed way Guard works, Sped up code
[iotcloud.git]
/
version2
/
src
/
java
/
iotcloud
/
SlotBuffer.java
diff --git
a/version2/src/java/iotcloud/SlotBuffer.java
b/version2/src/java/iotcloud/SlotBuffer.java
index ba6c3de65037c9485ca16d43bd63d191ef8c717e..716d0f28cd14bc1d5b1f1dee6f497c666f4a5de9 100644
(file)
--- a/
version2/src/java/iotcloud/SlotBuffer.java
+++ b/
version2/src/java/iotcloud/SlotBuffer.java
@@
-33,6
+33,7
@@
class SlotBuffer {
void resize(int newsize) {
if (newsize == (array.length - 1))
return;
+
Slot[] newarray = new Slot[newsize + 1];
int currsize = size();
int index = tail;