diff options
author | Klaus Stranacher <kstranacher@iaik.tugraz.at> | 2014-03-09 21:04:57 +0100 |
---|---|---|
committer | Klaus Stranacher <kstranacher@iaik.tugraz.at> | 2014-03-09 21:04:57 +0100 |
commit | 6cc5cd2311c9e6cde062fa4034444969f9c293e0 (patch) | |
tree | d0bfb62113621ce726c78697fa291ccf42c89f31 /common/src/main/java/at/gv | |
parent | 5fa4dd6fd8955dd601375f81b992df26757f89e4 (diff) | |
download | moa-id-spss-6cc5cd2311c9e6cde062fa4034444969f9c293e0.tar.gz moa-id-spss-6cc5cd2311c9e6cde062fa4034444969f9c293e0.tar.bz2 moa-id-spss-6cc5cd2311c9e6cde062fa4034444969f9c293e0.zip |
POMs added to dependencies
maven-assembly-plugin version set to 2.2-beta-1 (for MOA-SPSS)
Update TSL parts
Diffstat (limited to 'common/src/main/java/at/gv')
-rw-r--r-- | common/src/main/java/at/gv/egovernment/moa/util/MiscUtil.java | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/common/src/main/java/at/gv/egovernment/moa/util/MiscUtil.java b/common/src/main/java/at/gv/egovernment/moa/util/MiscUtil.java index 043baea0e..c2f2c9f47 100644 --- a/common/src/main/java/at/gv/egovernment/moa/util/MiscUtil.java +++ b/common/src/main/java/at/gv/egovernment/moa/util/MiscUtil.java @@ -143,20 +143,20 @@ public class MiscUtil { return out.toByteArray(); } - public static Document parseDocument(InputStream inputStream) - throws IOException { - try { - DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory - .newInstance(); - docBuilderFactory.setNamespaceAware(true); - DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder(); - return docBuilder.parse(inputStream); - } catch (ParserConfigurationException e) { - throw new IOException(e); - } catch (SAXException e) { - throw new IOException(e); - } - } +// public static Document parseDocument(InputStream inputStream) +// throws IOException { +// try { +// DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory +// .newInstance(); +// docBuilderFactory.setNamespaceAware(true); +// DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder(); +// return docBuilder.parse(inputStream); +// } catch (ParserConfigurationException e) { +// throw new IOException(e); +// } catch (SAXException e) { +// throw new IOException(e); +// } +// } public static String removePrecedingSlash(String path, String slash) { assertNotEmpty(slash, "Shash"); |