forked from apache/cassandra-java-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clirr-ignores.xml
64 lines (55 loc) · 3.18 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
<!--
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://mojo.codehaus.org/clirr-maven-plugin/examples/ignored-differences.html
-->
<differences>
<difference>
<differenceType>7006</differenceType> <!-- return type changed -->
<className>com/datastax/driver/core/BatchStatement</className>
<method>com.datastax.driver.core.Statement setSerialConsistencyLevel(com.datastax.driver.core.ConsistencyLevel)</method>
<to>com.datastax.driver.core.BatchStatement</to>
<justification>A covariant return makes the API more fluent. It's unlikely that any client has extended this class</justification>
</difference>
<difference>
<differenceType>6002</differenceType> <!-- no longer a compile-time constant -->
<className>com/datastax/driver/core/ProtocolOptions</className>
<field>NEWEST_SUPPORTED_PROTOCOL_VERSION</field>
<justification>It calls an enum's method that is known to have a constant result</justification>
</difference>
<difference>
<differenceType>7004</differenceType> <!-- argument count changed -->
<className>com/datastax/driver/core/exceptions/UnsupportedFeatureException</className>
<method>UnsupportedFeatureException(java.lang.String)</method>
<justification>A client has no reason to call this constructor</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/ResultSet</className>
<method>boolean wasApplied()</method>
<justification>This interface is not meant to be extended by clients</justification>
</difference>
<difference>
<differenceType>7013</differenceType> <!-- abstract method added -->
<className>com/datastax/driver/core/RegularStatement</className>
<method>java.nio.ByteBuffer[] getValues(com.datastax.driver.core.ProtocolVersion)</method>
<justification>Indeed a breaking change, but extending this class from a client should be rarely needed</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- argument type changed -->
<className>com/datastax/driver/core/SimpleStatement</className>
<method>java.nio.ByteBuffer[] getValues(int)</method>
<to>java.nio.ByteBuffer[] getValues(com.datastax.driver.core.ProtocolVersion)</to>
<justification>A backward compatible version has been added to the parent class RegularStatement</justification>
</difference>
<difference>
<differenceType>7005</differenceType> <!-- argument type changed -->
<className>com/datastax/driver/core/querybuilder/*</className>
<method>java.nio.ByteBuffer[] getValues(int)</method>
<to>java.nio.ByteBuffer[] getValues(com.datastax.driver.core.ProtocolVersion)</to>
<justification>A backward compatible version has been added to the parent class RegularStatement</justification>
</difference>
</differences>