[java-opensaml2 COMMIT] in /branches/REL_2: doc/RELEASE-NOTES.txt src/main/java/org/opensaml/security/SAMLMDCredentia...

noreply at shibboleth.net noreply at shibboleth.net
Fri Mar 21 20:19:10 EDT 2014


Author: putmanb
Date: Fri Mar 21 20:19:10 2014
New Revision: 1665

URL: http://svn.shibboleth.net/view/java-opensaml2?rev=1665&view=rev
Log:
JOST-226: Misspelled method name in SAMLMDCredentialContext, getEncryptionMethod vs getEncryptionMethods.

Modified:
    branches/REL_2/doc/RELEASE-NOTES.txt
    branches/REL_2/src/main/java/org/opensaml/security/SAMLMDCredentialContext.java

Modified: branches/REL_2/doc/RELEASE-NOTES.txt
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/doc/RELEASE-NOTES.txt?rev=1665&r1=1664&r2=1665&view=diff
==============================================================================
--- branches/REL_2/doc/RELEASE-NOTES.txt (original)
+++ branches/REL_2/doc/RELEASE-NOTES.txt Fri Mar 21 20:19:10 2014
@@ -2,6 +2,7 @@
 =============================================
 [JOST-223] - Misspelled error constant in SAML 1 StatusCode interface
 [JOST-224] - Superfluous/wrong type constants in SAML 1 and SAML 2 interfaces
+[JOST-226] - Mispelled method name in SAMLMDCredentialContext, getEncryptionMethod vs getEncryptionMethods 
 
 Changes in Release 2.6.1
 =============================================

Modified: branches/REL_2/src/main/java/org/opensaml/security/SAMLMDCredentialContext.java
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/src/main/java/org/opensaml/security/SAMLMDCredentialContext.java?rev=1665&r1=1664&r2=1665&view=diff
==============================================================================
--- branches/REL_2/src/main/java/org/opensaml/security/SAMLMDCredentialContext.java (original)
+++ branches/REL_2/src/main/java/org/opensaml/security/SAMLMDCredentialContext.java Fri Mar 21 20:19:10 2014
@@ -67,8 +67,18 @@
      * Return the list of {@link EncryptionMethod}'s associated with credential context.
      * 
      * @return a list of SAML metadata encryption method associated with this context
+     * @deprecated due to typo, use {@link #getEncryptionMethods()}.
      */
     public List<EncryptionMethod> getEncryptionMethod() {
+        return getEncryptionMethods();
+    }
+    
+    /**
+     * Return the list of {@link EncryptionMethod}'s associated with credential context.
+     * 
+     * @return a list of SAML metadata encryption method associated with this context
+     */
+    public List<EncryptionMethod> getEncryptionMethods() {
         return encMethods;
     }
 



More information about the commits mailing list