public void setTimestampFormat(String timestampFormat) { if ( (timestampFormat != null) && timestampFormat.equalsIgnoreCase("null") ) // 20040512 bug 948070 this.timestampFormat = "yyyyMMddHHmmss"; else this.timestampFormat = timestampFormat; }
Logged In: YES user_id=184363
Absolutely, the timeformat should be handled properly if tformat is set to "null".
This feature request is an addition for bug# 948070 and it goes to jonelo.Jacksum.Jacksum.java:
private final static String TIMESTAMPFORMAT_DEFAULT = "yyyyMMddHHmmss"; ...
if (props.getProperty("tformat").equals("null")) { // bug #948070 System.err.println("Jacksum: Can't determine timeformat (tformat=null), trying default (tformat="+TIMESTAMPFORMAT_DEFAULT+")"); checksum.setTimestampFormat(TIMESTAMPFORMAT_DEFAULT); } else { checksum.setTimestampFormat(props.getProperty("tformat")); ...
RFE has been implemented in Jacksum 1.5.0 as promised.
Log in to post a comment.
Logged In: YES
user_id=184363
Absolutely, the timeformat should be handled properly if
tformat is set to "null".
This feature request is an addition for bug# 948070 and it
goes to jonelo.Jacksum.Jacksum.java:
private final static String TIMESTAMPFORMAT_DEFAULT =
"yyyyMMddHHmmss";
...
if (props.getProperty("tformat").equals("null")) { // bug
#948070
System.err.println("Jacksum: Can't determine timeformat
(tformat=null), trying default
(tformat="+TIMESTAMPFORMAT_DEFAULT+")");
checksum.setTimestampFormat(TIMESTAMPFORMAT_DEFAULT);
} else {
checksum.setTimestampFormat(props.getProperty("tformat"));
...
Logged In: YES
user_id=184363
RFE has been implemented in Jacksum 1.5.0 as promised.