Skip to content

Fix build warnings in TestModule#2780

Merged
jaschdoc merged 1 commit intomainfrom
gp-compiletestkotlin-warnings
Feb 10, 2026
Merged

Fix build warnings in TestModule#2780
jaschdoc merged 1 commit intomainfrom
gp-compiletestkotlin-warnings

Conversation

@jaschdoc
Copy link
Copy Markdown
Collaborator

@jaschdoc jaschdoc commented Feb 9, 2026

This PR removes calls the deprecated StringBuilder.appendln method and replaces it with StringBuilder.appendLine. It also asserts that File.getName is a non-null string and throws an error otherwise. Maybe the explicit throw can be omitted if it is handled by Kotlin's implicit non-null assertions? Although File.getName is annotated with NotNull it still seems safer to throw at the binding site.

@jaschdoc jaschdoc marked this pull request as ready for review February 9, 2026 14:17
@jaschdoc jaschdoc force-pushed the gp-compiletestkotlin-warnings branch from b35d5af to cf6321e Compare February 10, 2026 08:18
@jaschdoc jaschdoc merged commit adeb4c9 into main Feb 10, 2026
3 checks passed
@jaschdoc jaschdoc deleted the gp-compiletestkotlin-warnings branch February 10, 2026 10:30
@zxcvbnm07511236-bot
Copy link
Copy Markdown

zxcvbnm07511236-bot commented Feb 18, 2026 via email

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