summaryrefslogtreecommitdiffstats
path: root/packages/root-pack-extras/config-resources
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-04-10 12:11:55 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-04-10 12:14:07 -0700
commit19340cad94eeaa1b580f7c0c99531de499e8ca14 (patch)
treeaf4989c384f5d8c54d01b2fa160e2d53ac71a6f5 /packages/root-pack-extras/config-resources
parentd60f3ad34b20c16d31da8f8a09ed2d9adb10f493 (diff)
Remove unnecessary use of Calendar.getInstance()
Calendar.getInstance() is expensive and unnecessary when we only need the system time. This change replaces the uses of Calendar.getInstance() with System.currentTimeMillis(). Change-Id: I476f8850f5eb88d20cf7249cca5bb2e9b671b45a Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'packages/root-pack-extras/config-resources')
0 files changed, 0 insertions, 0 deletions