hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r1190095 - in /hadoop/common/trunk/hadoop-common-project/hadoop-common: CHANGES.txt src/main/java/org/apache/hadoop/security/token/Token.java
Date Thu, 27 Oct 2011 23:50:11 GMT
Author: tomwhite
Date: Thu Oct 27 23:50:11 2011
New Revision: 1190095

URL: http://svn.apache.org/viewvc?rev=1190095&view=rev
Log:
HADOOP-7778. FindBugs warning in Token.getKind().

Modified:
    hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
    hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java

Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt?rev=1190095&r1=1190094&r2=1190095&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt Thu Oct 27 23:50:11
2011
@@ -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
 

Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java?rev=1190095&r1=1190094&r2=1190095&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java
(original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java
Thu Oct 27 23:50:11 2011
@@ -119,7 +119,7 @@ public class Token<T extends TokenIdenti
    * Get the token kind
    * @return the kind of the token
    */
-  public Text getKind() {
+  public synchronized Text getKind() {
     return kind;
   }
 



Mime
View raw message