accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-3940) Reuse ConsoleReader output stream in shell
Date Tue, 21 Jul 2015 19:53:05 GMT
Christopher Tubbs created ACCUMULO-3940:

             Summary: Reuse ConsoleReader output stream in shell
                 Key: ACCUMULO-3940
             Project: Accumulo
          Issue Type: Improvement
          Components: shell
            Reporter: Christopher Tubbs
            Assignee: Christopher Tubbs
             Fix For: 1.8.0

The shell currently has a constructor which takes an extra, unnecessary output stream parameter.
The ConsoleReader object already has an OutputStream associated with it, which we can use.
There is a comment in the shell to use that for the printing of the help when it became available.
I'm guessing that it did during the transition from jline1 to jline2.

We can drop the extra constructor parameter, and internally reuse the ConsoleReader's output
stream to print the help.

This message was sent by Atlassian JIRA

View raw message