copyright messages updated in all java filees.
[utils] / support / general / src / main / java / org / wamblee / io / StreamResource.java
index e3291aeb36be8df2a8917ca415c61a2659f7e444..9aae3d32704c5a205c5b54d377b5f787a445403e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -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.IOException;
@@ -20,14 +20,14 @@ import java.io.InputStream;
 
 /**
  * Input resource based on an input stream.
- *
+ * 
  * @author Erik Brakkee
  */
 public class StreamResource implements InputResource {
     /**
      * Input stream to read.
      */
-    private InputStream _stream;
+    private InputStream stream;
 
     /**
      * Constructs a resource.
@@ -36,7 +36,7 @@ public class StreamResource implements InputResource {
      *            Input stream to read.
      */
     public StreamResource(InputStream aStream) {
-        _stream = aStream;
+        stream = aStream;
     }
 
     /*
@@ -45,6 +45,6 @@ public class StreamResource implements InputResource {
      * @see InputResource#getInputStream()
      */
     public InputStream getInputStream() throws IOException {
-        return _stream;
+        return stream;
     }
 }