Elffuss BraidHub

kikocis/java-driver public

ee3bc252f5fc · 7.6 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://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html
10
11 The formatter introduces line breaks that make Clirr unhappy:
12 @formatter:off
13-->
14<differences>
15
16 <difference>
17 <differenceType>6006</differenceType> <!-- field now final -->
18 <className>com/datastax/driver/core/ProtocolVersion</className>
19 <field>NEWEST_SUPPORTED</field>
20 <justification>This was an oversight, this field was never intended to be non final</justification>
21 </difference>
22
23 <difference>
24 <differenceType>8001</differenceType> <!-- class removed -->
25 <className>com/datastax/driver/core/schemabuilder/ColumnType$NativeColumnType</className>
26 <justification>This class was accidentally exposed, it was meant to be package-private</justification>
27 </difference>
28
29 <difference>
30 <differenceType>1001</differenceType> <!-- decreased visibility -->
31 <className>com/datastax/driver/core/HostConnectionPool$Phase</className>
32 <justification>False positive: HostConnectionPool is not exposed to clients</justification>
33 </difference>
34
35 <difference>
36 <differenceType>1001</differenceType> <!-- decreased visibility -->
37 <className>com/datastax/driver/core/ConvictionPolicy$Factory</className>
38 <justification>False positive, the enclosing class is package-private so this was never exposed</justification>
39 </difference>
40
41 <difference>
42 <differenceType>8001</differenceType> <!-- class removed -->
43 <className>com/datastax/driver/core/ConvictionPolicy$Simple</className>
44 <justification>False positive, the enclosing class is package-private so this was never exposed</justification>
45 </difference>
46
47 <difference>
48 <differenceType>8001</differenceType> <!-- class removed -->
49 <className>com/datastax/driver/core/ConvictionPolicy$Simple$Factory</className>
50 <justification>False positive, the enclosing class is package-private so this was never exposed</justification>
51 </difference>
52
53 <difference>
54 <differenceType>1001</differenceType> <!-- decreased visibility -->
55 <className>com/datastax/driver/mapping/ColumnMapper$Kind</className>
56 <justification>False positive, the enclosing class is package-private so this was never exposed</justification>
57 </difference>
58
59 <difference>
60 <differenceType>7002</differenceType> <!-- method removed -->
61 <className>com/datastax/driver/core/PerHostPercentileTracker</className>
62 <method>com.datastax.driver.core.PerHostPercentileTracker$Builder builderWithHighestTrackableLatencyMillis(long)
63 </method>
64 <justification>Renamed (API was marked as beta and still subject to change)</justification>
65 </difference>
66
67 <difference>
68 <differenceType>7002</differenceType> <!-- method removed -->
69 <className>com/datastax/driver/core/PerHostPercentileTracker</className>
70 <method>long getLatencyAtPercentile(com.datastax.driver.core.Host, double)</method>
71 <justification>Moved to new parent class with more parameters (API was marked as beta and still subject to change)</justification>
72 </difference>
73
74 <difference>
75 <differenceType>7002</differenceType> <!-- method removed -->
76 <className>com/datastax/driver/core/PerHostPercentileTracker$Builder</className>
77 <method>com.datastax.driver.core.PerHostPercentileTracker$Builder withInterval(long, java.util.concurrent.TimeUnit)</method>
78 <justification>False positive, method now inherited from generic parent class</justification>
79 </difference>
80
81 <difference>
82 <differenceType>7002</differenceType> <!-- method removed -->
83 <className>com/datastax/driver/core/PerHostPercentileTracker$Builder</className>
84 <method>com.datastax.driver.core.PerHostPercentileTracker$Builder withMinRecordedValues(int)</method>
85 <justification>False positive, method now inherited from generic parent class</justification>
86 </difference>
87
88 <difference>
89 <differenceType>7002</differenceType> <!-- method removed -->
90 <className>com/datastax/driver/core/PerHostPercentileTracker$Builder</className>
91 <method>com.datastax.driver.core.PerHostPercentileTracker$Builder withNumberOfSignificantValueDigits(int)</method>
92 <justification>False positive, method now inherited from generic parent class</justification>
93 </difference>
94
95 <difference>
96 <differenceType>7002</differenceType> <!-- method removed -->
97 <className>com/datastax/driver/core/PerHostPercentileTracker$Builder</className>
98 <method>com.datastax.driver.core.PerHostPercentileTracker$Builder withNumberOfHosts(int)</method>
99 <justification>Removed (API was marked as beta and still subject to change)</justification>
100 </difference>
101
102 <difference>
103 <differenceType>7005</differenceType> <!-- method argument type changed -->
104 <className>com/datastax/driver/core/QueryLogger$Builder</className>
105 <method>com.datastax.driver.core.QueryLogger$Builder withDynamicThreshold(com.datastax.driver.core.PerHostPercentileTracker, double)</method>
106 <to>com.datastax.driver.core.QueryLogger$Builder withDynamicThreshold(com.datastax.driver.core.PercentileTracker, double)</to>
107 <justification>Introduced more generic parent type PercentileTracker (API was marked as beta and still subject to change)</justification>
108 </difference>
109
110 <difference>
111 <differenceType>7002</differenceType> <!-- method removed -->
112 <className>com/datastax/driver/core/QueryLogger$DynamicThresholdQueryLogger</className>
113 <method>com.datastax.driver.core.PerHostPercentileTracker getPerHostPercentileLatencyTracker()</method>
114 <justification>Introduced more generic parent type PercentileTracker (API was marked as beta and still subject to change)</justification>
115 </difference>
116
117 <difference>
118 <differenceType>7002</differenceType> <!-- method removed -->
119 <className>com/datastax/driver/core/QueryLogger$DynamicThresholdQueryLogger</className>
120 <method>void setPerHostPercentileLatencyTracker(com.datastax.driver.core.PerHostPercentileTracker)</method>
121 <justification>Introduced more generic parent type PercentileTracker (API was marked as beta and still subject to change)</justification>
122 </difference>
123
124 <difference>
125 <differenceType>7005</differenceType> <!-- method argument type changed -->
126 <className>com/datastax/driver/core/policies/PercentileSpeculativeExecutionPolicy</className>
127 <method>PercentileSpeculativeExecutionPolicy(com.datastax.driver.core.PerHostPercentileTracker, double, int)</method>
128 <to>*</to> <!-- didn't find a way to write the new signature -->
129 <justification>Introduced more generic parent type PercentileTracker (API was marked as beta and still subject to change)</justification>
130 </difference>
131
132 <difference>
133 <differenceType>7012</differenceType> <!-- method added to interface -->
134 <className>com/datastax/driver/mapping/annotations/QueryParameters</className>
135 <method>boolean[] idempotent()</method>
136 <justification>False positive, it's an annotation and the new method has a default value</justification>
137 </difference>
138
139</differences>