Skip to content

Conversation

@mfateev
Copy link
Member

@mfateev mfateev commented Jan 9, 2026

Summary

  • Changed SNIP markers from /** block comments to // single-line comments in envconfig samples
  • Fixes ErrorProne's NotJavadoc warnings that were causing build failures with -Werror

Files Changed

  • core/src/main/java/io/temporal/samples/envconfig/LoadFromFile.java
  • core/src/main/java/io/temporal/samples/envconfig/LoadProfile.java

Test plan

  • ./gradlew :core:compileJava passes
  • ./gradlew build -x :springboot:test passes (excluding pre-existing test failure)

Note: HelloSampleTestMockedActivity test failure is a pre-existing issue unrelated to this change.

…rnings

ErrorProne's NotJavadoc check flags `/**` block comments that aren't
actual Javadoc. The SNIP markers are for documentation extraction,
not Javadoc, so use `//` single-line comments instead.
@mfateev mfateev requested review from a team, antmendoza and tsurdilo as code owners January 9, 2026 20:04
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.

1 participant