Java apache commons library source licensing issue

I want to use the functionality from a specific method in apache commons StringUtils. Currently, I have no way to just use the library as usual. I found the source for the method that I need, and my question is: am I free (legally) to use this code (only the method from the library) or do I need to use the whole library? If everything is in order, what attribute will I need in my code, if any? Thanks.

+4
source share
1 answer

You can only use the methods that you want, subject to the relevant Apache license conditions. They say (among other things) that you should keep existing copyright notices, attributes and license notices. The license is easy to understand ... and if you are uncomfortable that you fully understand it, consult your IP lawyer.

+4
source

Source: https://habr.com/ru/post/1308780/


All Articles