diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/DebugDataDumper.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/DebugDataDumper.java index c160c936c03..d5b48bb05cb 100644 --- a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/DebugDataDumper.java +++ b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/DebugDataDumper.java @@ -140,18 +140,18 @@ private void createDirectory(final Path path, final String directoryName, final } @VisibleForTesting - protected static String formatTimestamp(final Optional arrivalTimestamp) { + static String formatTimestamp(final Optional arrivalTimestamp) { if (arrivalTimestamp.isEmpty()) { return "unknown"; } final DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SS"); - Date date = new Date(arrivalTimestamp.get().longValue()); + final Date date = new Date(arrivalTimestamp.get().longValue()); return df.format(date); } @VisibleForTesting - protected boolean isEnabled() { + boolean isEnabled() { return enabled; } }