Skip to content

Commit a659ca3

Browse files
committed
fix style and unused imports
1 parent 0e1f7a3 commit a659ca3

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexDatabase.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,12 @@
5555
import java.util.concurrent.CountDownLatch;
5656
import java.util.concurrent.ExecutionException;
5757
import java.util.concurrent.Future;
58-
import java.util.concurrent.TimeUnit;
5958
import java.util.concurrent.atomic.AtomicInteger;
6059
import java.util.logging.Level;
6160
import java.util.logging.Logger;
6261
import java.util.stream.Collectors;
6362
import java.util.zip.GZIPOutputStream;
6463

65-
import jakarta.ws.rs.client.ClientBuilder;
66-
import jakarta.ws.rs.client.Entity;
67-
import jakarta.ws.rs.core.Response;
6864
import org.apache.lucene.analysis.Analyzer;
6965
import org.apache.lucene.analysis.standard.StandardAnalyzer;
7066
import org.apache.lucene.document.DateTools;
@@ -125,9 +121,6 @@
125121
import org.opengrok.indexer.util.TandemPath;
126122
import org.opengrok.indexer.web.Util;
127123

128-
import static org.opengrok.indexer.index.IndexerUtil.getWebAppHeaders;
129-
import static org.opengrok.indexer.web.ApiUtils.waitForAsyncApi;
130-
131124
/**
132125
* This class is used to create / update the index databases. Currently, we use
133126
* one index database per project.

opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexerUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public static Collection<String> getProjects(String webappUri) {
156156
.path("projects")
157157
.request(MediaType.APPLICATION_JSON)
158158
.headers(getWebAppHeaders());
159-
return request.get(new GenericType<List<String>>(){});
159+
return request.get(new GenericType<List<String>>() { } );
160160
}
161161
}
162162
}

opengrok-web/src/main/java/org/opengrok/web/api/v1/controller/ProjectsController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
import jakarta.ws.rs.Path;
5353
import jakarta.ws.rs.PathParam;
5454
import jakarta.ws.rs.Produces;
55-
import jakarta.ws.rs.WebApplicationException;
5655
import jakarta.ws.rs.core.Context;
5756
import jakarta.ws.rs.core.MediaType;
5857
import jakarta.ws.rs.core.Response;

0 commit comments

Comments
 (0)