You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2013/08/23 00:19:52 UTC

[jira] [Resolved] (HBASE-9308) Fix precommit javadoc warnings

     [ https://issues.apache.org/jira/browse/HBASE-9308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-9308.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.96.0
                   0.98.0
         Assignee: stack

Committed to trunk and 0.95 branch.
                
> Fix precommit javadoc warnings
> ------------------------------
>
>                 Key: HBASE-9308
>                 URL: https://issues.apache.org/jira/browse/HBASE-9308
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jonathan Hsieh
>            Assignee: stack
>             Fix For: 0.98.0, 0.96.0
>
>         Attachments: 9308.txt
>
>
> We've been getting 2 new javadoc warnings.
> Here's what are the warnings from a recent precommit build:
> {code}
> // hbase-common
> [WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[51,15] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
> [WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[1095,19] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
> [WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[1101,21] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
> [WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[1106,28] sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
> ...
> 2 warnings
> [WARNING] Javadoc Warnings
> [WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:51: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
> [WARNING] import sun.misc.Unsafe;
> [WARNING] ^
> [WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:1095: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release
> [WARNING] static final Unsafe theUnsafe;
> [WARNING] ^
> ...
> // hbase-protocol
> 2 warnings
> [WARNING] Javadoc Warnings
> [WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/trunk/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MasterAdminProtos.java:33377: warning - @return tag cannot be used in method with void return type.
> [WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/trunk/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MasterAdminProtos.java:32381: warning - @return tag cannot be used in method with void return type.
> ...
> {code}
> I believe the new ones are the protobuf related warnings.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira