Commit bec0ebf
committed
Enable and fix Java compiler warnings.
- metafacture-commons/src/main/java/org/metafacture/commons/reflection/ConfigurableClass.java:203: warning: [unchecked] unchecked method invocation: method valueOf in class Enum is applied to given types
- metafacture-biblio/src/main/java/org/metafacture/biblio/ComarcXmlHandler.java:105: warning: [fallthrough] possible fall-through into case
- metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Encoder.java:74: warning: [static] static variable should be qualified by type name, RecordFormat, instead of by an expression
- metafacture-biblio/src/main/java/org/metafacture/biblio/marc21/Marc21Encoder.java:160: warning: [static] static variable should be qualified by type name, RecordFormat, instead of by an expression
- metafacture-flowcontrol/src/test/java/org/metafacture/flowcontrol/CloseSuppressorTest.java:34: warning: [unchecked] unchecked conversion
- metafacture-formeta/src/main/java/org/metafacture/formeta/FormetaRecordsReader.java:81: warning: [fallthrough] possible fall-through into case
- metafacture-javaintegration/src/test/java/org/metafacture/javaintegration/pojo/PojoEncoderTest.java:260: warning: [unchecked] unchecked cast
- metafacture-xml/src/test/java/org/metafacture/xml/GenericXMLHandlerTest.java:50: warning: [deprecation] GenericXmlHandler(String) in GenericXmlHandler has been deprecated1 parent 8bb0808 commit bec0ebf
File tree
8 files changed
+26
-6
lines changed- metafacture-biblio/src/main/java/org/metafacture/biblio
- marc21
- metafacture-commons/src/main/java/org/metafacture/commons/reflection
- metafacture-flowcontrol/src/test/java/org/metafacture/flowcontrol
- metafacture-formeta/src/main/java/org/metafacture/formeta
- metafacture-javaintegration/src/test/java/org/metafacture/javaintegration/pojo
- metafacture-xml/src/test/java/org/metafacture/xml
8 files changed
+26
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
| 74 | + | |
69 | 75 | | |
70 | 76 | | |
71 | 77 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | | - | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
160 | | - | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
31 | 41 | | |
32 | 42 | | |
33 | 43 | | |
34 | | - | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| 257 | + | |
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
0 commit comments