diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-03-20 13:46:11 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-03-20 13:46:11 +0100 |
commit | a81cea6b42fcc46ea1f1a6a2e263f1398464c638 (patch) | |
tree | 33539395ff60793f57d37ef4df41e80ae84e3c88 /common/src/main | |
parent | 97535aec057fa529c5e7bb16799e33831c1f5e87 (diff) | |
parent | fa1389bd2c34f5230afccbeb516cbcf7a17ba97f (diff) | |
download | moa-id-spss-a81cea6b42fcc46ea1f1a6a2e263f1398464c638.tar.gz moa-id-spss-a81cea6b42fcc46ea1f1a6a2e263f1398464c638.tar.bz2 moa-id-spss-a81cea6b42fcc46ea1f1a6a2e263f1398464c638.zip |
Merge remote-tracking branch 'remotes/origin/moa_spss_1.5.2' into moa2_0_tlenz
Diffstat (limited to 'common/src/main')
-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"); |