IDEMPIERE-3759 Env.getContextAsDate should not log warning
This commit is contained in:
parent
ea2151698d
commit
6b4bc86fba
|
|
@ -871,14 +871,8 @@ public final class Env
|
||||||
throw new IllegalArgumentException ("Require Context");
|
throw new IllegalArgumentException ("Require Context");
|
||||||
String s = getContext(ctx, WindowNo, context, false);
|
String s = getContext(ctx, WindowNo, context, false);
|
||||||
// JDBC Format YYYY-MM-DD example 2000-09-11 00:00:00.0
|
// JDBC Format YYYY-MM-DD example 2000-09-11 00:00:00.0
|
||||||
if (s == null || s.equals(""))
|
if (Util.isEmpty(s))
|
||||||
{
|
|
||||||
if (!"#date".equalsIgnoreCase(context))
|
|
||||||
{
|
|
||||||
log.log(Level.WARNING, "No value for: " + context);
|
|
||||||
}
|
|
||||||
return new Timestamp(System.currentTimeMillis());
|
return new Timestamp(System.currentTimeMillis());
|
||||||
}
|
|
||||||
|
|
||||||
// BUG:3075946 KTU - Fix Thai Date
|
// BUG:3075946 KTU - Fix Thai Date
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue