Skip to content

Commit 565db25

Browse files
committed
reuse constant
1 parent d2c1fcd commit 565db25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/org/apache/cassandra/tools/NodeProbe.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2753,7 +2753,7 @@ public long getCompressionDictionaryTrainingTotalSampleSize(String keyspace, Str
27532753
private CompressionDictionaryManagerMBean getDictionaryManagerProxy(String keyspace, String table) throws IOException
27542754
{
27552755
// Construct table-specific MBean name
2756-
String mbeanName = "org.apache.cassandra.db.compression:type=CompressionDictionaryManager,keyspace=" + keyspace + ",table=" + table;
2756+
String mbeanName = CompressionDictionaryManagerMBean.MBEAN_NAME + ",keyspace=" + keyspace + ",table=" + table;
27572757
try
27582758
{
27592759
ObjectName objectName = new ObjectName(mbeanName);

0 commit comments

Comments
 (0)