incubator-droids-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r1444757 - in /incubator/droids/branches/0.2.x-cleanup: droids-core/src/test/java/org/apache/droids/core/SimpleTask.java droids-walker/src/main/java/org/apache/droids/walker/FileTask.java
Date Mon, 11 Feb 2013 13:19:01 GMT
Author: thorsten
Date: Mon Feb 11 13:19:01 2013
New Revision: 1444757

URL: http://svn.apache.org/r1444757
Log:
Organising imports and supress warning

Modified:
    incubator/droids/branches/0.2.x-cleanup/droids-core/src/test/java/org/apache/droids/core/SimpleTask.java
    incubator/droids/branches/0.2.x-cleanup/droids-walker/src/main/java/org/apache/droids/walker/FileTask.java

Modified: incubator/droids/branches/0.2.x-cleanup/droids-core/src/test/java/org/apache/droids/core/SimpleTask.java
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-core/src/test/java/org/apache/droids/core/SimpleTask.java?rev=1444757&r1=1444756&r2=1444757&view=diff
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-core/src/test/java/org/apache/droids/core/SimpleTask.java
(original)
+++ incubator/droids/branches/0.2.x-cleanup/droids-core/src/test/java/org/apache/droids/core/SimpleTask.java
Mon Feb 11 13:19:01 2013
@@ -1,7 +1,5 @@
 package org.apache.droids.core;
 
-import java.io.IOException;
-import java.io.InputStream;
 import java.net.URI;
 import java.util.Date;
 
@@ -50,6 +48,7 @@ public class SimpleTask implements Task 
         return this.aborted;
     }
 
+    @SuppressWarnings("unchecked")
     @Override
     public Task createTask(URI uri) {
         return new SimpleTask(uri, this.getDepth());

Modified: incubator/droids/branches/0.2.x-cleanup/droids-walker/src/main/java/org/apache/droids/walker/FileTask.java
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-walker/src/main/java/org/apache/droids/walker/FileTask.java?rev=1444757&r1=1444756&r2=1444757&view=diff
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-walker/src/main/java/org/apache/droids/walker/FileTask.java
(original)
+++ incubator/droids/branches/0.2.x-cleanup/droids-walker/src/main/java/org/apache/droids/walker/FileTask.java
Mon Feb 11 13:19:01 2013
@@ -16,11 +16,7 @@
  */
 package org.apache.droids.walker;
 
-import java.io.BufferedInputStream;
 import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.InputStream;
 import java.net.URI;
 import java.util.Date;
 
@@ -89,6 +85,7 @@ public class FileTask implements Task {
         return aborted;
     }
 
+    @SuppressWarnings("unchecked")
     @Override
     public Task createTask(URI uri) {
         return new FileTask(new File(uri), this.depth);



Mime
View raw message