SF.net SVN: jython:[7114] trunk/jython/src/org/python/core/ ThreadStateMapping.java

[email protected] Wed, 08 Sep 2010 11:37:01 +0000
Newsgroups gmane.comp.lang.jython.cvs
Message-ID <[email protected]>
Revision: 7114
          http://jython.svn.sourceforge.net/jython/?rev=7114&view=rev
Author:   otmarhumbel
Date:     2010-09-08 11:37:00 +0000 (Wed, 08 Sep 2010)

Log Message:
-----------
remove redundant cast

Modified Paths:
--------------
    trunk/jython/src/org/python/core/ThreadStateMapping.java

Modified: trunk/jython/src/org/python/core/ThreadStateMapping.java
===================================================================
--- trunk/jython/src/org/python/core/ThreadStateMapping.java	2010-09-08 07:18:48 UTC (rev 7113)
+++ trunk/jython/src/org/python/core/ThreadStateMapping.java	2010-09-08 11:37:00 UTC (rev 7114)
@@ -21,7 +21,7 @@
         synchronized(this) {
             ThreadState[] threadLocal = cachedThreadState.get();
             if(threadLocal[0] != null)
-                return (ThreadState)threadLocal[0];
+                return threadLocal[0];
 
             Thread t = Thread.currentThread();
             if (newSystemState == null) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd