projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
842ac27
)
fixed nanogoat bug
author
adam
<adam@megacz.com>
Wed, 10 Mar 2004 05:31:11 +0000
(
05:31
+0000)
committer
adam
<adam@megacz.com>
Wed, 10 Mar 2004 05:31:11 +0000
(
05:31
+0000)
darcs-hash:
20040310053111
-5007d-
313156d92bd4a32e9a399fd87f83657bde4a1aa6
.gz
src/org/ibex/util/NanoGoat.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/util/NanoGoat.java
b/src/org/ibex/util/NanoGoat.java
index
ab0e361
..
d4f8a81
100644
(file)
--- a/
src/org/ibex/util/NanoGoat.java
+++ b/
src/org/ibex/util/NanoGoat.java
@@
-53,6
+53,8
@@
public class NanoGoat {
NanoGoat bcp = new NanoGoat();
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
for(String s = br.readLine(); s != null; s = br.readLine()) {
+ s = s.trim();
+ if (s.length() == 0) continue;
try {
if (s.endsWith(".class")) {
bcp.visitJavaClass(repo.loadClass(s.substring(0, s.length() - 6)));