File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
opengrok-web/src/main/java/org/opengrok/web/api/v1/controller Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 19
19
20
20
/*
21
21
* Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
22
- * Portions Copyright (c) 2020, Chris Fraire <cfraire@me.com>.
22
+ * Portions Copyright (c) 2019- 2020, Chris Fraire <cfraire@me.com>.
23
23
*/
24
24
package org .opengrok .web .api .v1 .controller ;
25
25
26
+ import com .fasterxml .jackson .annotation .JsonInclude ;
26
27
import org .apache .lucene .search .Query ;
27
28
import org .opengrok .indexer .configuration .Project ;
28
29
import org .opengrok .indexer .search .Hit ;
@@ -214,6 +215,7 @@ public int getEndDocument() {
214
215
}
215
216
}
216
217
218
+ @ JsonInclude (JsonInclude .Include .NON_NULL )
217
219
private static class SearchHit {
218
220
219
221
private final String line ;
You can’t perform that action at this time.
0 commit comments