Skip to content

Conversation

@Pankraz76
Copy link
Contributor

Please DO NOT FORCE PUSH. Don't worry about messy history, it's easier to do code review if we can tell what happened after the review, and force pushing breaks that.

Please make sure that your PR allows edits from maintainers. Sometimes it's faster for us to just fix something than it is to describe how to fix it.

Allow edits from maintainers

After creating the PR, please add a commit that adds a bullet-point under the [Unreleased] section of CHANGES.md, plugin-gradle/CHANGES.md, and plugin-maven/CHANGES.md which includes:

  • a summary of the change
  • either
    • a link to the issue you are resolving (for small changes)
    • a link to the PR you just created (for big changes likely to have discussion)

If your change only affects a build plugin, and not the lib, then you only need to update the plugin-foo/CHANGES.md for that plugin.

If your change affects lib in an end-user-visible way (fixing a bug, updating a version) then you need to update CHANGES.md for both the lib and all build plugins. Users of a build plugin shouldn't have to refer to lib to see changes that affect them.

This makes it easier for the maintainers to quickly release your changes :)

@Pankraz76 Pankraz76 force-pushed the fix-Can-be-replaced-with-'String.repeat()'- branch from 96c28af to a7f0f4e Compare November 1, 2025 11:39
@Pankraz76 Pankraz76 changed the title Can be replaced with 'String.repeat()' Can be replaced with String.repeat() Nov 1, 2025
@Pankraz76 Pankraz76 force-pushed the fix-Can-be-replaced-with-'String.repeat()'- branch from a7f0f4e to c80016a Compare November 1, 2025 11:41
@Pankraz76 Pankraz76 marked this pull request as ready for review November 1, 2025 11:41
@Pankraz76 Pankraz76 force-pushed the fix-Can-be-replaced-with-'String.repeat()'- branch 4 times, most recently from 0ee0896 to 96759cf Compare November 3, 2025 11:12
@Pankraz76 Pankraz76 force-pushed the fix-Can-be-replaced-with-'String.repeat()'- branch from 96759cf to 18f0eb8 Compare November 3, 2025 11:14
@Pankraz76
Copy link
Contributor Author

Pankraz76 commented Nov 3, 2025

seems flaky:

karoundsTest > Worktrees perWorktreeConfig() PASSED
com.diffplug.spotless.extra.cpp.EclipseCdtFormatterStepTest > formatWithVersion(String) [1] 11.0 PASSED (13.1s)
com.diffplug.spotless.extra.cpp.EclipseCdtFormatterStepTest > formatWithVersion(String) [2] 11.6 FAILED (5.1s)

  com.diffplug.spotless.ThrowingEx$WrappedAsRuntimeException: java.io.IOException: Failed to load eclipse cdt formatter: java.lang.IllegalStateException: P2 operation already in progress, close other clients or delete stale lockfile at C:Usersrunneradmin.m2repositorydevequop2-datametadata.lock
      at app//com.diffplug.spotless.extra.cpp.EclipseCdtFormatterStepTest.formatWithVersion(EclipseCdtFormatterStepTest.java:34)
  Caused by: java.io.IOException: Failed to load eclipse cdt formatter: java.lang.IllegalStateException: P2 operation already in progress, close other clients or delete stale lockfile at C:Usersrunneradmin.m2repositorydevequop2-datametadata.lock
      at com.diffplug.spotless.extra.cpp.EclipseCdtFormatterStepTest.formatWithVersion(EclipseCdtFormatterStepTest.java:34)
  Caused by: java.lang.IllegalStateException: P2 operation already in progress, close other clients or delete stale lockfile at C:Usersrunneradmin.m2repositorydevequop2-datametadata.lock
      at com.diffplug.spotless.extra.cpp.EclipseCdtFormatterStepTest.formatWithVersion(EclipseCdtFormatterStepTest.java:34)
[/[]

> Task :plugin-gradle:test

@Pankraz76 Pankraz76 force-pushed the fix-Can-be-replaced-with-'String.repeat()'- branch from 3571680 to b0a1b92 Compare November 3, 2025 12:18
@nedtwigg
Copy link
Member

nedtwigg commented Nov 3, 2025

This seems to have some duplication with the other open PR. I need a break from reviewing these for a little while, see #2702 (comment)

@nedtwigg nedtwigg closed this Nov 3, 2025
@Pankraz76
Copy link
Contributor Author

yes its a little too much, im sorry for that.

Never the less thank you very much for the great journey so far.

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