Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Capability.java #6412

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

parampreetchahal
Copy link

Adjusted the error message in CapabilityResult.unsupported for DEFAULT_NAME_PATTERN mismatch.
The message now explicitly lists the allowed characters and pattern restrictions based on the regex.
This keeps the logic consistent and clarifies validation criteria for users.

@justinmclean
Copy link
Member

We use Spotless to make sure code is consistently formatted; you'll need to run ./gradlew :core:spotlessApply to fix the formatting error to get the tests to pass.

@justinmclean
Copy link
Member

I'm still seeing the same issue, did you run ./gradlew :core:spotlessApply and commit the changes?

@parampreetchahal
Copy link
Author

I'm still seeing the same issue, did you run ./gradlew :core:spotlessApply and commit the changes?

yes i did

@justinmclean
Copy link
Member

You may need to use Java 17 as that's what it is failing on.

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.

2 participants