TDI-31702: TalendDate.getCurrentDate() has a bad performance
https://jira.talendforge.org/browse/TDI-31702
This commit is contained in:
@@ -1049,7 +1049,7 @@ public class TalendDate {
|
||||
* {example} getCurrentDate()
|
||||
*/
|
||||
public static Date getCurrentDate() {
|
||||
return Calendar.getInstance().getTime();
|
||||
return new Date();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user