--- /home/cpdev/src/classpath/javax/swing/JTabbedPane.java	2005-07-05 05:32:33.000000000 +0000
+++ javax/swing/JTabbedPane.java	2005-06-30 05:35:10.000000000 +0000
@@ -523,15 +523,13 @@
       if (index < -1 || title != null && index >= title.length())
 	throw new IllegalArgumentException();
 
-      if (title == null || mnemonicKey == 0 || (index > -1 && title.charAt(index) != mnemonicKey))
+      if (title == null || mnemonicKey == 0 || title.charAt(index) != mnemonicKey)
 	index = -1;
 
       underlinedChar = index;
     }
   }
 
-  private static final long serialVersionUID = 1614381073220130939L;
-
   /** The changeEvent used to fire changes to listeners. */
   protected ChangeEvent changeEvent;
 
