You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pl...@apache.org on 2016/02/23 08:06:21 UTC
directory-kerby git commit: Avoid using import * in KrbCodecBenchmark.
Repository: directory-kerby
Updated Branches:
refs/heads/trunk 22272befa -> 2069b4949
Avoid using import * in KrbCodecBenchmark.
Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/2069b494
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/2069b494
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/2069b494
Branch: refs/heads/trunk
Commit: 2069b4949b05389a59401172298f285e4f66f8b6
Parents: 22272be
Author: plusplusjiajia <ji...@intel.com>
Authored: Tue Feb 23 15:13:30 2016 +0800
Committer: plusplusjiajia <ji...@intel.com>
Committed: Tue Feb 23 15:13:30 2016 +0800
----------------------------------------------------------------------
.../java/org/apache/kerby/benchmark/KrbCodecBenchmark.java | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/2069b494/benchmark/src/main/java/org/apache/kerby/benchmark/KrbCodecBenchmark.java
----------------------------------------------------------------------
diff --git a/benchmark/src/main/java/org/apache/kerby/benchmark/KrbCodecBenchmark.java b/benchmark/src/main/java/org/apache/kerby/benchmark/KrbCodecBenchmark.java
index 56bb372..216b6b9 100644
--- a/benchmark/src/main/java/org/apache/kerby/benchmark/KrbCodecBenchmark.java
+++ b/benchmark/src/main/java/org/apache/kerby/benchmark/KrbCodecBenchmark.java
@@ -20,7 +20,13 @@
package org.apache.kerby.benchmark;
import org.apache.kerby.kerberos.kerb.type.ap.ApReq;
-import org.openjdk.jmh.annotations.*;
+import org.openjdk.jmh.annotations.Benchmark;
+import org.openjdk.jmh.annotations.BenchmarkMode;
+import org.openjdk.jmh.annotations.Fork;
+import org.openjdk.jmh.annotations.Mode;
+import org.openjdk.jmh.annotations.OutputTimeUnit;
+import org.openjdk.jmh.annotations.Warmup;
+
import java.io.IOException;
import java.io.InputStream;