You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2017/04/22 13:23:37 UTC

[text] StrTokenizer#clone: add super.clone() call to fix findbug warning

Repository: commons-text
Updated Branches:
  refs/heads/master 43b249b20 -> b0027e18d


StrTokenizer#clone: add super.clone() call to fix findbug warning


Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/b0027e18
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/b0027e18
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/b0027e18

Branch: refs/heads/master
Commit: b0027e18d2e634e2a822962f6fbd3d296c82e722
Parents: 43b249b
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Sat Apr 22 15:23:16 2017 +0200
Committer: Pascal Schumacher <pa...@gmx.net>
Committed: Sat Apr 22 15:23:16 2017 +0200

----------------------------------------------------------------------
 src/main/java/org/apache/commons/text/StrTokenizer.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/b0027e18/src/main/java/org/apache/commons/text/StrTokenizer.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/StrTokenizer.java b/src/main/java/org/apache/commons/text/StrTokenizer.java
index 66126ec..b539268 100644
--- a/src/main/java/org/apache/commons/text/StrTokenizer.java
+++ b/src/main/java/org/apache/commons/text/StrTokenizer.java
@@ -1088,6 +1088,7 @@ public class StrTokenizer implements ListIterator<String>, Cloneable {
     @Override
     public Object clone() {
         try {
+            super.clone();
             return cloneReset();
         } catch (final CloneNotSupportedException ex) {
             return null;