fix PMD error for 2.6.x api