Skip to content

Commit 2555020

Browse files
committed
Comment fixed to meet standards
1 parent 87bc790 commit 2555020

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/provider/CryptoBenchmark.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ private static void printDeltaTable() {
157157
String displayProvider = provider;
158158
if (isRSAOperation) {
159159
if (operation.contains("key gen")) {
160-
displayProvider = "SunRsaSign"; // Key generation uses SunRsaSign
160+
displayProvider = "SunRsaSign"; /* Key generation uses SunRsaSign */
161161
} else {
162-
displayProvider = "SunJCE"; // Public/private operations use SunJCE
162+
displayProvider = "SunJCE"; /* Public/private operations use SunJCE */
163163
}
164164
}
165165

@@ -299,7 +299,7 @@ private static void runEncDecBenchmark(String algorithm, String mode, String pad
299299
results.add(new BenchmarkResult(providerName, cipherName + " dec", decryptThroughput));
300300
}
301301

302-
// Helper method to check if an algorithm is supported by the provider
302+
/* Helper method to check if an algorithm is supported by the provider */
303303
private static boolean isAlgorithmSupported(String algorithm, String providerName) {
304304
try {
305305
MessageDigest.getInstance(algorithm, providerName);

0 commit comments

Comments
 (0)