File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
main/java/org/opengrok/indexer/configuration
test/java/org/opengrok/indexer/configuration Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ opengrok-indexer \
24
24
-s /opengrok/src \
25
25
-d /opengrok/data \
26
26
--remote on \
27
- --leadingWildCards on \
28
27
-W /opengrok/etc/configuration.xml \
29
28
-U " $URI " \
30
29
$OPS \
Original file line number Diff line number Diff line change @@ -435,6 +435,7 @@ public void setGroupsCollapseThreshold(int groupsCollapseThreshold) throws Illeg
435
435
public Configuration () {
436
436
// This list of calls is sorted alphabetically so please keep it.
437
437
cmds = new HashMap <>();
438
+ setAllowLeadingWildcard (true );
438
439
setAllowedSymlinks (new HashSet <>());
439
440
setAuthorizationWatchdogEnabled (false );
440
441
//setBugPage("http://bugs.myserver.org/bugdatabase/view_bug.do?bug_id=");
Original file line number Diff line number Diff line change @@ -289,9 +289,9 @@ public void testRamBufferSize() {
289
289
@ Test
290
290
public void testAllowLeadingWildcard () {
291
291
RuntimeEnvironment instance = RuntimeEnvironment .getInstance ();
292
- assertFalse (instance .isAllowLeadingWildcard ());
293
- instance .setAllowLeadingWildcard (true );
294
292
assertTrue (instance .isAllowLeadingWildcard ());
293
+ instance .setAllowLeadingWildcard (false );
294
+ assertFalse (instance .isAllowLeadingWildcard ());
295
295
}
296
296
297
297
@ Test
You can’t perform that action at this time.
0 commit comments