From 63c44ba7a53a8f8c88a72ebc0f23a8eb22585290 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Thu, 11 Feb 2010 21:23:21 +0300 Subject: [PATCH] IDEA-51940 --- .../intellij/ide/structureView/impl/java/PropertyGroup.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/java/java-impl/src/com/intellij/ide/structureView/impl/java/PropertyGroup.java b/java/java-impl/src/com/intellij/ide/structureView/impl/java/PropertyGroup.java index f6d8aff9fd..7331dc252f 100644 --- a/java/java-impl/src/com/intellij/ide/structureView/impl/java/PropertyGroup.java +++ b/java/java-impl/src/com/intellij/ide/structureView/impl/java/PropertyGroup.java @@ -147,7 +147,15 @@ public class PropertyGroup implements Group, ItemPresentation, AccessLevelProvid final PropertyGroup propertyGroup = (PropertyGroup)o; if (myPropertyName != null ? !myPropertyName.equals(propertyGroup.myPropertyName) : propertyGroup.myPropertyName != null) return false; - if (myPropertyType != null ? !myPropertyType.equals(propertyGroup.myPropertyType) : propertyGroup.myPropertyType != null) return false; + + if (myPropertyType != null && !myPropertyType.isValid()) return false; + if (propertyGroup.myPropertyType != null && !propertyGroup.myPropertyType.isValid()) return false; + + if (myPropertyType != null && myPropertyType.isValid() + ? !myPropertyType.equals(propertyGroup.myPropertyType) + : propertyGroup.myPropertyType != null) { + return false; + } return true; } -- 2.11.4.GIT