Skip to content

Commit 70fb1f3

Browse files
committed
Small changes
1 parent 1aff63f commit 70fb1f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/util/DebugDataDumper.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -140,18 +140,18 @@ private void createDirectory(final Path path, final String directoryName, final
140140
}
141141

142142
@VisibleForTesting
143-
protected static String formatTimestamp(final Optional<UInt64> arrivalTimestamp) {
143+
static String formatTimestamp(final Optional<UInt64> arrivalTimestamp) {
144144
if (arrivalTimestamp.isEmpty()) {
145145
return "unknown";
146146
}
147147

148148
final DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SS");
149-
Date date = new Date(arrivalTimestamp.get().longValue());
149+
final Date date = new Date(arrivalTimestamp.get().longValue());
150150
return df.format(date);
151151
}
152152

153153
@VisibleForTesting
154-
protected boolean isEnabled() {
154+
boolean isEnabled() {
155155
return enabled;
156156
}
157157
}

0 commit comments

Comments
 (0)