[ 
https://issues.apache.org/jira/browse/DERBY-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462523
 ] 

Dyre Tjeldvoll commented on DERBY-2191:
---------------------------------------

While looking at this class I noticed that some methods and parts of methods 
never get executed (according to the code coverage listing on the Wiki). I 
thought it would be good to have a unit test for the class before making bigger 
changes to it, so I have attached a junit-test proposal 
(FormatableBitSetTest.java).

Currently I have placed the test in the unitTest directory, but since there is 
no junit infrastructure there or in the directory above, this may not be  the 
best option. Suggestions?

Thanks.

> Cleanup of FormatableBitSet
> ---------------------------
>
>                 Key: DERBY-2191
>                 URL: https://issues.apache.org/jira/browse/DERBY-2191
>             Project: Derby
>          Issue Type: Improvement
>          Components: Miscellaneous
>    Affects Versions: 10.2.1.6
>            Reporter: Dyre Tjeldvoll
>         Assigned To: Dyre Tjeldvoll
>            Priority: Trivial
>             Fix For: 10.3.0.0
>
>         Attachments: deadcode.v1.diff, deadcode.v2.diff, 
> FormatableBitSetTest.java
>
>
> The implementation of FormatableBitSet could be streamlined. Dead code can be 
> removed and the implementation of some methods can be simplified.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to