You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2021/06/14 14:51:22 UTC

[GitHub] [commons-lang] XenoAmess edited a comment on pull request #219: LANG-341: Add number to byte array methods to org.apache.commons.lang3.Conversion

XenoAmess edited a comment on pull request #219:
URL: https://github.com/apache/commons-lang/pull/219#issuecomment-860747593


   @yurelle 
   ```
   throw new IllegalArgumentException("Input data is longer than size of 'double' primitive ("+SIZE+" bytes)");
   ```
   tips:
   next time when you wanna bake some codes from a template for all primitive types, suggest use `boolean`, as boolean is the less troublesome one in them...
   if cannot use `boolean` then can use `double`
   do never use `int` or `long` as template...that will cause the `longer->doubleer` thing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org