You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by db...@apache.org on 2010/05/06 02:08:54 UTC

svn commit: r941552 - /felix/trunk/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/shell/TestTokenizer.java

Author: dbaum
Date: Thu May  6 00:08:54 2010
New Revision: 941552

URL: http://svn.apache.org/viewvc?rev=941552&view=rev
Log:
fix wrong exception: OperationNotSupportedException -> UnsupportedOperationException

Modified:
    felix/trunk/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/shell/TestTokenizer.java

Modified: felix/trunk/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/shell/TestTokenizer.java
URL: http://svn.apache.org/viewvc/felix/trunk/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/shell/TestTokenizer.java?rev=941552&r1=941551&r2=941552&view=diff
==============================================================================
--- felix/trunk/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/shell/TestTokenizer.java (original)
+++ felix/trunk/gogo/runtime/src/test/java/org/apache/felix/gogo/runtime/shell/TestTokenizer.java Thu May  6 00:08:54 2010
@@ -23,8 +23,6 @@ import java.net.URI;
 import java.util.HashMap;
 import java.util.Map;
 
-import javax.naming.OperationNotSupportedException;
-
 import org.apache.felix.gogo.runtime.shell.Tokenizer.Type;
 
 import junit.framework.TestCase;
@@ -40,7 +38,7 @@ public class TestTokenizer extends TestC
         {
             public Object eval(Token t) throws Exception
             {
-                throw new OperationNotSupportedException();
+                throw new UnsupportedOperationException("eval not implemented.");
             }
 
             public Object get(String key)