File tree Expand file tree Collapse file tree 3 files changed +1
-9
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/index
opengrok-web/src/main/java/org/opengrok/web/api/v1/controller Expand file tree Collapse file tree 3 files changed +1
-9
lines changed Original file line number Diff line number Diff line change 5555import java .util .concurrent .CountDownLatch ;
5656import java .util .concurrent .ExecutionException ;
5757import java .util .concurrent .Future ;
58- import java .util .concurrent .TimeUnit ;
5958import java .util .concurrent .atomic .AtomicInteger ;
6059import java .util .logging .Level ;
6160import java .util .logging .Logger ;
6261import java .util .stream .Collectors ;
6362import 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 ;
6864import org .apache .lucene .analysis .Analyzer ;
6965import org .apache .lucene .analysis .standard .StandardAnalyzer ;
7066import org .apache .lucene .document .DateTools ;
125121import org .opengrok .indexer .util .TandemPath ;
126122import 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.
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 5252import jakarta .ws .rs .Path ;
5353import jakarta .ws .rs .PathParam ;
5454import jakarta .ws .rs .Produces ;
55- import jakarta .ws .rs .WebApplicationException ;
5655import jakarta .ws .rs .core .Context ;
5756import jakarta .ws .rs .core .MediaType ;
5857import jakarta .ws .rs .core .Response ;
You can’t perform that action at this time.
0 commit comments