@@ -224,10 +224,10 @@ public static void main(String argv[]) {
224
224
/*
225
225
* Add paths to directories under source root. If projects
226
226
* 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
228
228
* (otherwise the index files will end up in index data root
229
229
* 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 .
231
231
*/
232
232
for (String path : subFilesList ) {
233
233
String srcPath = env .getSourceRootPath ();
@@ -257,7 +257,7 @@ public static void main(String argv[]) {
257
257
258
258
// If the webapp is running with a config that does not contain
259
259
// '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
261
261
// using a message so that the 'project/indexed' messages
262
262
// emitted during indexing do not cause validation error.
263
263
if (addProjects && host != null && port > 0 ) {
@@ -1013,7 +1013,7 @@ public void prepareIndexer(RuntimeEnvironment env,
1013
1013
* and storing data from the source files in the index (along with history,
1014
1014
* if any).
1015
1015
*
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
1017
1017
* @param subFiles index just some subdirectories
1018
1018
* @param progress object to receive notifications as indexer progress is made
1019
1019
* @throws IOException if I/O exception occurred
0 commit comments