X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=support%2Fgeneral%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fio%2FStreamResource.java;h=9aae3d32704c5a205c5b54d377b5f787a445403e;hb=96c8961955a306314dfe0cf9ca192252de39fc1c;hp=e3291aeb36be8df2a8917ca415c61a2659f7e444;hpb=a503959a4290a415cfe6f668a301e44b4dcde445;p=utils diff --git a/support/general/src/main/java/org/wamblee/io/StreamResource.java b/support/general/src/main/java/org/wamblee/io/StreamResource.java index e3291aeb..9aae3d32 100644 --- a/support/general/src/main/java/org/wamblee/io/StreamResource.java +++ b/support/general/src/main/java/org/wamblee/io/StreamResource.java @@ -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; } }