[java-opensaml COMMIT] /trunk/opensaml-security-api/src/main/java/org/opensaml/security/x509/X509Support.java

noreply at shibboleth.net noreply at shibboleth.net
Sun Nov 23 08:52:09 EST 2014


Author: iay
Date: Sun Nov 23 08:52:09 2014
New Revision: 4164

URL: http://svn.shibboleth.net/view/java-opensaml?rev=4164&view=rev
Log:
Coding conventions.

Modified:
    trunk/opensaml-security-api/src/main/java/org/opensaml/security/x509/X509Support.java

Modified: trunk/opensaml-security-api/src/main/java/org/opensaml/security/x509/X509Support.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-security-api/src/main/java/org/opensaml/security/x509/X509Support.java?rev=4164&r1=4163&r2=4164&view=diff
==============================================================================
--- trunk/opensaml-security-api/src/main/java/org/opensaml/security/x509/X509Support.java (original)
+++ trunk/opensaml-security-api/src/main/java/org/opensaml/security/x509/X509Support.java Sun Nov 23 08:52:09 2014
@@ -166,7 +166,7 @@
         log.debug("Extracting CNs from the following DN: {}", dn.toString());
         final RDNSequence attrs = NameReader.readX500Principal(dn);
         // Have to copy because list returned from Attributes is unmodifiable, so can't reverse it.
-        List<String> values = Lists.newArrayList(attrs.getValues(StandardAttributeType.CommonName));
+        final List<String> values = Lists.newArrayList(attrs.getValues(StandardAttributeType.CommonName));
         
         // Reverse the order so that the most-specific CN is first in the list, 
         // consistent with RFC 1779/2253 RDN ordering.



More information about the commits mailing list