commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r279979 - in /jakarta/commons/proper/lang/trunk/src: java/org/apache/commons/lang/text/StrTokenizer.java test/org/apache/commons/lang/text/StrTokenizerTest.java
Date Sat, 10 Sep 2005 09:36:22 GMT
Author: scolebourne
Date: Sat Sep 10 02:36:15 2005
New Revision: 279979

URL: http://svn.apache.org/viewcvs?rev=279979&view=rev
Log:
Avoid exposing testing method in public API

Modified:
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
    jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrTokenizerTest.java

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java?rev=279979&r1=279978&r2=279979&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrTokenizer.java
Sat Sep 10 02:36:15 2005
@@ -1067,7 +1067,7 @@
      * 
      * @return a new instance of this Tokenizer which has been reset.
      */
-    protected Object cloneReset() throws CloneNotSupportedException {
+    Object cloneReset() throws CloneNotSupportedException {
         StrTokenizer cloned = (StrTokenizer) super.clone();
         if (cloned.chars != null) {
             cloned.chars = (char[]) cloned.chars.clone();

Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrTokenizerTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrTokenizerTest.java?rev=279979&r1=279978&r2=279979&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrTokenizerTest.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrTokenizerTest.java
Sat Sep 10 02:36:15 2005
@@ -548,7 +548,7 @@
      */
     public void testCloneNotSupportedException() {
         Object notCloned = (new StrTokenizer() {
-            public Object cloneReset() throws CloneNotSupportedException {
+            Object cloneReset() throws CloneNotSupportedException {
                 throw new CloneNotSupportedException("test");
             }
         }).clone();



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message