(no commit message)
[utils] / support / general / src / main / java / org / wamblee / io / StreamResource.java
index e3291aeb36be8df2a8917ca415c61a2659f7e444..00c2f08b5c04497891333e881172763428dbd62b 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.
@@ -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;
     }
 }