You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Vikram Srivastava (JIRA)" <ji...@apache.org> on 2014/02/05 10:48:09 UTC

[jira] [Updated] (ACCUMULO-2326) Simplify ConstraintViolationSummary.toString

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

Vikram Srivastava updated ACCUMULO-2326:
----------------------------------------

    Attachment: ACCUMULO-2326.v1.patch.txt

Attached patch against master.

> Simplify ConstraintViolationSummary.toString
> --------------------------------------------
>
>                 Key: ACCUMULO-2326
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2326
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.7.0
>            Reporter: Vikram Srivastava
>            Assignee: Vikram Srivastava
>             Fix For: 1.7.0
>
>         Attachments: ACCUMULO-2326.v1.patch.txt
>
>
> The method uses "first" unnecessarily. It never checks if it's true and keeps setting it to false and checking if it is false immediately after. It can be simplified and made more readable.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)