Skip to content

Commit

Permalink
fix quality violations
Browse files Browse the repository at this point in the history
  • Loading branch information
uchitsa committed Feb 21, 2025
1 parent 48f72cd commit c619898
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/com/jcabi/aspects/aj/MethodLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private Object wrap(
logMethodExit(point, method, annotation, result, start);
return result;
} catch (final Throwable exc) {
this.handleException(exc, point, method, annotation, start);
handleException(exc, point, method, annotation, start);
throw exc;
} finally {
this.running.remove(marker);
Expand Down Expand Up @@ -240,6 +240,7 @@ private static void logMethodEntry(
}
}

// @checkstyle ParameterNumberCheck (7 lines)
private static void logMethodExit(
final ProceedingJoinPoint point,
final Method method,
Expand All @@ -261,7 +262,8 @@ private static void logMethodExit(
}
}

private void handleException(
// @checkstyle ParameterNumberCheck (7 lines)
private static void handleException(
final Throwable exc,
final ProceedingJoinPoint point,
final Method method,
Expand Down

0 comments on commit c619898

Please sign in to comment.