Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0-JSR-1
-
Fix Version/s: 1.1-beta-2
-
Component/s: class generator
-
Labels:None
-
Number of attachments :
Description
The documents describe overloading the divide operator as adding method divide() to a class.
It is in fact div(). I see this in AsmClassGenerator and AsmClassGenerator2 (not sure where else it needs to change)
For consistency the methods should either be mul() and div() or multiply() and divide(). At the moment they are multiply() and div().
div() was chosen to avoid a conflict with BigInteger.divide(). Other methods are consistent with Groovy and therefore do not conflict.