improve java dependency detection
This commit is contained in:
parent
5265160aa8
commit
4d45305650
8 changed files with 161 additions and 18 deletions
20
tests/samples/codefiles/java.java
Normal file
20
tests/samples/codefiles/java.java
Normal file
|
@ -0,0 +1,20 @@
|
|||
// Hello.java
|
||||
import java.io.*;
|
||||
import static java.lang.Math.*;
|
||||
import static com.googlecode.javacv.jna.highgui.cvReleaseCapture;
|
||||
import javax.servlet.*;
|
||||
import com.colorfulwolf.webcamapplet.gui.ImagePanel;
|
||||
import com.foobar.*;
|
||||
|
||||
public class Hello extends GenericServlet {
|
||||
public void service(final ServletRequest request, final ServletResponse response)
|
||||
throws ServletException, IOException {
|
||||
response.setContentType("text/html");
|
||||
final PrintWriter pw = response.getWriter();
|
||||
try {
|
||||
pw.println("Hello, world!");
|
||||
} finally {
|
||||
pw.close();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue