Skip to content

Commit

Permalink
Missed code/files while Conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
lathapatil committed Oct 23, 2024
1 parent 7b670f6 commit 8717f18
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ public static HashMap<String, IPackageFragment> getPackageFragmentsHash2(IJavaPr
if (name.length() == 0) {
name = "."; //$NON-NLS-1$
}
if ((fragment.hasChildren() || fragment.getNonJavaResources().length > 0) && !existingPackages.contains(name)) {
if ((fragment.hasChildren() || fragment.getNonJavaResources().length > 0)) {
if (!name.equals("java") || !name.startsWith("java.") || allowJava) { //$NON-NLS-1$ //$NON-NLS-2$
map.put(fragment.getPath().makeRelative() + "_" + fragment.getElementName(), fragment); //$NON-NLS-1$
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
import org.eclipse.search.ui.NewSearchUI;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
Expand Down Expand Up @@ -640,6 +641,11 @@ public String getText(Object element) {
}
return javaElementLabel.getText(element);
}

@Override
public Image getImage(Object element) {
return javaElementLabel.getImage(element);
}
}

}

0 comments on commit 8717f18

Please sign in to comment.