[ https://issues.apache.org/jira/browse/CASSANDRA-17127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17570029#comment-17570029 ]
Brandon Williams commented on CASSANDRA-17127: ---------------------------------------------- bq. However, it seems to me that use of the classes in testing is reasonable and, in many cases, correct. You are right that there is nothing wrong with these classes, examined on their own. However their usage is deprecated in this project after CASSANDRA-16925, and this ticket, its parent, and siblings are a continuation of that work, extended to the tests. I think it makes sense to have a consistent style throughout the codebase whenever possible. If it's not possible I'd rather address that on a case by case basis rather than grant an exception in blanket fashion. > Remove use of deprecated java.util.concurrent in tests > ------------------------------------------------------ > > Key: CASSANDRA-17127 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17127 > Project: Cassandra > Issue Type: Sub-task > Components: Test/unit > Reporter: Brandon Williams > Assignee: Claude Warren > Priority: Normal > > {noformat} > 1 Illegal import - java.util.concurrent.ArrayBlockingQueue. > [IllegalImport] > 11 Illegal import - java.util.concurrent.CompletableFuture. > [IllegalImport] > 39 Illegal import - java.util.concurrent.CountDownLatch. [IllegalImport] > 48 Illegal import - java.util.concurrent.Executors. [IllegalImport] > 3 Illegal import - java.util.concurrent.LinkedBlockingQueue. > [IllegalImport] > 5 Illegal import - java.util.concurrent.Semaphore. [IllegalImport] > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org