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 55
55
import java .util .concurrent .CountDownLatch ;
56
56
import java .util .concurrent .ExecutionException ;
57
57
import java .util .concurrent .Future ;
58
- import java .util .concurrent .TimeUnit ;
59
58
import java .util .concurrent .atomic .AtomicInteger ;
60
59
import java .util .logging .Level ;
61
60
import java .util .logging .Logger ;
62
61
import java .util .stream .Collectors ;
63
62
import java .util .zip .GZIPOutputStream ;
64
63
65
- import jakarta .ws .rs .client .ClientBuilder ;
66
- import jakarta .ws .rs .client .Entity ;
67
- import jakarta .ws .rs .core .Response ;
68
64
import org .apache .lucene .analysis .Analyzer ;
69
65
import org .apache .lucene .analysis .standard .StandardAnalyzer ;
70
66
import org .apache .lucene .document .DateTools ;
125
121
import org .opengrok .indexer .util .TandemPath ;
126
122
import org .opengrok .indexer .web .Util ;
127
123
128
- import static org .opengrok .indexer .index .IndexerUtil .getWebAppHeaders ;
129
- import static org .opengrok .indexer .web .ApiUtils .waitForAsyncApi ;
130
-
131
124
/**
132
125
* This class is used to create / update the index databases. Currently, we use
133
126
* 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) {
156
156
.path ("projects" )
157
157
.request (MediaType .APPLICATION_JSON )
158
158
.headers (getWebAppHeaders ());
159
- return request .get (new GenericType <List <String >>(){} );
159
+ return request .get (new GenericType <List <String >>() { } );
160
160
}
161
161
}
162
162
}
Original file line number Diff line number Diff line change 52
52
import jakarta .ws .rs .Path ;
53
53
import jakarta .ws .rs .PathParam ;
54
54
import jakarta .ws .rs .Produces ;
55
- import jakarta .ws .rs .WebApplicationException ;
56
55
import jakarta .ws .rs .core .Context ;
57
56
import jakarta .ws .rs .core .MediaType ;
58
57
import jakarta .ws .rs .core .Response ;
You can’t perform that action at this time.
0 commit comments