projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9ab0613
)
oops this is the right one
author
jihoonl
<jihoonl>
Sat, 7 Nov 2009 00:17:25 +0000
(
00:17
+0000)
committer
jihoonl
<jihoonl>
Sat, 7 Nov 2009 00:17:25 +0000
(
00:17
+0000)
Robust/src/Benchmarks/Distributed/SpamFilter/Mail.java
patch
|
blob
|
history
diff --git
a/Robust/src/Benchmarks/Distributed/SpamFilter/Mail.java
b/Robust/src/Benchmarks/Distributed/SpamFilter/Mail.java
index a75e496cee1b52e75da59c02abcaadc4c5b9fbab..98890c41f748d8b76f0f689f78fc7be90ccd52d7 100644
(file)
--- a/
Robust/src/Benchmarks/Distributed/SpamFilter/Mail.java
+++ b/
Robust/src/Benchmarks/Distributed/SpamFilter/Mail.java
@@
-70,11
+70,11
@@
public class Mail {
body = new String();
- byte
readBody[100
000000];
+ byte
[] readBody = new byte[1
000000];
- while((fileinput.read
Byte(readBody)!= EOF
)
+ while((fileinput.read
(readBody)!= -1)
)
{
- body
+= new String(readBody
);
+ body
.concat(new String(readBody)
);
}
fileinput.close();