mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[devkit] ExtensionPointCandidate: cleanup
GitOrigin-RevId: 21bb5fb5e03a32009986ec15e5949fad88755972
This commit is contained in:
committed by
intellij-monorepo-bot
parent
698f91af10
commit
cb28df6b30
@@ -1,23 +1,11 @@
|
||||
/*
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package org.jetbrains.idea.devkit.util;
|
||||
|
||||
import com.intellij.psi.SmartPsiElementPointer;
|
||||
import com.intellij.psi.xml.XmlTag;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
public class ExtensionPointCandidate extends PointableCandidate {
|
||||
public final String epName;
|
||||
public final String attributeName;
|
||||
@@ -57,10 +45,10 @@ public class ExtensionPointCandidate extends PointableCandidate {
|
||||
|
||||
ExtensionPointCandidate candidate = (ExtensionPointCandidate)o;
|
||||
|
||||
if (epName != null ? !epName.equals(candidate.epName) : candidate.epName != null) return false;
|
||||
if (attributeName != null ? !attributeName.equals(candidate.attributeName) : candidate.attributeName != null) return false;
|
||||
if (tagName != null ? !tagName.equals(candidate.tagName) : candidate.tagName != null) return false;
|
||||
if (beanClassName != null ? !beanClassName.equals(candidate.beanClassName) : candidate.beanClassName != null) return false;
|
||||
if (!Objects.equals(epName, candidate.epName)) return false;
|
||||
if (!Objects.equals(attributeName, candidate.attributeName)) return false;
|
||||
if (!Objects.equals(tagName, candidate.tagName)) return false;
|
||||
if (!Objects.equals(beanClassName, candidate.beanClassName)) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user