LANG-301 - Document cloneReset()

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@491063 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2006-12-29 17:55:32 +00:00
parent a9ff534b36
commit 640d7cf079
1 changed files with 1 additions and 0 deletions

View File

@ -1099,6 +1099,7 @@ public Object clone() {
* @throws CloneNotSupportedException if there is a problem cloning
*/
Object cloneReset() throws CloneNotSupportedException {
// this method exists to enable 100% test coverage
StrTokenizer cloned = (StrTokenizer) super.clone();
if (cloned.chars != null) {
cloned.chars = (char[]) cloned.chars.clone();