MCPcopy
hub / github.com/jOOQ/jOOQ / string

Method string

jOOQ/src/main/java/org/jooq/impl/MigrationImpl.java:737–742  ·  view source on GitHub ↗
(Instant instant)

Source from the content-addressed store, hash-verified

735 }
736
737 private static final String string(Instant instant) {
738 if (instant == null)
739 return "0000-00-00T00:00:00.000Z";
740 else
741 return StringUtils.rightPad(instant.toString(), 24);
742 }
743
744 private static final String string(Version version) {
745 return version.id() + (!isEmpty(version.message()) ? " (" + version.message() + ")" : "");

Callers 1

logMethod · 0.95

Calls 5

rightPadMethod · 0.95
toStringMethod · 0.65
idMethod · 0.65
isEmptyMethod · 0.65
messageMethod · 0.65

Tested by

no test coverage detected