GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — One input, two outputs: getFormatReplacements does not reflow long strings · Issue #33 · openjavaformat/open-java-format Open Labels bugSomething isn't workingSomething isn't working DescriptionWhatUpstream palantir/palantir-java-format#1452 (open since 2025-10-24) reports that IntelliJ and Maven format the same file differently: the IDE wraps a long string, the build leaves it alone, so editing a file in the IDE pollutes the commit and then fails the build's check. The reason is that the two go through different entry points of the library. We have the same split, in a different place. Checked here on 2.98.0.2 with the reporter's file: class Test { public static void main(String[] args) { String example = "blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah"; } }
Running both library entry points over that file gives two different files: Why it matters hereThe manifesto says one style and nothing to tune, which only holds if the same file gives the same bytes wherever it is formatted. Today a file formatted by the Eclipse plugin can fail the check the GitHub Action runs, and neither output is wrong by itself. The Maven plugin in #26 would have to pick a side as well, and whichever it picks, half the users disagree with it. To decide first
Done when
ActivityMetadataMetadataAssigneesLabelsbugSomething isn't workingSomething isn't working TypeProjectsMilestoneRelationshipsDevelopmentIssue actions | |||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |