Skip to content

Commit daaeefa

Browse files
committed
fix erroneously replaced strings
1 parent 983aaac commit daaeefa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/org/opensolaris/opengrok/index/Indexer.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,10 @@ public static void main(String argv[]) {
224224
/*
225225
* Add paths to directories under source root. If projects
226226
* are enabled the path should correspond to a project because
227-
* project path is necessary to correctly addOption index directory
227+
* project path is necessary to correctly set index directory
228228
* (otherwise the index files will end up in index data root
229229
* directory and not per project data root directory).
230-
* For the check we need to have 'env' already addOption.
230+
* For the check we need to have 'env' already set.
231231
*/
232232
for (String path : subFilesList) {
233233
String srcPath = env.getSourceRootPath();
@@ -257,7 +257,7 @@ public static void main(String argv[]) {
257257

258258
// If the webapp is running with a config that does not contain
259259
// 'projectsEnabled' property (case of upgrade or transition
260-
// from project-less config to one with projects), addOption the property
260+
// from project-less config to one with projects), set the property
261261
// using a message so that the 'project/indexed' messages
262262
// emitted during indexing do not cause validation error.
263263
if (addProjects && host != null && port > 0) {
@@ -1013,7 +1013,7 @@ public void prepareIndexer(RuntimeEnvironment env,
10131013
* and storing data from the source files in the index (along with history,
10141014
* if any).
10151015
*
1016-
* @param update if addOption to true, index database is updated, otherwise optimized
1016+
* @param update if set to true, index database is updated, otherwise optimized
10171017
* @param subFiles index just some subdirectories
10181018
* @param progress object to receive notifications as indexer progress is made
10191019
* @throws IOException if I/O exception occurred

0 commit comments

Comments
 (0)