diff options
author | Mark Raynsford <[email protected]> | 2013-07-03 20:46:23 +0000 |
---|---|---|
committer | Mark Raynsford <[email protected]> | 2013-07-03 20:46:23 +0000 |
commit | 9afc340e1e81cec6fa6deda3fe548fd2fa1d8e5f (patch) | |
tree | 1edd169f74002ad0444ee8b3269358564fd8e961 /src/jogl/classes/jogamp/opengl/util/pngj/ProgressiveOutputStream.java | |
parent | 1455848398ccdfa89ec9f19379c5dcaed8198e28 (diff) | |
parent | de2905a6fce37e7caf69b148ef4cf7f347559530 (diff) |
Merge branch 'master' of ssh://jogamp.org/srv/scm/jogl into mark
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/util/pngj/ProgressiveOutputStream.java')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/util/pngj/ProgressiveOutputStream.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/jogl/classes/jogamp/opengl/util/pngj/ProgressiveOutputStream.java b/src/jogl/classes/jogamp/opengl/util/pngj/ProgressiveOutputStream.java index a5bad666c..4516a0886 100644 --- a/src/jogl/classes/jogamp/opengl/util/pngj/ProgressiveOutputStream.java +++ b/src/jogl/classes/jogamp/opengl/util/pngj/ProgressiveOutputStream.java @@ -4,7 +4,8 @@ import java.io.ByteArrayOutputStream; import java.io.IOException;
/**
- * stream that outputs to memory and allows to flush fragments every 'size' bytes to some other destination
+ * stream that outputs to memory and allows to flush fragments every 'size'
+ * bytes to some other destination
*/
abstract class ProgressiveOutputStream extends ByteArrayOutputStream {
private final int size;
@@ -50,8 +51,8 @@ abstract class ProgressiveOutputStream extends ByteArrayOutputStream { }
/**
- * if it's time to flush data (or if forced==true) calls abstract method flushBuffer() and cleans those bytes from
- * own buffer
+ * if it's time to flush data (or if forced==true) calls abstract method
+ * flushBuffer() and cleans those bytes from own buffer
*/
private final void checkFlushBuffer(boolean forced) {
while (forced || count >= size) {
|