Removed some warnings
This commit is contained in:
parent
a2b6be1f35
commit
2540df2959
3 changed files with 4 additions and 3 deletions
|
|
@ -39,7 +39,7 @@ public class TorrentTracker {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private void update() throws IOException {
|
public void update() throws IOException {
|
||||||
HttpClient request = HttpClient.GET();
|
HttpClient request = HttpClient.GET();
|
||||||
request.setURL( trackerURL );
|
request.setURL( trackerURL );
|
||||||
HttpHeaderParser response = request.send();
|
HttpHeaderParser response = request.send();
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ import zutil.image.filters.ResizeImage;
|
||||||
import zutil.image.filters.SobelEdgeDetectionFilter;
|
import zutil.image.filters.SobelEdgeDetectionFilter;
|
||||||
import zutil.image.filters.SpotLightFilter;
|
import zutil.image.filters.SpotLightFilter;
|
||||||
|
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings({ "unused", "rawtypes" })
|
||||||
public class ImageProcessorTest implements ProgressListener{
|
public class ImageProcessorTest implements ProgressListener{
|
||||||
private static String imgPath = "test.gif";
|
private static String imgPath = "test.gif";
|
||||||
//private static String imgPath = "test2.jpg";
|
//private static String imgPath = "test2.jpg";
|
||||||
|
|
@ -65,6 +65,7 @@ public class ImageProcessorTest implements ProgressListener{
|
||||||
new ImageProcessorTest();
|
new ImageProcessorTest();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
public ImageProcessorTest(){
|
public ImageProcessorTest(){
|
||||||
JFrame frame = getJFrame();
|
JFrame frame = getJFrame();
|
||||||
BufferedImage img = null;
|
BufferedImage img = null;
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<FORM id="AjaxFileUpload">
|
<FORM id="AjaxFileUpload">
|
||||||
<INPUT type="file" multiple name="file" />
|
<INPUT type="file" name="file" multiple/>
|
||||||
<INPUT type="submit" />
|
<INPUT type="submit" />
|
||||||
</FORM>
|
</FORM>
|
||||||
<UL id="UploadQueue">
|
<UL id="UploadQueue">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue