projects
/
org.ibex.util.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix ThreadPool bug
[org.ibex.util.git]
/
src
/
org
/
ibex
/
util
/
GetDep.java
diff --git
a/src/org/ibex/util/GetDep.java
b/src/org/ibex/util/GetDep.java
index
9e0e67a
..
135dd8b
100644
(file)
--- a/
src/org/ibex/util/GetDep.java
+++ b/
src/org/ibex/util/GetDep.java
@@
-44,7
+44,7
@@
public final class GetDep {
if (ze == null) break;
if (ze.getName().equals(path)) return zis;
}
if (ze == null) break;
if (ze.getName().equals(path)) return zis;
}
- return null;
+ throw new RuntimeException("could not find file within archive");
} else {
Tar.TarInputStream tis = new Tar.TarInputStream(new GZIPInputStream(rest));
while(true) {
} else {
Tar.TarInputStream tis = new Tar.TarInputStream(new GZIPInputStream(rest));
while(true) {
@@
-52,7
+52,7
@@
public final class GetDep {
if (te == null) break;
if (te.getName().equals(path)) return tis;
}
if (te == null) break;
if (te.getName().equals(path)) return tis;
}
- return null;
+ throw new RuntimeException("could not find file within archive");
}
} else {
URL u = new URL(url);
}
} else {
URL u = new URL(url);