(no commit message)
[utils] / support / general / src / test / java / org / wamblee / io / ClassPathResourceTest.java
index a955def6c11841d6072d6846e28d5f5b527809c6..37ab98a6a197f8adc801eb4d3bb9e833382d8326 100644 (file)
@@ -1,12 +1,12 @@
 /*
- * 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.
@@ -45,7 +45,7 @@ public class ClassPathResourceTest extends TestCase {
         try {
             ClassPathResource resource = new ClassPathResource(
                 "org/wamblee/io/myresource-nonexistent.txt");
-            InputStream is = resource.getInputStream();
+            resource.getInputStream();
         } catch (IOException e) {
             return; // ok
         }