Skip to content

Commit

Permalink
fix(#2702): revert
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Dec 15, 2023
1 parent e1d5f92 commit bf2d123
Showing 1 changed file with 1 addition and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@
*/
package org.eolang.maven.hash;

import com.jcabi.log.Logger;
import java.util.Map;
import java.util.regex.Pattern;
import org.cactoos.Scalar;
import org.cactoos.iterable.Mapped;
import org.cactoos.map.MapEntry;
import org.cactoos.map.MapEnvelope;
import org.cactoos.map.MapOf;
import org.cactoos.scalar.Checked;
import org.cactoos.text.Split;

/**
Expand Down Expand Up @@ -92,26 +90,7 @@ private static Map<String, CommitHash> fromTable(final Scalar<String> table) {
)
);
},
new Split(
new Checked<>(
table,
exception -> {
for (final StackTraceElement element : exception.getStackTrace()) {
Logger.info(
exception,
String.format(
"%s:%s:%s",
element.getClassName(),
element.getMethodName(),
element.getLineNumber()
)
);
}
return exception;
}
)::value,
"\n"
)
new Split(table::value, "\n")
)
);
}
Expand Down

0 comments on commit bf2d123

Please sign in to comment.