Skip to content

Convert java.util.concurrent.TimeUnit to kotlin.time.Duration - #496

Closed
veyndan wants to merge 1 commit into
androidx:androidx-mainfrom
veyndan:270612487/timeunit-to-duration
Closed

Convert java.util.concurrent.TimeUnit to kotlin.time.Duration#496
veyndan wants to merge 1 commit into
androidx:androidx-mainfrom
veyndan:270612487/timeunit-to-duration

Conversation

@veyndan

@veyndan veyndan commented Mar 2, 2023

Copy link
Copy Markdown
Contributor

Test: ./gradlew test connectedCheck
Bug: 270612487

Comment thread paging/paging-common/api/current.txt Outdated

public enum LoadType {
method public static androidx.paging.LoadType valueOf(String value) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;
method public static androidx.paging.LoadType valueOf(String name) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This API change (along with the others) seems to just be a reversion of 110d3a7 from a couple of days ago. I was prompted to run ./gradlew updateApi which resulted in these changes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance you can try to rebase and re-run? GitHub got out of sync for metalava build (which does our api tracking) over night, but should be fixed now.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebased! Thanks – after running ./gradlew updateApi again, it undid all the supposed API changes.

@veyndan
veyndan force-pushed the 270612487/timeunit-to-duration branch from 94da6ec to ba434ca Compare March 2, 2023 20:19
@claraf3
claraf3 self-requested a review March 3, 2023 18:53
@copybara-service copybara-service Bot closed this in 4692e21 Mar 3, 2023
@veyndan
veyndan deleted the 270612487/timeunit-to-duration branch March 3, 2023 20:37
harryzz pushed a commit to harryzz/compose-multiplatform-core that referenced this pull request Jul 28, 2026
Test: ./gradlew test connectedCheck
Bug: 270612487

This is an imported pull request from androidx#496.

Resolves JetBrains#496
Github-Pr-Head-Sha: ba434ca
GitOrigin-RevId: 75d9b48
Change-Id: I28b2da4f24eb614e6f6571a7c221511ccea1b749
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants