You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2022/11/15 15:56:00 UTC
[jira] [Updated] (CASSANDRA-17909) Clean SyncUtil from dead code
[ https://issues.apache.org/jira/browse/CASSANDRA-17909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ekaterina Dimitrova updated CASSANDRA-17909:
--------------------------------------------
Description:
During code inspection I noticed [dead code|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/utils/SyncUtil.java#L77-L87] (JDK 7) in SyncUtil.
From a very quick skim _I think_ the [Java 8 section|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/utils/SyncUtil.java#L65-L75] is applicable in JDK 11, not sure for JDK 17 but it seems it should stay at least until we have JDK17. To be revisited.
was:
During code inspection I noticed [dead code|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/utils/SyncUtil.java#L77-L87] (JDK 7) in SyncUtil.
From a very quick skim _I think_ the [Java 8 section|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/utils/SyncUtil.java#L65-L75] is applicable in JDK 11, not sure for JDK 17 but it seems it should stay at least until we have JDK11. To be revisited.
> Clean SyncUtil from dead code
> -----------------------------
>
> Key: CASSANDRA-17909
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17909
> Project: Cassandra
> Issue Type: Bug
> Components: Local/Other
> Reporter: Ekaterina Dimitrova
> Assignee: Ekaterina Dimitrova
> Priority: Normal
> Fix For: 4.x
>
>
> During code inspection I noticed [dead code|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/utils/SyncUtil.java#L77-L87] (JDK 7) in SyncUtil.
> From a very quick skim _I think_ the [Java 8 section|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/utils/SyncUtil.java#L65-L75] is applicable in JDK 11, not sure for JDK 17 but it seems it should stay at least until we have JDK17. To be revisited.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org