Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support transformation to BigDecimal constants #11

Closed
markiewb opened this issue Sep 22, 2013 · 1 comment
Closed

Support transformation to BigDecimal constants #11

markiewb opened this issue Sep 22, 2013 · 1 comment
Milestone

Comments

@markiewb
Copy link
Owner

new BigDecimal("0.0")
new BigDecimal("0")
new BigDecimal("0.00")
new BigDecimal(0)
new BigDecimal(0L)
new BigDecimal(0.0f)
new BigDecimal(0.0d)
BigDecimal.valueOf(0)
BigDecimal.valueOf(0L)
BigDecimal.valueOf(0.0f)

should be transformed to

BigDecimal.ZERO

Same for
BigDecimal.TEN, BigDecimal.ONE

Also filed at https://netbeans.org/bugzilla/show_bug.cgi?id=236244

@markiewb
Copy link
Owner Author

markiewb commented Nov 6, 2013

Fixed in 1.1

@markiewb markiewb closed this as completed Nov 6, 2013
markiewb added a commit that referenced this issue Nov 7, 2013
…ong key exception

* update some descriptions (remove html-tags)
* update category
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant