Skip to content

Commit d0ec1b5

Browse files
committed
Remove coupling between log levels.
1 parent 0dd22d9 commit d0ec1b5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

com.ibm.wala.cast.python.ml.test/source/com/ibm/wala/cast/python/ml/test/TestTensorflow2Model.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3424,11 +3424,10 @@ private void test(
34243424

34253425
Map<PointerKey, AnalysisError> errors = E.getErrors();
34263426

3427-
if (LOGGER.isLoggable(Level.INFO))
3428-
errors.forEach(
3429-
(k, v) ->
3430-
LOGGER.info(
3431-
() -> "Pointer key: " + k + " has analysis error: " + v + " at " + v.position()));
3427+
errors.forEach(
3428+
(k, v) ->
3429+
LOGGER.info(
3430+
() -> "Pointer key: " + k + " has analysis error: " + v + " at " + v.position()));
34323431

34333432
// a mapping from function signatures to pointer keys.
34343433
Map<String, Set<LocalPointerKey>> functionSignatureToPointerKeys = new HashMap<>();

0 commit comments

Comments
 (0)