Skip to content

Commit

Permalink
Update java middleware to not use apache commons
Browse files Browse the repository at this point in the history
  • Loading branch information
buger committed May 2, 2016
1 parent bb0fab4 commit 5779ea1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 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 go get github.com/google/gopacket
RUN go get -u github.com/golang/lint/golint
Expand Down
3 changes: 0 additions & 3 deletions examples/middleware/echo.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import java.io.IOException;
import java.io.InputStreamReader;

import org.apache.commons.io.IOUtils;

public class echo {
public static void main(String[] args) {
if(args != null){
Expand All @@ -24,7 +22,6 @@ public static void main(String[] args) {

}
} catch (IOException e) {
IOUtils.closeQuietly(stdin);
}
}
}

0 comments on commit 5779ea1

Please sign in to comment.