public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: mark@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Remove outStream from FlowControlWriter. Date: Sat, 01 Mar 2008 19:26:00 -0000 [thread overview] Message-ID: <20080301192635.5962.qmail@sourceware.org> (raw) The branch, master has been updated via beb160770d5b41afd0f2dcf839c11a1a8d16b5e1 (commit) from 2f59fef898b23d942b8091b7c5fdfa992888039d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit beb160770d5b41afd0f2dcf839c11a1a8d16b5e1 Author: Mark Wielaard <mwielaard@redhat.com> Date: Sat Mar 1 20:18:07 2008 +0100 Remove outStream from FlowControlWriter. frysk-core/frysk/util/ChangeLog 2008-02-29 Tom Tromey <tromey@redhat.com> * FlowControlWriter.java (outStream): Remove. (FlowControlWriter): Update. (flush): Update. (close): Update. (write(char[],int,int)): Update. (write(int)): Update. (write(String,int,int)): Update. ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/util/ChangeLog | 10 ++++++++++ frysk-core/frysk/util/FlowControlWriter.java | 17 +++++++---------- 2 files changed, 17 insertions(+), 10 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/util/ChangeLog b/frysk-core/frysk/util/ChangeLog index 172839c..a0e9e7b 100644 --- a/frysk-core/frysk/util/ChangeLog +++ b/frysk-core/frysk/util/ChangeLog @@ -1,3 +1,13 @@ +2008-02-29 Tom Tromey <tromey@redhat.com> + + * FlowControlWriter.java (outStream): Remove. + (FlowControlWriter): Update. + (flush): Update. + (close): Update. + (write(char[],int,int)): Update. + (write(int)): Update. + (write(String,int,int)): Update. + 2008-02-29 Stan Cox <scox@redhat.com> * CommandlineParser.java (CommandlineParser): Add new option sysroot. diff --git a/frysk-core/frysk/util/FlowControlWriter.java b/frysk-core/frysk/util/FlowControlWriter.java index b0b76fd..0ab8dfb 100644 --- a/frysk-core/frysk/util/FlowControlWriter.java +++ b/frysk-core/frysk/util/FlowControlWriter.java @@ -47,7 +47,6 @@ import java.io.Writer; * Extension of Writer that allows output to be paused. */ public class FlowControlWriter extends FilterWriter { - private Writer outStream; private boolean paused = false; /** @@ -55,7 +54,6 @@ public class FlowControlWriter extends FilterWriter { */ public FlowControlWriter(Writer outStream) { super(outStream); - this.outStream = outStream; } public synchronized boolean isPaused() { @@ -81,7 +79,7 @@ public class FlowControlWriter extends FilterWriter { } } try { - outStream.flush(); + super.flush(); } catch (IOException e) { } @@ -96,7 +94,6 @@ public class FlowControlWriter extends FilterWriter { } } - outStream.close(); super.close(); } @@ -109,9 +106,9 @@ public class FlowControlWriter extends FilterWriter { } } - outStream.write(buf, offset, len); + super.write(buf, offset, len); try { - outStream.flush(); + super.flush(); } catch (IOException e) { } @@ -126,9 +123,9 @@ public class FlowControlWriter extends FilterWriter { } } - outStream.write(b); + super.write(b); try { - outStream.flush(); + super.flush(); } catch (IOException e) { } @@ -143,9 +140,9 @@ public class FlowControlWriter extends FilterWriter { } } - outStream.write(str, offset, len); + super.write(str, offset, len); try { - outStream.flush(); + super.flush(); } catch (IOException e) { hooks/post-receive -- frysk system monitor/debugger
reply other threads:[~2008-03-01 19:26 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080301192635.5962.qmail@sourceware.org \ --to=mark@sourceware.org \ --cc=frysk-cvs@sourceware.org \ --cc=frysk@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).