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?
Asked
Active
Viewed 754 times
0
-
3.5 is not published to maven yet. Why your are not using 3.4? – alex Aug 29 '16 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. – OneCricketeer Aug 29 '16 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. – Stealth Rabbi Aug 29 '16 at 20:02
2 Answers
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:

kaliatech
- 17,579
- 5
- 72
- 84
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>

Wei Yuan
- 301
- 2
- 13