From 4e1e53b55e33592ff6e224a56cbcdef03e4b3e03 Mon Sep 17 00:00:00 2001 From: Laramie Crocker Date: Thu, 28 Oct 2010 22:33:08 +0000 Subject: [PATCH] NOJIRA: removed dead code --- .../services/client/CollectionSpaceClientUtils.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/services/client/src/main/java/org/collectionspace/services/client/CollectionSpaceClientUtils.java b/services/client/src/main/java/org/collectionspace/services/client/CollectionSpaceClientUtils.java index 2d41de9c4..c2236dfd4 100644 --- a/services/client/src/main/java/org/collectionspace/services/client/CollectionSpaceClientUtils.java +++ b/services/client/src/main/java/org/collectionspace/services/client/CollectionSpaceClientUtils.java @@ -212,11 +212,6 @@ public class CollectionSpaceClientUtils { */ static public Object getObjectFromFile(Class jaxbClass, String fileName) throws Exception { - - JAXBContext context = JAXBContext.newInstance(jaxbClass); - Unmarshaller unmarshaller = context.createUnmarshaller(); - //note: setting schema to null will turn validator off - unmarshaller.setSchema(null); ClassLoader tccl = Thread.currentThread().getContextClassLoader(); InputStream is = tccl.getResourceAsStream(fileName); return getObjectFromStream(jaxbClass, is); -- 2.47.3