diff options
author | emusic <emina.music@egiz.gv.at> | 2018-09-03 16:02:01 +0200 |
---|---|---|
committer | emusic <emina.music@egiz.gv.at> | 2018-09-03 16:02:01 +0200 |
commit | e82984cb37027349aa009d0809a706f2f3ec7bf9 (patch) | |
tree | 3663fb268025c3b69ff5093a9a96a9e68fd26ec7 | |
parent | 091b70d41a2a544277612d9f41b0d321f057b0f9 (diff) | |
download | pdf-as-4-e82984cb37027349aa009d0809a706f2f3ec7bf9.tar.gz pdf-as-4-e82984cb37027349aa009d0809a706f2f3ec7bf9.tar.bz2 pdf-as-4-e82984cb37027349aa009d0809a706f2f3ec7bf9.zip |
"deleting unused code"
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java | 9 |
2 files changed, 3 insertions, 10 deletions
@@ -47,4 +47,6 @@ local.properties # PDT-specific .buildpath -/PDF-AS/.nb-gradle/
\ No newline at end of file +/PDF-AS/.nb-gradle/ + +.idea/*
\ No newline at end of file diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java index bc773ec8..a8d3b1a2 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java @@ -24,10 +24,6 @@ package at.gv.egiz.pdfas.web.servlets; import java.io.*; -import java.nio.charset.StandardCharsets; -import java.nio.file.Files; -import java.nio.file.Path; -import java.security.SecureRandom; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; @@ -35,11 +31,6 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import at.gv.egiz.pdfas.web.config.WebConfiguration; -import org.apache.commons.io.FileUtils; -import org.apache.commons.io.IOUtils; -import org.apache.pdfbox.pdmodel.PDDocument; -import org.apache.pdfbox.pdmodel.encryption.AccessPermission; -import org.apache.pdfbox.pdmodel.encryption.StandardProtectionPolicy; import org.slf4j.Logger; import org.slf4j.LoggerFactory; |