HADOOP-7778. FindBugs warning in Token.getKind().

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1190095 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas White 2011-10-27 23:50:11 +00:00
parent 739acd6e14
commit 101962e598
2 changed files with 4 additions and 2 deletions

View File

@ -764,6 +764,8 @@ Release 0.23.0 - Unreleased
HADOOP-7764. Allow HttpServer to set both ACL list and path spec filters. HADOOP-7764. Allow HttpServer to set both ACL list and path spec filters.
(Jonathan Eagles via acmurthy) (Jonathan Eagles via acmurthy)
HADOOP-7778. FindBugs warning in Token.getKind(). (tomwhite)
Release 0.22.0 - Unreleased Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -119,7 +119,7 @@ public byte[] getPassword() {
* Get the token kind * Get the token kind
* @return the kind of the token * @return the kind of the token
*/ */
public Text getKind() { public synchronized Text getKind() {
return kind; return kind;
} }