0

I'm reading the API for StringUtils, and it refers to the method truncate, since API 3.5. But, the latest version is 3.4. according to the apache commons site. I don't even see a 3.5 development branch on their git or in maven central. What is the latest version?

3
  • 3.5 is not published to maven yet. Why your are not using 3.4? Commented Aug 29, 2016 at 19:38
  • Well, that method is in the master branch, so I don't see why you can't use it, despite what the documentation says. Commented Aug 29, 2016 at 19:39
  • @dit I didn't say what version I was using. I can't use it becuase i'm pulling my dependencies from maven, which doesn't have 3.5 on there yet. Commented Aug 29, 2016 at 20:02

2 Answers 2

1

As of time of this answer, 3.4 is the latest stable version. Version 3.5 is actually 3.5-SNAPSHOT. You can see that indicated in top right of the website, and the javadoc is generated off the source tree. You can see that master branch is currently set to 3.5-SNAPSHOT here:

Sign up to request clarification or add additional context in comments.

Comments

1

3.5 Should be the latest now, last published back in October 2016.

<dependency>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-lang3</artifactId>
   <version>3.5</version>
</dependency>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.