[java-opensaml COMMIT] /trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/messaging/context/SamlSubjectN...

noreply at shibboleth.net noreply at shibboleth.net
Fri May 31 19:24:49 EDT 2013


Author: putmanb
Date: Fri May 31 19:24:49 2013
New Revision: 3358

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3358&view=rev
Log:
Fix some typos.

Modified:
    trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/messaging/context/SamlSubjectNameIdentifierContext.java

Modified: trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/messaging/context/SamlSubjectNameIdentifierContext.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/messaging/context/SamlSubjectNameIdentifierContext.java?rev=3358&r1=3357&r2=3358&view=diff
==============================================================================
--- trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/messaging/context/SamlSubjectNameIdentifierContext.java (original)
+++ trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/common/messaging/context/SamlSubjectNameIdentifierContext.java Fri May 31 19:24:49 2013
@@ -110,10 +110,10 @@
      * Sets the name identifier, which must be either a SAML 1 {@link NameIdentifier} 
      * or a SAML 2 {@link NameID} or null.
      * 
-     * @param newMessageId ID of the message, may be null
+     * @param newNameID the name identifier instance
      */
     public void setSubjectNameIdentifier(@Nullable final SAMLObject newNameID) {
-        if (newNameID == null || nameID instanceof NameIdentifier || nameID instanceof NameID) {
+        if (newNameID == null || newNameID instanceof NameIdentifier || newNameID instanceof NameID) {
             nameID = newNameID;
         } else {
             throw new IllegalArgumentException("Argument was not a valid SAML 1 or 2 name identifier type or null: " 



More information about the commits mailing list