(no commit message)
[utils] / support / src / org / wamblee / io / FileResource.java
index 63ac27e6f49f28fe004eb1c2cd9520e1500c7c23..ee43f72f9d4190bf33b865a9e2a4518d8e16418f 100644 (file)
@@ -12,7 +12,7 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.wamblee.io;
 
 import java.io.BufferedInputStream;
@@ -21,8 +21,6 @@ import java.io.FileInputStream;
 import java.io.IOException;
 import java.io.InputStream;
 
-
-
 /**
  * Resource implemention for reading from a file.
  */
@@ -34,16 +32,20 @@ public class FileResource implements InputResource {
 
     /**
      * Constructs the resource.
-     * @param aFile File to read. 
+     * 
+     * @param aFile
+     *            File to read.
      */
-    public FileResource( File aFile ) {
+    public FileResource(File aFile) {
         _file = aFile;
     }
 
-    /** (non-Javadoc)
+    /*
+     * (non-Javadoc)
+     * 
      * @see org.wamblee.io.InputResource#getInputStream()
      */
-    public InputStream getInputStream(  ) throws IOException {
-        return new BufferedInputStream( new FileInputStream( _file ) );
+    public InputStream getInputStream() throws IOException {
+        return new BufferedInputStream(new FileInputStream(_file));
     }
 }