From abad5f6d220986ffcbb1b3b106cd7af4c4e6743e Mon Sep 17 00:00:00 2001 From: Carter Kozak Date: Mon, 21 Oct 2019 16:25:19 -0400 Subject: [PATCH] NON-NLS more difficult example --- .../com/palantir/javaformat/java/testdata/NON-NLS.input | 2 ++ .../com/palantir/javaformat/java/testdata/NON-NLS.output | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/NON-NLS.input b/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/NON-NLS.input index ace31c646..18e9412e2 100644 --- a/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/NON-NLS.input +++ b/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/NON-NLS.input @@ -17,4 +17,6 @@ class MultilineStringConstant { "field_3," + "field_4"; + private static final String SINGLE_LINE_NON_NLS = "field_0," + "field_1," + "field_2," + "field_3," + "field_4"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ + } diff --git a/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/NON-NLS.output b/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/NON-NLS.output index abab4bea4..056fe6eb1 100644 --- a/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/NON-NLS.output +++ b/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/NON-NLS.output @@ -15,4 +15,10 @@ class MultilineStringConstant { private static final String MULTIPLE_LINE_NO_COMMENT = "field_0," + "field_1," + "field_2," + "field_3," + "field_4"; + + private static final String SINGLE_LINE_NON_NLS = "field_0," + + "field_1," + + "field_2," + + "field_3," + + "field_4"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ }