aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremusic <emina.music@egiz.gv.at>2018-09-03 16:02:01 +0200
committeremusic <emina.music@egiz.gv.at>2018-09-03 16:02:01 +0200
commite82984cb37027349aa009d0809a706f2f3ec7bf9 (patch)
tree3663fb268025c3b69ff5093a9a96a9e68fd26ec7
parent091b70d41a2a544277612d9f41b0d321f057b0f9 (diff)
downloadpdf-as-4-e82984cb37027349aa009d0809a706f2f3ec7bf9.tar.gz
pdf-as-4-e82984cb37027349aa009d0809a706f2f3ec7bf9.tar.bz2
pdf-as-4-e82984cb37027349aa009d0809a706f2f3ec7bf9.zip
"deleting unused code"
-rw-r--r--.gitignore4
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java9
2 files changed, 3 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index d61b2cb5..8b0de7ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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;