diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2022-11-20 20:18:01 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2022-11-20 20:18:01 +0100 |
commit | af87046e5609097ad9d9e722b202ccefffb404a5 (patch) | |
tree | 4148321c258a983af40353551ee93351f3eb7b0b /org.eclipse.jgit.benchmarks/src | |
parent | 3301032c6a45a515c2fe4edec39a53921a7e6f07 (diff) | |
download | jgit-af87046e5609097ad9d9e722b202ccefffb404a5.tar.gz jgit-af87046e5609097ad9d9e722b202ccefffb404a5.zip |
Remove unused imports
Change-Id: I57a3ae0a8608a517d9cc5cc27cee136f9faeb810
Diffstat (limited to 'org.eclipse.jgit.benchmarks/src')
-rw-r--r-- | org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/GetRefsBenchmark.java | 17 | ||||
-rw-r--r-- | org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/LookupFileStoreBenchmark.java | 1 |
2 files changed, 10 insertions, 8 deletions
diff --git a/org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/GetRefsBenchmark.java b/org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/GetRefsBenchmark.java index 62627e66f6..52a881bd11 100644 --- a/org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/GetRefsBenchmark.java +++ b/org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/GetRefsBenchmark.java @@ -9,6 +9,8 @@ */ package org.eclipse.jgit.benchmarks; +import static org.eclipse.jgit.transport.ReceiveCommand.Type.CREATE; + import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; @@ -17,16 +19,20 @@ import java.util.ArrayList; import java.util.List; import java.util.concurrent.ThreadLocalRandom; import java.util.concurrent.TimeUnit; -import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.Collectors; import java.util.stream.IntStream; import org.eclipse.jgit.api.Git; import org.eclipse.jgit.api.errors.GitAPIException; -import org.eclipse.jgit.internal.storage.dfs.DfsRepositoryDescription; -import org.eclipse.jgit.internal.storage.dfs.InMemoryRepository; import org.eclipse.jgit.internal.storage.file.FileRepository; -import org.eclipse.jgit.lib.*; +import org.eclipse.jgit.lib.BatchRefUpdate; +import org.eclipse.jgit.lib.ConfigConstants; +import org.eclipse.jgit.lib.Constants; +import org.eclipse.jgit.lib.ObjectId; +import org.eclipse.jgit.lib.Repository; +import org.eclipse.jgit.lib.RepositoryCache; +import org.eclipse.jgit.lib.StoredConfig; +import org.eclipse.jgit.lib.TextProgressMonitor; import org.eclipse.jgit.revwalk.RevCommit; import org.eclipse.jgit.revwalk.RevWalk; import org.eclipse.jgit.transport.ReceiveCommand; @@ -49,9 +55,6 @@ import org.openjdk.jmh.runner.RunnerException; import org.openjdk.jmh.runner.options.Options; import org.openjdk.jmh.runner.options.OptionsBuilder; -import static org.eclipse.jgit.transport.ReceiveCommand.Type.CREATE; -import static org.eclipse.jgit.transport.ReceiveCommand.Type.UPDATE; - @State(Scope.Thread) public class GetRefsBenchmark { diff --git a/org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/LookupFileStoreBenchmark.java b/org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/LookupFileStoreBenchmark.java index 393edcbc92..e9c9ef36a0 100644 --- a/org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/LookupFileStoreBenchmark.java +++ b/org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks/LookupFileStoreBenchmark.java @@ -24,7 +24,6 @@ import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.Setup; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.TearDown; -import org.openjdk.jmh.profile.StackProfiler; import org.openjdk.jmh.runner.Runner; import org.openjdk.jmh.runner.RunnerException; import org.openjdk.jmh.runner.options.Options; |