diff --git a/.gitignore b/.gitignore
index d519faa..4fdf425 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
*~
.*.swp
+Session.vim
build/
dist/
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..d2a0673
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,47 @@
+
+ 4.0.0
+ org.redhat.trie
+ trie
+ 0.0.1-SNAPSHOT
+
+
+
+ junit
+ junit
+ 4.10
+ test
+
+
+ org.bouncycastle
+ bcprov-jdk16
+ 1.44
+
+
+
+
+
+
+ maven-compiler-plugin
+ 2.3.2
+
+ 1.6
+ 1.6
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 2.4
+
+
+
+ com.hashbangbash.trie.App
+
+
+
+
+
+
+
+
diff --git a/src/main/java/com/hashbangbash/trie/App.java b/src/main/java/com/hashbangbash/trie/App.java
index b95c073..c926157 100644
--- a/src/main/java/com/hashbangbash/trie/App.java
+++ b/src/main/java/com/hashbangbash/trie/App.java
@@ -71,12 +71,7 @@ public class App {
public static List hydrateFromBytes(byte[] compressedBlob) {
- try {
- return Util.hydrateContentPackage(compressedBlob);
- } catch (PayloadException ex) {
- System.out.println(ex);
- }
- return null;
+ return Util.hydrateContentPackage(compressedBlob);
}
public static List hydrateFromFile(String filename) {
diff --git a/src/main/java/com/redhat/trie/Util.java b/src/main/java/com/redhat/trie/Util.java
index 0e472f4..33e4081 100644
--- a/src/main/java/com/redhat/trie/Util.java
+++ b/src/main/java/com/redhat/trie/Util.java
@@ -98,14 +98,9 @@ public class Util {
*
* Rename it for tracking, and to be clear about what is happening
*/
- public static List hydrateContentPackage(byte[] compressedBlob)
- throws PayloadException {
- try {
- PathTree pt = new PathTree(compressedBlob);
- return pt.toList();
- } catch (Throwable t) {
- throw t;
- }
+ public static List hydrateContentPackage(byte[] compressedBlob) {
+ PathTree pt = new PathTree(compressedBlob);
+ return pt.toList();
}