commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BCEL-212) Inconsistent toString() results
Date Thu, 13 Aug 2015 20:10:47 GMT

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

Sebb resolved BCEL-212.
-----------------------
       Resolution: Fixed
    Fix Version/s: 6.0

URL: http://svn.apache.org/r1695771
Log:
BCEL-212 Inconsistent toString() results

Modified:
    commons/proper/bcel/trunk/src/changes/changes.xml
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/ExceptionTable.java
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/LineNumberTable.java
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Signature.java
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/SourceFile.java



> Inconsistent toString() results
> -------------------------------
>
>                 Key: BCEL-212
>                 URL: https://issues.apache.org/jira/browse/BCEL-212
>             Project: Commons BCEL
>          Issue Type: Improvement
>            Reporter: Mark Roberts
>            Priority: Minor
>             Fix For: 6.0
>
>         Attachments: tostring.diff
>
>
> Sometimes the result of a toString starts with a label (such as "SourceFile: ") - sometimes
it doesn't.  Sometimes the result of a toString ends with a newline ('\n') - sometimes it
doesn't.  After a brief survey, it seemed to me that the majority had a label and did not
end with a newline.  This patch modifies several toString() methods to be consistent in this
way.



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

Mime
View raw message