1. opensymphony
  2. oscache

Commits

la...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed 8e1d7ed

not really an improvement

  • Participants
  • Parent commits f5ae2bf
  • Branches default

Comments (0)

Files changed (1)

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

View file
                 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('/', '_'));