sonatype/security — pull request #14 by mcculls (2012-07-16 18:19:29+00:00)
Title: Remove unnecessary String.intern call

Given that we're caching the results anyway, and the cache uses equals() for keys and not == identity.

String.intern() can also be a performance bottleneck in heavily called code, since it is a native method and involves locking at least part of the global JVM string table.