hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-9308) Fix precommit javadoc warnings
Date Thu, 22 Aug 2013 21:45:51 GMT
Jonathan Hsieh created HBASE-9308:
-------------------------------------

             Summary: Fix precommit javadoc warnings
                 Key: HBASE-9308
                 URL: https://issues.apache.org/jira/browse/HBASE-9308
             Project: HBase
          Issue Type: Bug
            Reporter: Jonathan Hsieh


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

Mime
View raw message