forked from GitHub/gf-core
reduced log level if no param descriptions are present
This commit is contained in:
@@ -113,7 +113,7 @@ class Printname {
|
|||||||
try {
|
try {
|
||||||
name = (String)this.paramNames.get(n);
|
name = (String)this.paramNames.get(n);
|
||||||
} catch (ArrayIndexOutOfBoundsException e) {
|
} catch (ArrayIndexOutOfBoundsException e) {
|
||||||
subcatLogger.warning(e.getLocalizedMessage());
|
subcatLogger.fine(e.getLocalizedMessage());
|
||||||
}
|
}
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
@@ -393,7 +393,7 @@ class Printname {
|
|||||||
+ "<dd>" + this.paramTexts.get(which) + "</dd>";
|
+ "<dd>" + this.paramTexts.get(which) + "</dd>";
|
||||||
return result;
|
return result;
|
||||||
} catch (ArrayIndexOutOfBoundsException e) {
|
} catch (ArrayIndexOutOfBoundsException e) {
|
||||||
subcatLogger.warning(e.getLocalizedMessage());
|
subcatLogger.fine(e.getLocalizedMessage());
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user