Elffuss BraidHub

kikocis/java-driver public

9483a61dd223 · 7.5 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>8001</differenceType> <!-- class removed -->
18 <className>com/datastax/driver/mapping/ColumnMapper$Kind</className>
19 <justification>False positive, the enclosing class is package-private so this was never exposed</justification>
20 </difference>
21
22
23 <difference>
24 <differenceType>1001</differenceType> <!-- decreased visibility -->
25 <className>com/datastax/driver/mapping/ColumnMapper$Kind</className>
26 <justification>False positive, the enclosing class is package-private so this was never exposed</justification>
27 </difference>
28
29 <difference>
30 <differenceType>7012</differenceType> <!-- method added to interface -->
31 <className>com/datastax/driver/mapping/annotations/QueryParameters</className>
32 <method>boolean[] idempotent()</method>
33 <justification>False positive, it's an annotation and the new method has a default value</justification>
34 </difference>
35
36 <difference>
37 <differenceType>8001</differenceType> <!-- class removed -->
38 <className>com/datastax/driver/extras/codecs/jdk8/InstantCodec</className>
39 <justification>This class is only present if the project was compiled with JDK 8+</justification>
40 </difference>
41
42 <difference>
43 <differenceType>8001</differenceType> <!-- class removed -->
44 <className>com/datastax/driver/extras/codecs/jdk8/LocalDateCodec</className>
45 <justification>This class is only present if the project was compiled with JDK 8+</justification>
46 </difference>
47
48 <difference>
49 <differenceType>8001</differenceType> <!-- class removed -->
50 <className>com/datastax/driver/extras/codecs/jdk8/LocalTimeCodec</className>
51 <justification>This class is only present if the project was compiled with JDK 8+</justification>
52 </difference>
53
54 <difference>
55 <differenceType>8001</differenceType> <!-- class removed -->
56 <className>com/datastax/driver/extras/codecs/jdk8/OptionalCodec</className>
57 <justification>This class is only present if the project was compiled with JDK 8+</justification>
58 </difference>
59
60 <difference>
61 <differenceType>8001</differenceType> <!-- class removed -->
62 <className>com/datastax/driver/extras/codecs/jdk8/ZonedDateTimeCodec</className>
63 <justification>This class is only present if the project was compiled with JDK 8+</justification>
64 </difference>
65
66 <difference>
67 <differenceType>7002</differenceType> <!-- method removed -->
68 <className>com/datastax/driver/core/PerHostPercentileTracker</className>
69 <method>com.datastax.driver.core.PerHostPercentileTracker$Builder builderWithHighestTrackableLatencyMillis(long)
70 </method>
71 <justification>Renamed (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</className>
77 <method>long getLatencyAtPercentile(com.datastax.driver.core.Host, double)</method>
78 <justification>Moved to new parent class with more parameters (API was marked as beta and still subject to change)</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 withInterval(long, java.util.concurrent.TimeUnit)</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 withMinRecordedValues(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 withNumberOfSignificantValueDigits(int)</method>
99 <justification>False positive, method now inherited from generic parent class</justification>
100 </difference>
101
102 <difference>
103 <differenceType>7002</differenceType> <!-- method removed -->
104 <className>com/datastax/driver/core/PerHostPercentileTracker$Builder</className>
105 <method>com.datastax.driver.core.PerHostPercentileTracker$Builder withNumberOfHosts(int)</method>
106 <justification>Removed (API was marked as beta and still subject to change)</justification>
107 </difference>
108
109 <difference>
110 <differenceType>7005</differenceType> <!-- method argument type changed -->
111 <className>com/datastax/driver/core/QueryLogger$Builder</className>
112 <method>com.datastax.driver.core.QueryLogger$Builder withDynamicThreshold(com.datastax.driver.core.PerHostPercentileTracker, double)</method>
113 <to>com.datastax.driver.core.QueryLogger$Builder withDynamicThreshold(com.datastax.driver.core.PercentileTracker, double)</to>
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>com.datastax.driver.core.PerHostPercentileTracker getPerHostPercentileLatencyTracker()</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>7002</differenceType> <!-- method removed -->
126 <className>com/datastax/driver/core/QueryLogger$DynamicThresholdQueryLogger</className>
127 <method>void setPerHostPercentileLatencyTracker(com.datastax.driver.core.PerHostPercentileTracker)</method>
128 <justification>Introduced more generic parent type PercentileTracker (API was marked as beta and still subject to change)</justification>
129 </difference>
130
131 <difference>
132 <differenceType>7005</differenceType> <!-- method argument type changed -->
133 <className>com/datastax/driver/core/policies/PercentileSpeculativeExecutionPolicy</className>
134 <method>PercentileSpeculativeExecutionPolicy(com.datastax.driver.core.PerHostPercentileTracker, double, int)</method>
135 <to>*</to> <!-- didn't find a way to write the new signature -->
136 <justification>Introduced more generic parent type PercentileTracker (API was marked as beta and still subject to change)</justification>
137 </difference>
138
139</differences>