TDI-31702: TalendDate.getCurrentDate() has a bad performance

https://jira.talendforge.org/browse/TDI-31702
This commit is contained in:
wang wei
2015-12-14 09:34:49 +08:00
parent 6705e9bd2f
commit ef10de6097

View File

@@ -1049,7 +1049,7 @@ public class TalendDate {
* {example} getCurrentDate()
*/
public static Date getCurrentDate() {
return Calendar.getInstance().getTime();
return new Date();
}
/**