mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
BindToExistingBeanStep: fix assertion
GitOrigin-RevId: 420f3bbf9113294b5e9bb570025fb555a535b350
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4a70521e1d
commit
cd2d0306b8
@@ -198,7 +198,7 @@ final class BindToExistingBeanStep extends StepAdapter{
|
||||
outer: for(int i = rProps.length - 1; i >= 0; i--){
|
||||
final String propName = rProps[i];
|
||||
if(ArrayUtil.find(wProps, propName) != -1){
|
||||
LOG.assertTrue(!rwProps.contains(propName));
|
||||
LOG.assertTrue(rwProps.stream().noneMatch(bp -> bp.myName.equals(propName)));
|
||||
final PsiMethod getter = PropertyUtilBase.findPropertyGetter(myData.myBeanClass, propName, false, true);
|
||||
if (getter == null) {
|
||||
// possible if the getter is static: getReadableProperties() does not filter out static methods, and
|
||||
|
||||
Reference in New Issue
Block a user