forked from apache/cassandra-java-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clirr-ignores.xml
182 lines (156 loc) · 9.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
<!--
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
-->
<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>
<difference>
<differenceType>7013</differenceType> <!-- abstract method added to class -->
<className>com/datastax/driver/core/DataType</className>
<method>boolean isFrozen()</method>
<justification>Required for frozen type support. Clients do not create their own DataType subclasses</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/GettableByIndexData</className>
<method>java.util.List getList(int, com.google.common.reflect.TypeToken)</method>
<justification>Breaking change, required for nested collection support</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/GettableByIndexData</className>
<method>java.util.Map getMap(int, com.google.common.reflect.TypeToken, com.google.common.reflect.TypeToken)</method>
<justification>Breaking change, required for nested collection support</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/GettableByIndexData</className>
<method>java.util.Set getSet(int, com.google.common.reflect.TypeToken)</method>
<justification>Breaking change, required for nested collection support</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/GettableByNameData</className>
<method>java.util.List getList(java.lang.String, com.google.common.reflect.TypeToken)</method>
<justification>Breaking change, required for nested collection support</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/GettableByNameData</className>
<method>java.util.Map getMap(java.lang.String, com.google.common.reflect.TypeToken, com.google.common.reflect.TypeToken)</method>
<justification>Breaking change, required for nested collection support</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/GettableByNameData</className>
<method>java.util.Set getSet(java.lang.String, com.google.common.reflect.TypeToken)</method>
<justification>Breaking change, required for nested collection support</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/GettableByIndexData</className>
<method>java.lang.Object getObject(int)</method>
<justification>Breaking change, requires update of potential client implementations</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/GettableByNameData</className>
<method>java.lang.Object getObject(java.lang.String)</method>
<justification>Breaking change, requires update of potential client implementations</justification>
</difference>
<difference>
<differenceType>7004</differenceType> <!-- method argument count changed -->
<className>com/datastax/driver/core/LatencyTracker</className>
<method>void update(com.datastax.driver.core.Host, long)</method>
<justification>Breaking change, requires update of client implementations</justification>
</difference>
<difference>
<differenceType>3005</differenceType> <!-- added abstract modifier to class -->
<className>com/datastax/driver/core/ProtocolOptions$Compression</className>
<justification>False positive because an abstract method was added. Since this is an enum there is no impact for clients</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/Row</className>
<method>com.datastax.driver.core.Token getPartitionKeyToken()</method>
<justification>Breaking change required for token support. Requires update of potential client implementations</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/Row</className>
<method>com.datastax.driver.core.Token getToken(int)</method>
<justification>Breaking change required for token support. Requires update of potential client implementations</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/Row</className>
<method>com.datastax.driver.core.Token getToken(java.lang.String)</method>
<justification>Breaking change required for token support. Requires update of potential client implementations</justification>
</difference>
<difference>
<differenceType>7012</differenceType> <!-- method added to interface -->
<className>com/datastax/driver/core/Session$State</className>
<method>int getTrashedConnections(com.datastax.driver.core.Host)</method>
<justification>It's very unlikely that client have their own implementation of this interface</justification>
</difference>
<difference>
<differenceType>1001</differenceType> <!-- decreased visibility of class -->
<className>com/datastax/driver/core/Token$Factory</className>
<justification>False positive: Token was package-private before, so Token$Factory was never visible</justification>
</difference>
<difference>
<differenceType>7006</differenceType> <!-- return type changed -->
<className>com/datastax/driver/core/exceptions/DriverInternalError</className>
<method>com.datastax.driver.core.exceptions.DriverException copy()</method>
<to>com.datastax.driver.core.exceptions.DriverInternalError</to>
<justification>Covariant return, would only break if a client extended the class, which is unlikely</justification>
</difference>
</differences>