forked from scylladb/java-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clirr-ignores.xml
385 lines (359 loc) · 22 KB
/
clirr-ignores.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
<!--
Clirr is a tool that checks Java libraries for binary and source compatibility with older releases.
This file lists known (and accepted) differences with the reference version specified in pom.xml.
To update this file:
* run `mvn clirr:clirr` at the root directory
* check the reports in `<module>/target/site/clirr-report.html`
* add new differences if needed. Difference types are explained at http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html
The formatter introduces line breaks that make Clirr unhappy:
@formatter:off
-->
<!--
Copyright (C) 2020 ScyllaDB
Modified by ScyllaDB
-->
<differences>
<difference>
<differenceType>7004</differenceType> <!-- the number of arguments has changed -->
<className>com/datastax/driver/core/Metadata</className>
<method>java.util.Set getReplicas(java.lang.String, java.nio.ByteBuffer)</method>
<justification>Add partitioner that should be used to obtain replicas</justification>
</difference>
<difference>
<differenceType>7004</differenceType> <!-- the number of arguments has changed -->
<className>com/datastax/driver/core/Metadata</className>
<method>com.datastax.driver.core.Token newToken(java.nio.ByteBuffer[])</method>
<justification>Add partitioner that should be used to create a token</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/PreparedStatement</className>
<method>com.datastax.driver.core.Token$Factory getPartitioner()</method>
<justification>New method to get the partitioner used by a table targeted by a statement</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/PreparedStatement</className>
<method>boolean isLWT()</method>
<justification>New method to distinguish LWT statements from non-LWT statements</justification>
</difference>
<difference>
<differenceType>8001</differenceType> <!-- class removed -->
<className>com/datastax/driver/mapping/ColumnMapper$Kind</className>
<justification>False positive, the enclosing class is package-private so this was never exposed</justification>
</difference>
<difference>
<differenceType>1001</differenceType> <!-- decreased visibility -->
<className>com/datastax/driver/mapping/ColumnMapper$Kind</className>
<justification>False positive, the enclosing class is package-private so this was never exposed</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/mapping/annotations/QueryParameters</className>
<method>boolean[] idempotent()</method>
<justification>False positive, it's an annotation and the new method has a default value</justification>
</difference>
<difference>
<differenceType>8001</differenceType> <!-- class removed -->
<className>com/datastax/driver/extras/codecs/jdk8/InstantCodec</className>
<justification>This class is only present if the project was compiled with JDK 8+</justification>
</difference>
<difference>
<differenceType>8001</differenceType> <!-- class removed -->
<className>com/datastax/driver/extras/codecs/jdk8/LocalDateCodec</className>
<justification>This class is only present if the project was compiled with JDK 8+</justification>
</difference>
<difference>
<differenceType>8001</differenceType> <!-- class removed -->
<className>com/datastax/driver/extras/codecs/jdk8/LocalTimeCodec</className>
<justification>This class is only present if the project was compiled with JDK 8+</justification>
</difference>
<difference>
<differenceType>8001</differenceType> <!-- class removed -->
<className>com/datastax/driver/extras/codecs/jdk8/OptionalCodec</className>
<justification>This class is only present if the project was compiled with JDK 8+</justification>
</difference>
<difference>
<differenceType>8001</differenceType> <!-- class removed -->
<className>com/datastax/driver/extras/codecs/jdk8/ZonedDateTimeCodec</className>
<justification>This class is only present if the project was compiled with JDK 8+</justification>
</difference>
<difference>
<differenceType>7002</differenceType> <!-- method removed -->
<className>com/datastax/driver/core/PerHostPercentileTracker</className>
<method>com.datastax.driver.core.PerHostPercentileTracker$Builder builderWithHighestTrackableLatencyMillis(long)
</method>
<justification>Renamed (API was marked as beta and still subject to change)</justification>
</difference>
<difference>
<differenceType>7002</differenceType> <!-- method removed -->
<className>com/datastax/driver/core/PerHostPercentileTracker</className>
<method>long getLatencyAtPercentile(com.datastax.driver.core.Host, double)</method>
<justification>Moved to new parent class with more parameters (API was marked as beta and still subject to change)</justification>
</difference>
<difference>
<differenceType>7002</differenceType> <!-- method removed -->
<className>com/datastax/driver/core/PerHostPercentileTracker$Builder</className>
<method>com.datastax.driver.core.PerHostPercentileTracker$Builder withInterval(long, java.util.concurrent.TimeUnit)</method>
<justification>False positive, method now inherited from generic parent class</justification>
</difference>
<difference>
<differenceType>7002</differenceType> <!-- method removed -->
<className>com/datastax/driver/core/PerHostPercentileTracker$Builder</className>
<method>com.datastax.driver.core.PerHostPercentileTracker$Builder withMinRecordedValues(int)</method>
<justification>False positive, method now inherited from generic parent class</justification>
</difference>
<difference>
<differenceType>7002</differenceType> <!-- method removed -->
<className>com/datastax/driver/core/PerHostPercentileTracker$Builder</className>
<method>com.datastax.driver.core.PerHostPercentileTracker$Builder withNumberOfSignificantValueDigits(int)</method>
<justification>False positive, method now inherited from generic parent class</justification>
</difference>
<difference>
<differenceType>7002</differenceType> <!-- method removed -->
<className>com/datastax/driver/core/PerHostPercentileTracker$Builder</className>
<method>com.datastax.driver.core.PerHostPercentileTracker$Builder withNumberOfHosts(int)</method>
<justification>Removed (API was marked as beta and still subject to change)</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- method argument type changed -->
<className>com/datastax/driver/core/QueryLogger$Builder</className>
<method>com.datastax.driver.core.QueryLogger$Builder withDynamicThreshold(com.datastax.driver.core.PerHostPercentileTracker, double)</method>
<to>com.datastax.driver.core.QueryLogger$Builder withDynamicThreshold(com.datastax.driver.core.PercentileTracker, double)</to>
<justification>Introduced more generic parent type PercentileTracker (API was marked as beta and still subject to change)</justification>
</difference>
<difference>
<differenceType>7002</differenceType> <!-- method removed -->
<className>com/datastax/driver/core/QueryLogger$DynamicThresholdQueryLogger</className>
<method>com.datastax.driver.core.PerHostPercentileTracker getPerHostPercentileLatencyTracker()</method>
<justification>Introduced more generic parent type PercentileTracker (API was marked as beta and still subject to change)</justification>
</difference>
<difference>
<differenceType>7002</differenceType> <!-- method removed -->
<className>com/datastax/driver/core/QueryLogger$DynamicThresholdQueryLogger</className>
<method>void setPerHostPercentileLatencyTracker(com.datastax.driver.core.PerHostPercentileTracker)</method>
<justification>Introduced more generic parent type PercentileTracker (API was marked as beta and still subject to change)</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- method argument type changed -->
<className>com/datastax/driver/core/policies/PercentileSpeculativeExecutionPolicy</className>
<method>PercentileSpeculativeExecutionPolicy(com.datastax.driver.core.PerHostPercentileTracker, double, int)</method>
<to>*</to> <!-- didn't find a way to write the new signature -->
<justification>Introduced more generic parent type PercentileTracker (API was marked as beta and still subject to change)</justification>
</difference>
<difference>
<differenceType>8001</differenceType> <!-- class removed -->
<className>com/datastax/driver/core/FrameCompressor$SnappyCompressor</className>
<justification>False positive, the enclosing class is package-private so this was never exposed</justification>
</difference>
<difference>
<differenceType>8001</differenceType> <!-- class removed -->
<className>com/datastax/driver/core/FrameCompressor$LZ4Compressor</className>
<justification>False positive, the enclosing class is package-private so this was never exposed</justification>
</difference>
<difference>
<differenceType>7005</differenceType>
<className>com/datastax/driver/core/querybuilder/QueryBuilder</className>
<!--
A Clirr bug prevents us from excluding the methods individually (errors re-appear as soon as there are more
than one method). Excluding every method is too coarse, but it's the only solution.
-->
<method>*</method>
<to>*</to>
<justification>Relaxed parameters from List to Iterable for in, lt, lte, eq, gt, and gte</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/AlreadyExistsException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/AuthenticationException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/BootstrappingException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/BusyConnectionException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/BusyPoolException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>6001</differenceType> <!-- Removed field -->
<className>com/datastax/driver/core/exceptions/ConnectionException</className>
<field>address</field>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/ConnectionException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- Method added to interface -->
<className>com/datastax/driver/core/exceptions/CoordinatorException</className>
<method>com.datastax.driver.core.EndPoint getEndPoint()</method>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/FunctionExecutionException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/InvalidConfigurationInQueryException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/InvalidQueryException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/OperationTimedOutException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/OperationTimedOutException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/OverloadedException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/ProtocolError</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/QueryConsistencyException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/ReadFailureException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/ReadTimeoutException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/ServerError</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/SyntaxError</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/TransportException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/TruncateException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/UnauthorizedException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/UnavailableException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/UnpreparedException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/UnsupportedProtocolVersionException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/WriteFailureException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- Method argument type changed -->
<className>com/datastax/driver/core/exceptions/WriteTimeoutException</className>
<method>*java.net.InetSocketAddress*</method>
<to>*com.datastax.driver.core.EndPoint*</to>
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
</difference>
</differences>