Debian Codegraph @

debian/patches/no_googlejavaformat.patch

raw symbols SCIP
1 Authorscip-debian debian re2j 1.7+dfsg-1 re2j/patches/`no_googlejavaformat.patch`#Author.: Vincent Prat <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Descriptionscip-debian debian re2j 1.7+dfsg-1 re2j/patches/`no_googlejavaformat.patch`#Description.: Disables formatting of code by google-java-format
3 Forwardedscip-debian debian re2j 1.7+dfsg-1 re2j/patches/`no_googlejavaformat.patch`#Forwarded.: not-needed
4 --- a/unicode/src/main/java/com/google/re2j/UnicodeTablesGenerator.javascip-debian debian re2j 1.7+dfsg-1 re2j/upstream/`unicode/src/main/java/com/google/re2j/UnicodeTablesGenerator.java`:
5 +++ b/unicode/src/main/java/com/google/re2j/UnicodeTablesGenerator.javascip-debian debian re2j 1.7+dfsg-1 re2j/upstream/`unicode/src/main/java/com/google/re2j/UnicodeTablesGenerator.java`:
6 @@ -9,8 +9,8 @@
7 import com.google.common.collect.Sets;
8 import com.google.common.collect.SortedSetMultimap;
9 import com.google.common.collect.TreeMultimap;
10 -import com.google.googlejavaformat.java.Formatter;
11 -import com.google.googlejavaformat.java.FormatterException;
12 +//import com.google.googlejavaformat.java.Formatter;
13 +//import com.google.googlejavaformat.java.FormatterException;
14 import com.ibm.icu.impl.UPropertyAliases;
15 import com.ibm.icu.lang.UCharacter;
16 import com.ibm.icu.lang.UCharacterCategory;
17 @@ -279,12 +279,12 @@
18 .build();
19
20 String source = javaFile.toString();
21 - try {
22 - source = new Formatter().formatSource(source);
23 - } catch (FormatterException e) {
24 - System.err.println("google-java-format reported an error, the output is most likely invalid");
25 - e.printStackTrace();
26 - }
27 +// try {
28 +// source = new Formatter().formatSource(source);
29 +// } catch (FormatterException e) {
30 +// System.err.println("google-java-format reported an error, the output is most likely invalid");
31 +// e.printStackTrace();
32 +// }
33
34 System.out.print(source);
35 }