accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Resolved] (ACCUMULO-3940) Reuse ConsoleReader output stream in shell
Date Wed, 22 Jul 2015 23:08:04 GMT


Christopher Tubbs resolved ACCUMULO-3940.
    Resolution: Fixed

> Reuse ConsoleReader output stream in shell
> ------------------------------------------
>                 Key: ACCUMULO-3940
>                 URL:
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>             Fix For: 1.8.0
>          Time Spent: 10m
>  Remaining Estimate: 0h
> 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