Commits

Anonymous committed 8e1d7ed

not really an improvement

Comments (0)

Files changed (1)

src/java/com/opensymphony/oscache/web/ServletCacheAdministrator.java

                 try {
                     java.security.MessageDigest digest = java.security.MessageDigest.getInstance("MD5");
                     byte[] b = digest.digest(generatedKey.getBytes());
-                    cBuffer.append("_");
+                    cBuffer.append('_');
 
                     // Base64 encoding allows for unwanted slash characters.
                     cBuffer.append(toBase64(b).replace('/', '_'));