[ 
https://issues.apache.org/jira/browse/MATH-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17124859#comment-17124859
 ] 

Gilles Sadowski commented on MATH-1537:
---------------------------------------

{quote}wrapping another layer [...] ?
{quote}
In 
[DfpTest.java|https://gitbox.apache.org/repos/asf?p=commons-math.git;a=blob;f=src/test/java/org/apache/commons/math4/dfp/DfpTest.java;h=63f59ac2cbc3567bc777e34a5210fccf05710e50;hb=HEAD]
 for example, there are 12 occurrences of
{code:java}
Assert.fail("assertion failed.  compare flags = "+field.getIEEEFlags());
{code}
that could be replaced by a call to a method
{code:java}
private static void fail(DfpField field) {
    Assert.fail("assertion failed.  compare flags = " + field.getIEEEFlags());
}
{code}

> refine javadoc and fix typos.
> -----------------------------
>
>                 Key: MATH-1537
>                 URL: https://issues.apache.org/jira/browse/MATH-1537
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: JIN XU
>            Priority: Minor
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> [https://github.com/apache/commons-math/pull/136]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to