mirror of
https://github.com/apache/lucene.git
synced 2025-02-09 11:35:14 +00:00
SOLR-9045: exclude static methods from ConfigureRecoveryStrategyTest.testAlmostAllMethodsAreFinal
This commit is contained in:
parent
1750095048
commit
5aafea8494
@ -66,6 +66,7 @@ public class ConfigureRecoveryStrategyTest extends SolrTestCaseJ4 {
|
||||
|
||||
public void testAlmostAllMethodsAreFinal() throws Exception {
|
||||
for (Method m : RecoveryStrategy.class.getDeclaredMethods()) {
|
||||
if (Modifier.isStatic(m.getModifiers())) continue;
|
||||
final String methodName = m.getName();
|
||||
if ("getReplicateLeaderUrl".equals(methodName)) {
|
||||
assertFalse(m.toString(), Modifier.isFinal(m.getModifiers()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user