1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<FindBugsFilter >
3
3
<Match >
4
+ <Or >
5
+ <And >
6
+ <Or >
7
+ <Class name =" com.itextpdf.io.font.Type1Font" />
8
+ <Class name =" com.itextpdf.io.image.BmpImageHelper" />
9
+ </Or >
10
+ <Method name =" process" />
11
+ </And >
12
+ <And >
13
+ <Class name =" com.itextpdf.io.image.TiffImageHelper" />
14
+ <Method name =" processTiffImageColor" />
15
+ </And >
16
+ </Or >
4
17
<Bug pattern =" CC_CYCLOMATIC_COMPLEXITY" />
5
18
</Match >
6
19
<Match >
20
+ <Class name =" com.itextpdf.io.font.CFFFont" />
21
+ <Or >
22
+ <Method name =" getCID" />
23
+ <Method name =" getIndex" />
24
+ </Or >
7
25
<Bug pattern =" DLS_DEAD_LOCAL_STORE_SHADOWS_FIELD" />
8
26
</Match >
9
27
<Match >
28
+ <Or >
29
+ <And >
30
+ <Class name =" com.itextpdf.io.codec.TIFFFaxDecompressor" />
31
+ <Method name =" decodeT4" />
32
+ </And >
33
+ <And >
34
+ <Class name =" com.itextpdf.io.font.CFFFontSubset" />
35
+ <Method name =" Process" />
36
+ </And >
37
+ <And >
38
+ <Class name =" com.itextpdf.io.font.OpenTypeParser" />
39
+ <Or >
40
+ <Method name =" getFullFont" />
41
+ <Method name =" readCffFont" />
42
+ </Or >
43
+ </And >
44
+ <And >
45
+ <Class name =" com.itextpdf.io.font.TrueTypeFontSubset" />
46
+ <Method name =" process" />
47
+ </And >
48
+ </Or >
49
+ <Bug pattern =" DE_MIGHT_IGNORE" />
50
+ </Match >
51
+ <Match >
52
+ <Class name =" com.itextpdf.io.font.woff2.JavaUnsignedUtil" />
53
+ <Method name =" compareAsUnsigned" />
10
54
<Bug pattern =" DM_BOXED_PRIMITIVE_FOR_COMPARE" />
11
55
</Match >
12
56
<Match >
57
+ <Or >
58
+ <And >
59
+ <Class name =" com.itextpdf.io.codec.Base64" />
60
+ <Or >
61
+ <Method name =" decode" params =" java.lang.String, int" />
62
+ <Method name =" encodeBytes" />
63
+ <Method name =" encodeObject" params =" java.io.Serializable, int" />
64
+ </Or >
65
+ </And >
66
+ <And >
67
+ <Class name =" com.itextpdf.io.codec.TIFFDirectory" />
68
+ <Method name =" initialize" />
69
+ </And >
70
+ <And >
71
+ <Class name =" com.itextpdf.io.font.FontIdentification" />
72
+ <Method name =" setPanose" />
73
+ </And >
74
+ <And >
75
+ <Class name =" com.itextpdf.io.font.cmap.CMapContentParser" />
76
+ <Method name =" decodeCMapObject" />
77
+ </And >
78
+ <And >
79
+ <Class name =" com.itextpdf.io.source.PdfTokenizer" />
80
+ <Or >
81
+ <Method name =" getStringValue" />
82
+ <Method name =" nextValidToken" />
83
+ </Or >
84
+ </And >
85
+ <And >
86
+ <Class name =" com.itextpdf.io.util.SystemUtil" />
87
+ <Or >
88
+ <Method name =" printProcessErrorsOutput" />
89
+ <Method name =" printProcessOutput" />
90
+ </Or >
91
+ </And >
92
+ </Or >
13
93
<Bug pattern =" DM_DEFAULT_ENCODING" />
14
94
</Match >
15
95
<Match >
96
+ <Or >
97
+ <And >
98
+ <Class name =" com.itextpdf.io.codec.TIFFFaxDecompressor" />
99
+ <Method name =" decodeT4" />
100
+ </And >
101
+ <And >
102
+ <Class name =" com.itextpdf.io.codec.brotli.dec.BitReader" />
103
+ <Or >
104
+ <Method name =" copyBytes" />
105
+ <Method name =" readMoreInput" />
106
+ </Or >
107
+ </And >
108
+ <And >
109
+ <Class name =" com.itextpdf.io.colors.IccProfile" />
110
+ <Or >
111
+ <Method name =" getIccColorSpaceName" />
112
+ <Method name =" getIccDeviceClass" />
113
+ <Method name =" getInstance" params =" com.itextpdf.io.source.RandomAccessFileOrArray" />
114
+ <Method name =" getInstance" params =" java.io.InputStream" />
115
+ <Method name =" getInstance" params =" java.lang.String" />
116
+ </Or >
117
+ </And >
118
+ <And >
119
+ <Class name =" com.itextpdf.io.font.CFFFont" />
120
+ <Or >
121
+ <Method name =" getCard16" />
122
+ <Method name =" getCard8" />
123
+ <Method name =" getInt" />
124
+ <Method name =" getPosition" />
125
+ <Method name =" getShort" />
126
+ <Method name =" seek" />
127
+ </Or >
128
+ </And >
129
+ <And >
130
+ <Class name =" com.itextpdf.io.font.CFFFontSubset" />
131
+ <Method name =" Process" />
132
+ </And >
133
+ <And >
134
+ <Class name =" com.itextpdf.io.font.FontCache" />
135
+ <Method name =" parseCmap" />
136
+ </And >
137
+ <And >
138
+ <Class name =" com.itextpdf.io.font.FontRegisterProvider" />
139
+ <Method name =" registerFont" />
140
+ </And >
141
+ <And >
142
+ <Class name =" com.itextpdf.io.font.PdfEncodings" />
143
+ <Or >
144
+ <Method name =" convertToBytes" params =" char,java.lang.String" />
145
+ <Method name =" convertToBytes" params =" java.lang.String, java.lang.String" />
146
+ <Method name =" convertToString" />
147
+ </Or >
148
+ </And >
149
+ <And >
150
+ <Class name =" com.itextpdf.io.font.TrueTypeFont" />
151
+ <Or >
152
+ <Method name =" getFontStreamBytes" />
153
+ <Method name =" getSubset" />
154
+ </Or >
155
+ </And >
156
+ <And >
157
+ <Class name =" com.itextpdf.io.font.TrueTypeFontSubset" />
158
+ <Method name =" readStandardString" />
159
+ </And >
160
+ <And >
161
+ <Class name =" com.itextpdf.io.font.Type1Parser" />
162
+ <Method name =" getMetricsFile" />
163
+ </And >
164
+ <And >
165
+ <Class name =" com.itextpdf.io.font.woff2.Woff2Dec" />
166
+ <Method name =" woff2Uncompress" />
167
+ </And >
168
+ <And >
169
+ <Or >
170
+ <Class name =" com.itextpdf.io.image.BmpImageHelper" />
171
+ <Class name =" com.itextpdf.io.image.GifImageHelper" />
172
+ <Class name =" com.itextpdf.io.image.Jbig2ImageHelper" />
173
+ <Class name =" com.itextpdf.io.image.JpegImageHelper" />
174
+ <Class name =" com.itextpdf.io.image.PngImageHelper" />
175
+ <Class name =" com.itextpdf.io.image.TiffImageHelper" />
176
+ </Or >
177
+ <Method name =" processImage" />
178
+ </And >
179
+ <And >
180
+ <Class name =" com.itextpdf.io.image.GifImageHelper" />
181
+ <Method name =" readFrame" />
182
+ </And >
183
+ <And >
184
+ <Class name =" com.itextpdf.io.image.ImageDataFactory" />
185
+ <Method name =" readImageType" />
186
+ </And >
187
+ <And >
188
+ <Or >
189
+ <Class name =" com.itextpdf.io.image.Jbig2ImageData" />
190
+ <Class name =" com.itextpdf.io.image.TiffImageData" />
191
+ </Or >
192
+ <Method name =" getNumberOfPages" params =" com.itextpdf.io.source.RandomAccessFileOrArray" />
193
+ </And >
194
+ <And >
195
+ <Class name =" com.itextpdf.io.image.Jpeg2000ImageHelper" />
196
+ <Method name =" processParameters" />
197
+ </And >
198
+ <And >
199
+ <Class name =" com.itextpdf.io.image.PngImageHelper" />
200
+ <Method name =" processPng" />
201
+ </And >
202
+ <And >
203
+ <Class name =" com.itextpdf.io.image.TiffImageHelper" />
204
+ <Or >
205
+ <Method name =" processTiffImage" />
206
+ <Method name =" processTiffImageColor" />
207
+ </Or >
208
+ </And >
209
+ <And >
210
+ <Class name =" com.itextpdf.io.source.OutputStream" />
211
+ <Or >
212
+ <Method name =" writeByte" params =" byte" />
213
+ <Method name =" writeByte" params =" int" />
214
+ <Method name =" writeBytes" />
215
+ <Method name =" writeDouble" />
216
+ <Method name =" writeInteger" />
217
+ <Method name =" writeLong" />
218
+ </Or >
219
+ </And >
220
+ <And >
221
+ <Class name =" com.itextpdf.io.source.PdfTokenizer" />
222
+ <Method name =" throwError" />
223
+ </And >
224
+ <And >
225
+ <Class name =" com.itextpdf.io.util.DateTimeUtil" />
226
+ <Method name =" parseSimpleFormat" />
227
+ </And >
228
+ <And >
229
+ <Class name =" com.itextpdf.io.util.FilterUtil" />
230
+ <Method name =" inflateData" />
231
+ </And >
232
+ <And >
233
+ <Class name =" com.itextpdf.io.util.StreamUtil" />
234
+ <Or >
235
+ <Method name =" writeEscapedString" />
236
+ <Method name =" writeHexedString" />
237
+ </Or >
238
+ </And >
239
+ </Or >
16
240
<Bug pattern =" EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS" />
17
241
</Match >
18
242
<Match >
243
+ <Or >
244
+ <Class name =" com.itextpdf.io.font.otf.GlyphLine" />
245
+ <Class name =" com.itextpdf.io.font.otf.GlyphLine$ActualText" />
246
+ </Or >
19
247
<Bug pattern =" HE_EQUALS_USE_HASHCODE" />
20
248
</Match >
21
249
<Match >
250
+ <Or >
251
+ <And >
252
+ <Class name =" com.itextpdf.io.font.CidFont" />
253
+ <Method name =" compatibleWith" />
254
+ </And >
255
+ <And >
256
+ <Class name =" com.itextpdf.io.font.CidFontProperties" />
257
+ <Method name =" isCidFont" />
258
+ </And >
259
+ <And >
260
+ <Class name =" com.itextpdf.io.font.CMapEncoding" />
261
+ <Or >
262
+ <Method name =" < init> " params =" java.lang.String" />
263
+ <Method name =" < init> " params =" java.lang.String, java.lang.String" />
264
+ </Or >
265
+ </And >
266
+ <And >
267
+ <Class name =" com.itextpdf.io.font.FontEncoding" />
268
+ <Method name =" fillCustomEncoding" />
269
+ </And >
270
+ <And >
271
+ <Class name =" com.itextpdf.io.font.FontRegisterProvider" />
272
+ <Method name =" getFont" />
273
+ </And >
274
+ <And >
275
+ <Class name =" com.itextpdf.io.font.OpenTypeParser" />
276
+ <Method name =" initializeSfntTables" />
277
+ </And >
278
+ <And >
279
+ <Class name =" com.itextpdf.io.font.PdfEncodings" />
280
+ <Or >
281
+ <Method name =" convertToBytes" params =" char,java.lang.String" />
282
+ <Method name =" convertToBytes" params =" java.lang.String, java.lang.String" />
283
+ </Or >
284
+ </And >
285
+ <And >
286
+ <Class name =" com.itextpdf.io.font.Type1Font" />
287
+ <Method name =" process" />
288
+ </And >
289
+ <And >
290
+ <Class name =" com.itextpdf.io.font.TrueTypeCollection" />
291
+ <Method name =" initFontSize" />
292
+ </And >
293
+ <And >
294
+ <Class name =" com.itextpdf.io.font.TrueTypeFontSubset" />
295
+ <Method name =" assembleFont" />
296
+ </And >
297
+ <And >
298
+ <Class name =" com.itextpdf.io.font.cmap.CMapContentParser" />
299
+ <Or >
300
+ <Method name =" readArray" />
301
+ <Method name =" readDictionary" />
302
+ </Or >
303
+ </And >
304
+ <And >
305
+ <Class name =" com.itextpdf.io.font.cmap.CMapParser" />
306
+ <Method name =" parseCid" />
307
+ </And >
308
+ <And >
309
+ <Or >
310
+ <Class name =" com.itextpdf.io.font.PdfEncodings" />
311
+ <Class name =" com.itextpdf.io.util.EncodingUtil" />
312
+ </Or >
313
+ <Method name =" convertToString" />
314
+ </And >
315
+ <And >
316
+ <Class name =" com.itextpdf.io.image.JpegImageHelper" />
317
+ <Method name =" processParameters" />
318
+ </And >
319
+ </Or >
22
320
<Bug pattern =" LSC_LITERAL_STRING_COMPARISON" />
23
321
</Match >
24
322
<Match >
323
+ <Class name =" com.itextpdf.io.font.CFFFont" />
324
+ <Method name =" getString" />
25
325
<Bug pattern =" LSYC_LOCAL_SYNCHRONIZED_COLLECTION" />
26
326
</Match >
27
327
<Match >
328
+ <Or >
329
+ <Class name =" com.itextpdf.io.source.ByteArrayOutputStream" />
330
+ <Class name =" com.itextpdf.io.source.DeflaterOutputStream" />
331
+ <Class name =" com.itextpdf.io.source.OutputStream" />
332
+ </Or >
28
333
<Bug pattern =" NM_SAME_SIMPLE_NAME_AS_SUPERCLASS" />
29
334
</Match >
30
335
<Match >
336
+ <Class name =" com.itextpdf.io.codec.Base64" />
337
+ <Method name =" decodeToObject" />
31
338
<Bug pattern =" OBJECT_DESERIALIZATION" />
32
339
</Match >
33
340
<Match >
341
+ <Class name =" com.itextpdf.io.image.TiffImageHelper" />
342
+ <Or >
343
+ <Method name =" processTiffImage" />
344
+ <Method name =" processTiffImageColor" />
345
+ </Or >
34
346
<Bug pattern =" REC_CATCH_EXCEPTION" />
35
347
</Match >
36
348
<Match >
349
+ <Class name =" com.itextpdf.io.font.OpenTypeParser" />
37
350
<Bug pattern =" UC_USELESS_CONDITION" />
38
351
</Match >
39
- </FindBugsFilter >
352
+ </FindBugsFilter >
0 commit comments