You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/10/20 17:50:36 UTC

[jira] Resolved: (HARMONY-1926) [build] A lot of "never used" and "never read" warning messages

     [ http://issues.apache.org/jira/browse/HARMONY-1926?page=all ]

Mark Hindess resolved HARMONY-1926.
-----------------------------------

    Resolution: Fixed

Thanks Denis.

I've applied the two patches in r466153/4.  Let me know if they look okay.  And feel free to attach more or let me know if you want to close this one and raise separate JIRA for further similar issues.


> [build] A lot of "never used" and "never read" warning messages
> ---------------------------------------------------------------
>
>                 Key: HARMONY-1926
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1926
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>            Reporter: Denis Kishenko
>         Assigned To: Mark Hindess
>         Attachments: HARMONY-1926-WARNINGS-never used.patch, HARMONY-1926-WARNINGS-SUID.patch
>
>
> Build log has a lot of "never used" and "never read" warning messages like these
>     [javac] 4. WARNING in C:\Work\Projects\Harmony-last\modules\concurrent\standard\src\main\java\java\util\concurrent\ArrayBlockingQueue.java
>     [javac]  (at line 552)
>     [javac] 	int sz = count;
>     [javac] 	    ^^
>     [javac] The local variable sz is never read
> last\modules\concurrent\standard\src\main\java\java\util\concurrent\ConcurrentHashMap.java
>     [javac]  (at line 26)
>     [javac] 	import java.io.ObjectInputStream;
>     [javac] 	       ^^^^^^^^^^^^^^^^^^^^^^^^^
>     [javac] The import java.io.ObjectInputStream is never used

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira