1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
diff -ru jisp-2.5.1/com/coyotegulch/jisp/SerialObjectOutputStream.java jisp-2.5.1-patched/com/coyotegulch/jisp/SerialObjectOutputStream.java
--- jisp-2.5.1/com/coyotegulch/jisp/SerialObjectOutputStream.java 2003-03-27 13:02:19.000000000 -0500
+++ jisp-2.5.1-patched/com/coyotegulch/jisp/SerialObjectOutputStream.java 2005-11-06 15:24:33.000000000 -0500
@@ -83,11 +83,11 @@
// Check if we have a list of m_buffers
if (m_buffers != null)
{
- Iterator enum = m_buffers.iterator();
+ Iterator i = m_buffers.iterator();
- while (enum.hasNext())
+ while (i.hasNext())
{
- byte[] bytes = (byte[]) enum.next();
+ byte[] bytes = (byte[]) i.next();
out.write(bytes, 0, m_blockSize);
}
}
@@ -101,10 +101,10 @@
// Check if we have a list of m_buffers
if (m_buffers != null)
{
- Iterator enum = m_buffers.iterator();
- while (enum.hasNext())
+ Iterator i = m_buffers.iterator();
+ while (i.hasNext())
{
- byte[] bytes = (byte[]) enum.next();
+ byte[] bytes = (byte[]) i.next();
out.write(bytes, 0, m_blockSize);
}
}
@@ -126,10 +126,10 @@
int pos = 0;
if (m_buffers != null)
{
- Iterator enum = m_buffers.iterator();
- while (enum.hasNext())
+ Iterator i = m_buffers.iterator();
+ while (i.hasNext())
{
- byte[] bytes = (byte[]) enum.next();
+ byte[] bytes = (byte[]) i.next();
System.arraycopy(bytes,0,data,pos,m_blockSize);
pos+=m_blockSize;
}
|