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:
parent
a9ff534b36
commit
640d7cf079
|
@ -1099,6 +1099,7 @@ public class StrTokenizer implements ListIterator, Cloneable {
|
|||
* @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();
|
||||
|
|
Loading…
Reference in New Issue