accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ACCUMULO-3475) Shell.config()'s return value is ignored.
Date Tue, 13 Jan 2015 23:20:35 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-3475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser resolved ACCUMULO-3475.
----------------------------------
    Resolution: Fixed

config() now returns true on success, false on error (and sets the exitCode value which is
still presently useless). Added javadoc for the method, too.

> Shell.config()'s return value is ignored.
> -----------------------------------------
>
>                 Key: ACCUMULO-3475
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3475
>             Project: Accumulo
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.5.3, 1.6.2, 1.7.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {{Shell.config()}} returns a boolean which is true if there was an error configuring
the shell, but the value is never observed. This can result in other unintended errors (like
trying to use the ConsoleReader member when it's not initialized).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message