Implement intracomment stripping with a second round of java_scrub.

This is cleaner than using core.replace and regular expressions.

Behavior appears to be equivalent, including the removal of the full lines containing the stripping tags.

Tested:
  copybara third_party/java_src/google_java_format/copy.bara.sky presubmit_piper_to_github 311003756 --init-history --squash --dry-run --git-destination-path /tmp/foo --force --piper-only-presubmit=false

  copybara third_party/java_src/auto/opensource/copy.bara.sky presubmit_piper_to_github 311003756 --init-history --squash --dry-run --git-destination-path /tmp/foo --force --piper-only-presubmit=false --ignore-noop

  copybara third_party/java_src/turbine/copy.bara.sky postsubmit_piper_to_github --init-history --squash --dry-run --git-destination-path /tmp/foo --force --piper-only-presubmit=false

  copybara third_party/java_src/error_prone/opensource/copy.bara.sky postsubmit_piper_to_github --init-history --squash --dry-run --git-destination-path /tmp/foo --force --piper-only-presubmit=false

PiperOrigin-RevId: 311003756
1 file changed
tree: 9d3ead2b29012887dfeb6a3801e1b6e0da73e535
  1. java/
  2. javatests/
  3. proto/
  4. .gitignore
  5. .travis.yml
  6. appveyor.yml
  7. LICENSE
  8. pom.xml
  9. README.md
README.md

Turbine

Turbine is a header compiler for Java.