Skip to content

Use Uri.Builder for Uplynk connector#75

Merged
MattiasBuelens merged 7 commits intomasterfrom
feature/uplynk-uri-builder
Mar 26, 2026
Merged

Use Uri.Builder for Uplynk connector#75
MattiasBuelens merged 7 commits intomasterfrom
feature/uplynk-uri-builder

Conversation

@MattiasBuelens
Copy link
Copy Markdown
Contributor

Instead of doing a bunch of (brittle) string manipulation, just use Uri.Builder.

This introduces no functional changes, it just makes the code easier to read and maintain. 😁

@MattiasBuelens MattiasBuelens added the 🔌 connector: uplynk Affects the Uplynk connector label Mar 25, 2026
@MattiasBuelens MattiasBuelens force-pushed the feature/uplynk-uri-builder branch from 384676d to 2ebfcfa Compare March 25, 2026 12:53
private val adScheduler: UplynkAdScheduler
) {
private val NEGATIVE_TIME = (-1).toDuration(DurationUnit.SECONDS)
private val NEGATIVE_TIME = (-1).seconds
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍

)
} else {
""
listOf()
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Maybe emptyList()?

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.

Copy link
Copy Markdown

@adadukin-dolby adadukin-dolby left a comment

Choose a reason for hiding this comment

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

LGTM, only a few minor questions 👍

@MattiasBuelens MattiasBuelens force-pushed the feature/uplynk-uri-builder branch from a9c3172 to 7b73319 Compare March 26, 2026 08:59
@MattiasBuelens MattiasBuelens force-pushed the feature/uplynk-uri-builder branch from 7b73319 to deab0d0 Compare March 26, 2026 17:00
@MattiasBuelens MattiasBuelens merged commit bd200f0 into master Mar 26, 2026
1 check passed
@MattiasBuelens MattiasBuelens deleted the feature/uplynk-uri-builder branch March 26, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔌 connector: uplynk Affects the Uplynk connector

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants