dep3 headers for new patch
[debian/jabref.git] / debian / patches / jcombobox-parameter.patch
1 Description: workaround error:
2     [javac] /tmp/buildd/jabref-2.10~beta1+ds/src/java/net/sf/jabref/FileTab.java:40: type javax.swing.JComboBox does not take parameters
3     [javac]     private JComboBox<String> valueDelimiter;
4     [javac]                      ^
5  .
6     [javac] /tmp/buildd/jabref-2.10~beta1+ds/src/java/net/sf/jabref/FileTab.java:70: type javax.swing.JComboBox does not take parameters
7     [javac]         valueDelimiter = new JComboBox<String>(new String[]{
8     [javac]                                       ^
9 Origin: vendor
10 Forwarded: via private mail
11 Author: gregor herrmann <gregoa@debian.org>
12 Last-Update: 2013-03-29
13
14 --- a/src/java/net/sf/jabref/FileTab.java
15 +++ b/src/java/net/sf/jabref/FileTab.java
16 @@ -37,7 +37,7 @@
17  
18      private JCheckBox backup, openLast, autoDoubleBraces, autoSave,
19              promptBeforeUsingAutoSave, includeEmptyFields, camelCase, sameColumn;
20 -    private JComboBox<String> valueDelimiter;
21 +    private JComboBox valueDelimiter;
22      private JRadioButton
23          saveOriginalOrder, saveAuthorOrder, saveTableOrder, saveTitleOrder,
24          exportOriginalOrder, exportAuthorOrder, exportTableOrder, exportTitleOrder,
25 @@ -67,7 +67,7 @@
26          autoSave = new JCheckBox(Globals.lang("Autosave"));
27          promptBeforeUsingAutoSave = new JCheckBox(Globals.lang("Prompt before recovering a database from an autosave file"));
28          autoSaveInterval = new JSpinner(new SpinnerNumberModel(1, 1, 60, 1));
29 -        valueDelimiter = new JComboBox<String>(new String[]{
30 +        valueDelimiter = new JComboBox(new String[]{
31                  Globals.lang("Quotes") + ": \", \"",
32                  Globals.lang("Curly Brackets") + ": {, }" });
33          includeEmptyFields = new JCheckBox(Globals.lang("Include empty fields"));