task(TCOMP-691): create context menu for Tacokit node in repository (#1320)

task(TCOMP-691): create context menu for Tacokit node in repository panel
https://jira.talendforge.org/browse/TCOMP-691
This commit is contained in:
Chao MENG
2017-12-12 01:13:27 -06:00
committed by kjwang-talend
parent 8166539e06
commit 281ecb671e

View File

@@ -15,6 +15,7 @@ package org.talend.commons.utils.data.container;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.talend.commons.exception.BusinessException;
@@ -255,7 +256,7 @@ public class Container<K, V> {
public Container<K, V> getSubContainer(String containerLabel) {
for (Container<K, V> current : subContainer) {
if (current.getLabel() == containerLabel) {
if (StringUtils.equals(current.getLabel(), containerLabel)) {
return current;
}
}