X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=support%2Fgeneral%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fio%2FFileResourceTest.java;h=92b0c6449e1136a00d0d00ebab1cdf7a06c8c6a0;hb=96c8961955a306314dfe0cf9ca192252de39fc1c;hp=44dbb580b6a438993c31030a4c84b3c862573fdf;hpb=539c6d91b7a34e32c6669445d00e9275c337530a;p=utils diff --git a/support/general/src/test/java/org/wamblee/io/FileResourceTest.java b/support/general/src/test/java/org/wamblee/io/FileResourceTest.java index 44dbb580..92b0c644 100644 --- a/support/general/src/test/java/org/wamblee/io/FileResourceTest.java +++ b/support/general/src/test/java/org/wamblee/io/FileResourceTest.java @@ -1,18 +1,18 @@ /* - * Copyright 2005 the original author or authors. - * + * Copyright 2005-2010 the original author or authors. + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * 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 junit.framework.TestCase; @@ -48,7 +48,7 @@ public class FileResourceTest extends TestCase { FileResource resource = new FileResource(new File(FileSystemUtils .getTestInputDir(FileResourceTest.class), "myresource-nonexistent.txt")); - InputStream is = resource.getInputStream(); + resource.getInputStream(); } catch (IOException e) { return; // ok }