Update java middleware to not use apache commons

This commit is contained in:
Leonid Bugaev
2016-05-02 16:31:38 +05:00
parent bb0fab4d35
commit 5779ea1b45
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -10,9 +10,6 @@ RUN apt-get update -y
RUN echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections RUN echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
RUN apt-get install oracle-java8-installer -y RUN apt-get install oracle-java8-installer -y
RUN wget http://apache-mirror.rbc.ru/pub/apache//commons/io/binaries/commons-io-2.4-bin.tar.gz -P /tmp
RUN tar xzf /tmp/commons-io-2.4-bin.tar.gz -C /tmp
RUN apt-get install libpcap-dev -y RUN apt-get install libpcap-dev -y
RUN go get github.com/google/gopacket RUN go get github.com/google/gopacket
RUN go get -u github.com/golang/lint/golint RUN go get -u github.com/golang/lint/golint
-3
View File
@@ -2,8 +2,6 @@ import java.io.BufferedReader;
import java.io.IOException; import java.io.IOException;
import java.io.InputStreamReader; import java.io.InputStreamReader;
import org.apache.commons.io.IOUtils;
public class echo { public class echo {
public static void main(String[] args) { public static void main(String[] args) {
if(args != null){ if(args != null){
@@ -24,7 +22,6 @@ public class echo {
} }
} catch (IOException e) { } catch (IOException e) {
IOUtils.closeQuietly(stdin);
} }
} }
} }