maven tells me i don't need these exception handlers ...
This commit is contained in:
parent
1d13db07c5
commit
8e413fa985
4 changed files with 52 additions and 14 deletions
|
@ -71,12 +71,7 @@ public class App {
|
|||
|
||||
|
||||
public static List<String> hydrateFromBytes(byte[] compressedBlob) {
|
||||
try {
|
||||
return Util.hydrateContentPackage(compressedBlob);
|
||||
} catch (PayloadException ex) {
|
||||
System.out.println(ex);
|
||||
}
|
||||
return null;
|
||||
return Util.hydrateContentPackage(compressedBlob);
|
||||
}
|
||||
|
||||
public static List<String> hydrateFromFile(String filename) {
|
||||
|
|
|
@ -98,14 +98,9 @@ public class Util {
|
|||
*
|
||||
* Rename it for tracking, and to be clear about what is happening
|
||||
*/
|
||||
public static List<String> hydrateContentPackage(byte[] compressedBlob)
|
||||
throws PayloadException {
|
||||
try {
|
||||
PathTree pt = new PathTree(compressedBlob);
|
||||
return pt.toList();
|
||||
} catch (Throwable t) {
|
||||
throw t;
|
||||
}
|
||||
public static List<String> hydrateContentPackage(byte[] compressedBlob) {
|
||||
PathTree pt = new PathTree(compressedBlob);
|
||||
return pt.toList();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue