Elffuss BraidHub

kikocis/java-driver public

b085b0df1f74 · 3.2 KiBRawPermalink
1<!--
2 Clirr is a tool that checks Java libraries for binary and source compatibility with older releases.
3
4 This file lists known (and accepted) differences with the reference version specified in pom.xml.
5
6 To update this file:
7 * run `mvn clirr:clirr` at the root directory
8 * check the reports in `<module>/target/site/clirr-report.html`
9 * add new differences if needed. Difference types are explained at http://mojo.codehaus.org/clirr-maven-plugin/examples/ignored-differences.html
10-->
11<differences>
12 <difference>
13 <differenceType>7006</differenceType> <!-- return type changed -->
14 <className>com/datastax/driver/core/BatchStatement</className>
15 <method>com.datastax.driver.core.Statement setSerialConsistencyLevel(com.datastax.driver.core.ConsistencyLevel)</method>
16 <to>com.datastax.driver.core.BatchStatement</to>
17 <justification>A covariant return makes the API more fluent. It's unlikely that any client has extended this class</justification>
18 </difference>
19
20 <difference>
21 <differenceType>6002</differenceType> <!-- no longer a compile-time constant -->
22 <className>com/datastax/driver/core/ProtocolOptions</className>
23 <field>NEWEST_SUPPORTED_PROTOCOL_VERSION</field>
24 <justification>It calls an enum's method that is known to have a constant result</justification>
25 </difference>
26
27 <difference>
28 <differenceType>7004</differenceType> <!-- argument count changed -->
29 <className>com/datastax/driver/core/exceptions/UnsupportedFeatureException</className>
30 <method>UnsupportedFeatureException(java.lang.String)</method>
31 <justification>A client has no reason to call this constructor</justification>
32 </difference>
33
34 <difference>
35 <differenceType>7012</differenceType> <!-- method added to interface -->
36 <className>com/datastax/driver/core/ResultSet</className>
37 <method>boolean wasApplied()</method>
38 <justification>This interface is not meant to be extended by clients</justification>
39 </difference>
40
41 <difference>
42 <differenceType>7013</differenceType> <!-- abstract method added -->
43 <className>com/datastax/driver/core/RegularStatement</className>
44 <method>java.nio.ByteBuffer[] getValues(com.datastax.driver.core.ProtocolVersion)</method>
45 <justification>Indeed a breaking change, but extending this class from a client should be rarely needed</justification>
46 </difference>
47
48 <difference>
49 <differenceType>7005</differenceType> <!-- argument type changed -->
50 <className>com/datastax/driver/core/SimpleStatement</className>
51 <method>java.nio.ByteBuffer[] getValues(int)</method>
52 <to>java.nio.ByteBuffer[] getValues(com.datastax.driver.core.ProtocolVersion)</to>
53 <justification>A backward compatible version has been added to the parent class RegularStatement</justification>
54 </difference>
55
56 <difference>
57 <differenceType>7005</differenceType> <!-- argument type changed -->
58 <className>com/datastax/driver/core/querybuilder/*</className>
59 <method>java.nio.ByteBuffer[] getValues(int)</method>
60 <to>java.nio.ByteBuffer[] getValues(com.datastax.driver.core.ProtocolVersion)</to>
61 <justification>A backward compatible version has been added to the parent class RegularStatement</justification>
62 </difference>
63
64</differences>