mirror of
https://github.com/google/nomulus.git
synced 2025-05-20 19:29:35 +02:00
Make a few quality-of-life improvements in CloudTasksUtils (#1521)
* Make a few quality-of-life improvements in CloudTasksUtils 1. Update the method names. There are too many overloaded methods and it is hard to figure out which one does which without checking the javadoc. 2. Added a method in the task matcher to specify the delay time in DateTime, so the caller does not need to convert it to Timestamp. 3. Remove the expilict dependency on a clock when enqueueing a task with delay, the clock is now injected directly into the util instance itself.
This commit is contained in:
parent
88f274a601
commit
d355da362f
31 changed files with 119 additions and 123 deletions
|
@ -29,6 +29,7 @@ com.google.http-client:google-http-client-gson:1.39.2
|
|||
com.google.http-client:google-http-client:1.39.2
|
||||
com.google.j2objc:j2objc-annotations:1.3
|
||||
com.google.oauth-client:google-oauth-client:1.31.4
|
||||
com.google.protobuf:protobuf-java-util:3.17.3
|
||||
com.google.protobuf:protobuf-java:3.17.3
|
||||
com.google.re2j:re2j:1.6
|
||||
com.ibm.icu:icu4j:68.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue