Re-design of the TimeOutDuration and WithTimeout. Use java.time.Duration instead of java.util.concurrent.TimeUnit
Navigation Menu
{{ message }}
appium / java-client Public
- Notifications You must be signed in to change notification settings
- Fork 763
Closed
Labels
Description
Description
-
mark old methods and parameters of the annotation
@Deprecated -
add get/set methods to the TimeOutDuration. These methods should get and set an instance of 'java.time.Duration'
-
WithTimeout should have a parameter of the
java.time.temporal.ChronoUnit
Details
Java 8 is more powerful than 7. Also I think it is more correct way to use the native and general java.time package instead of more specifical java.util.concurrent in our case.
Metadata
Metadata
Assignees
Labels
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions