Skip to content

Commit

Permalink
chore: fixing formatting and method docs
Browse files Browse the repository at this point in the history
  • Loading branch information
minherz committed Oct 25, 2021
1 parent a6e663a commit e728e86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Expand Up @@ -89,7 +89,8 @@ List<LoggingEnhancer> getEnhancers() {
for (String e_name : items) {
Class<?> clazz = ClassLoader.getSystemClassLoader().loadClass(e_name);
if (LoggingEnhancer.class.isAssignableFrom(clazz)) {
LoggingEnhancer enhancer = (LoggingEnhancer)clazz.getDeclaredConstructor().newInstance();
LoggingEnhancer enhancer =
(LoggingEnhancer) clazz.getDeclaredConstructor().newInstance();
enhancers.add(enhancer);
}
}
Expand Down
Expand Up @@ -158,9 +158,9 @@ static SourceLocation fromPb(LogEntrySourceLocation sourceLocationPb) {
}

/**
* Creates instance of {@link SourceLocation} based on stack trace information. Caller should
* provide the level in the stack where the information can be located. The stack trace level
* should be {@code 0} to display information for the caller of the method.
* Creates a new instance of {@link SourceLocation} based on stack trace information. A caller
* should provide the level in the stack where the information can be located. The stack trace
* level should be {@code 0} to display information for the caller of the method.
*
* @param level Zero-based non-negative integer defining the level in the stack trace where {@code
* 0} is topmost element.
Expand Down

0 comments on commit e728e86

Please sign in to comment.