Skip to content

Commit f54ec8c

Browse files
Lorak-mmkavelanarius
authored andcommitted
Remove clirr workaround
The workaround that was previously required to make clirr happy now seems to make it unhappy instead. Removing the workaround results in another clirr issue that I added to ignore list.
1 parent 37d85af commit f54ec8c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

clirr-ignores.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,4 +403,10 @@
403403
<to>*com.datastax.driver.core.EndPoint*</to>
404404
<justification>JAVA-2355: Abstract connection information into new EndPoint type for sni support</justification>
405405
</difference>
406+
<difference>
407+
<differenceType>7002</differenceType> <!-- method removed -->
408+
<className>com/datastax/driver/core/ResultSet</className>
409+
<method>*one*</method>
410+
<justification>False positive. Method is still present in parent interface (and was only introduced in ResultSet as a workaround for another clirr false positive)</justification>
411+
</difference>
406412
</differences>

driver-core/src/main/java/com/datastax/driver/core/ResultSet.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
*/
3434
public interface ResultSet extends PagingIterable<ResultSet, Row> {
3535

36-
// redeclared only to make clirr happy
37-
@Override
38-
Row one();
39-
4036
/**
4137
* Returns the columns returned in this ResultSet.
4238
*

0 commit comments

Comments
 (0)