jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1697173 - /jmeter/trunk/src/components/org/apache/jmeter/assertions/SMIMEAssertion.java
Date Sun, 23 Aug 2015 12:29:44 GMT
Author: fschumacher
Date: Sun Aug 23 12:29:44 2015
New Revision: 1697173

URL: http://svn.apache.org/r1697173
Log:
Add javadocs. Part of a patch by Graham Russel about converting to for loops.

Bugzilla Id: 57981

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/assertions/SMIMEAssertion.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/assertions/SMIMEAssertion.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/assertions/SMIMEAssertion.java?rev=1697173&r1=1697172&r2=1697173&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/assertions/SMIMEAssertion.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/assertions/SMIMEAssertion.java Sun Aug 23
12:29:44 2015
@@ -303,7 +303,7 @@ class SMIMEAssertion {
      * 
      * @param serialString
      *            the String representation of the serial Number
-     * @return
+     * @return the BitInteger representation of the serial Number
      */
     private static BigInteger readSerialNumber(String serialString) {
         if (serialString.startsWith("0x") || serialString.startsWith("0X")) { // $NON-NLS-1$
 // $NON-NLS-2$
@@ -315,7 +315,7 @@ class SMIMEAssertion {
     /**
      * Extract email addresses from a certificate
      * 
-     * @param cert
+     * @param cert the X509 certificate
      * @return a List of all email addresses found
      * @throws CertificateException
      */
@@ -347,7 +347,6 @@ class SMIMEAssertion {
     /**
      * Check if the Bouncycastle jce provider is installed and dynamically load
      * it, if needed;
-     * 
      */
     private static void checkForBouncycastle() {
         if (null == Security.getProvider("BC")) { // $NON-NLS-1$



Mime
View raw message