oltu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1480566 - /oltu/trunk/oauth-2.0/jwt/src/main/java/org/apache/oltu/oauth2/jwt/JWTUtil.java
Date Thu, 09 May 2013 08:39:15 GMT
Author: simonetripodi
Date: Thu May  9 08:39:13 2013
New Revision: 1480566

URL: http://svn.apache.org/r1480566
Log:
JWT class constructor made private - utility classes shall not be instantiated

Modified:
    oltu/trunk/oauth-2.0/jwt/src/main/java/org/apache/oltu/oauth2/jwt/JWTUtil.java

Modified: oltu/trunk/oauth-2.0/jwt/src/main/java/org/apache/oltu/oauth2/jwt/JWTUtil.java
URL: http://svn.apache.org/viewvc/oltu/trunk/oauth-2.0/jwt/src/main/java/org/apache/oltu/oauth2/jwt/JWTUtil.java?rev=1480566&r1=1480565&r2=1480566&view=diff
==============================================================================
--- oltu/trunk/oauth-2.0/jwt/src/main/java/org/apache/oltu/oauth2/jwt/JWTUtil.java (original)
+++ oltu/trunk/oauth-2.0/jwt/src/main/java/org/apache/oltu/oauth2/jwt/JWTUtil.java Thu May
 9 08:39:13 2013
@@ -27,6 +27,13 @@ import org.apache.commons.codec.binary.B
 public class JWTUtil {
 
     /**
+     * Hidden constructor, this class must not be instantiated.
+     */
+    private JWTUtil() {
+        // do nothing
+    }
+
+    /**
      * Get the Header as defined in the 6.1 section of the JWT
      * specification (http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-06#section-6.1)
      * 



Mime
View raw message