Menu

#18 get rid of commons-lang3 dependency

1.1.0
open
None
2016-07-18
2016-02-29
No

from
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
</dependency>
used only one methond - ArrayUtils.toObject() which converts primites to objects,
the result is later converted to stirng.

To remove dependency it is better to create a method that will convert arrays or primitives to strings with given delimeter and brackets. This will increase the code size, but will remove dependency on commons-lang3 and improve perfomance cause converting byte[100] to Byte[100] increased memory consumption >x4 times.

Discussion

  • T X

    T X - 2016-07-17

    I have a fix for this.

     
  • Vitaliy Semochkin

    Sounds great, if you push it to repository I'll have a look on it at weekend and integrate as soon as possible.

     

Log in to post a comment.