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 \
2424 -s /opengrok/src \
2525 -d /opengrok/data \
2626 --remote on \
27- --leadingWildCards on \
2827 -W /opengrok/etc/configuration.xml \
2928 -U " $URI " \
3029 $OPS \
Original file line number Diff line number Diff line change @@ -435,6 +435,7 @@ public void setGroupsCollapseThreshold(int groupsCollapseThreshold) throws Illeg
435435 public Configuration () {
436436 // This list of calls is sorted alphabetically so please keep it.
437437 cmds = new HashMap <>();
438+ setAllowLeadingWildcard (true );
438439 setAllowedSymlinks (new HashSet <>());
439440 setAuthorizationWatchdogEnabled (false );
440441 //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() {
289289 @ Test
290290 public void testAllowLeadingWildcard () {
291291 RuntimeEnvironment instance = RuntimeEnvironment .getInstance ();
292- assertFalse (instance .isAllowLeadingWildcard ());
293- instance .setAllowLeadingWildcard (true );
294292 assertTrue (instance .isAllowLeadingWildcard ());
293+ instance .setAllowLeadingWildcard (false );
294+ assertFalse (instance .isAllowLeadingWildcard ());
295295 }
296296
297297 @ Test
You can’t perform that action at this time.
0 commit comments