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

@ -762,7 +762,9 @@ Release 0.23.0 - Unreleased
Eagles via acmurthy)
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

View File

@ -119,7 +119,7 @@ public class Token<T extends TokenIdentifier> implements Writable {
* Get the token kind
* @return the kind of the token
*/
public Text getKind() {
public synchronized Text getKind() {
return kind;
}