Skip to content

Commit f3d016d

Browse files
committed
fixing javadoc errors
1 parent 020ddcf commit f3d016d

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/analysis/AnalyzerFramework.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ protected void classLoaded(AnalyzersInfo localInfo, IAnalyzerPlugin plugin) {
190190
localInfo.fileTypeDescriptions.put(analyzer.getAnalyzer().getFileTypeName(), analyzer.getName());
191191
}
192192

193-
LOGGER.log(Level.INFO, "An analyzer factory {0} has been loaded.", analyzer.getClass().getCanonicalName());
193+
LOGGER.log(Level.FINER, "An analyzer factory {0} has been loaded.", analyzer.getClass().getCanonicalName());
194194
}
195195

196196
/**
@@ -218,7 +218,7 @@ protected AnalyzersInfo beforeReload() {
218218
@Override
219219
protected void afterReload(AnalyzersInfo localInfo) {
220220
if (getPluginDirectory() == null || !getPluginDirectory().isDirectory() || !getPluginDirectory().canRead()) {
221-
LOGGER.log(Level.INFO, "No plugin directory for analyzers.");
221+
LOGGER.log(Level.WARNING, "No plugin directory for analyzers.");
222222
}
223223

224224
// apply custom settings for this framework
@@ -292,7 +292,7 @@ public void addPrefix(String prefix, AnalyzerFactory factory) {
292292
AnalyzerFactory oldFactory;
293293
if (factory == null) {
294294
oldFactory = analyzersInfo.prefixes.remove(prefix);
295-
LOGGER.log(Level.INFO,
295+
LOGGER.log(Level.FINER,
296296
"Removing a mapping for prefix {0}{1}",
297297
new Object[]{
298298
prefix,
@@ -302,7 +302,7 @@ public void addPrefix(String prefix, AnalyzerFactory factory) {
302302

303303
} else {
304304
oldFactory = analyzersInfo.prefixes.put(prefix, factory);
305-
LOGGER.log(Level.INFO,
305+
LOGGER.log(Level.FINER,
306306
"Adding a factory {0} for matching prefix {1}{2}",
307307
new Object[]{
308308
factory.getClass().getCanonicalName(),
@@ -336,7 +336,7 @@ public void addExtension(String extension, AnalyzerFactory factory) {
336336
AnalyzerFactory oldFactory;
337337
if (factory == null) {
338338
oldFactory = analyzersInfo.extensions.remove(extension);
339-
LOGGER.log(Level.INFO,
339+
LOGGER.log(Level.FINER,
340340
"Removing a mapping for suffix {0}{1}",
341341
new Object[]{
342342
extension,
@@ -345,7 +345,7 @@ public void addExtension(String extension, AnalyzerFactory factory) {
345345
);
346346
} else {
347347
oldFactory = analyzersInfo.extensions.put(extension, factory);
348-
LOGGER.log(Level.INFO,
348+
LOGGER.log(Level.FINER,
349349
"Adding a factory {0} for matching suffix {1}{2}",
350350
new Object[]{
351351
factory.getClass().getCanonicalName(),

opengrok-indexer/src/main/java/org/opengrok/indexer/analysis/AnalyzerGuruHelp.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
public class AnalyzerGuruHelp {
3636
/**
3737
* Gets a reportable hunk of text that details
38-
* {@link AnalyzerFramework#getPrefixesMap()},
39-
* {@link AnalyzerFramework#getExtensionsMap()},
40-
* {@link AnalyzerFramework#getMagicsMap()}, and
41-
* {@link AnalyzerFramework#getAnalyzerFactoryMatchers()}.
38+
* {@link AnalyzerGuru#getPrefixesMap()},
39+
* {@link AnalyzerGuru#getExtensionsMap()},
40+
* {@link AnalyzerGuru#getMagicsMap()}, and
41+
* {@link AnalyzerGuru#getAnalyzerFactoryMatchers()}.
4242
* @return a defined, multi-line String
43-
* @param analyzerGuru
43+
* @param analyzerGuru an instance of analyzer guru with info about analyzers
4444
*/
4545
public static String getUsage(AnalyzerGuru analyzerGuru) {
4646
StringBuilder b = new StringBuilder();

opengrok-indexer/src/main/java/org/opengrok/indexer/authorization/AuthorizationEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ public synchronized void setWorking() {
476476
/**
477477
* Check if this plugin has failed during loading or is missing.
478478
*
479-
* This method has the same effect as !{@link isWorking()}.
479+
* This method has the same effect as !{@link #isWorking()}.
480480
*
481481
* @return true if failed, true otherwise
482482
* @see #isWorking()

opengrok-indexer/src/main/java/org/opengrok/indexer/framework/PluginFramework.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ private String getClassName(JarEntry f) {
347347
* <p>
348348
* When this is invoked, all plugins has been loaded into the memory and for each available plugin
349349
* the {@link #classLoaded(Object, Object)} was invoked.
350+
*
351+
* @param data a custom data created with {@link #beforeReload()}
350352
*/
351353
protected abstract void afterReload(DataType data);
352354

0 commit comments

Comments
 (0)