mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
'Problems' view in 'Project Structure': corrected message about unused library
This commit is contained in:
+6
-2
@@ -167,8 +167,12 @@ public class ErrorPaneConfigurable extends JPanel implements Configurable, Dispo
|
||||
description = problemDescription.getDescription();
|
||||
if (description == null) {
|
||||
ProjectStructureElement place = problemDescription.getPlace().getContainingElement();
|
||||
description = place.getTypeName() + " <a href='http://navigate/" + i + "'>" + XmlStringUtil.convertToHtmlContent(place.getPresentableName())
|
||||
+ "</a>: " + XmlStringUtil.convertToHtmlContent(problemDescription.getMessage(false));
|
||||
description = XmlStringUtil.convertToHtmlContent(problemDescription.getMessage(false));
|
||||
if (problemDescription.canShowPlace()) {
|
||||
description = place.getTypeName() + " <a href='http://navigate/" + i + "'>"
|
||||
+ XmlStringUtil.convertToHtmlContent(place.getPresentableName()) + "</a>: "
|
||||
+ StringUtil.decapitalize(description);
|
||||
}
|
||||
}
|
||||
else {
|
||||
description = XmlStringUtil.convertToHtmlContent(description);
|
||||
|
||||
+4
@@ -68,6 +68,10 @@ public class ProjectStructureProblemDescription {
|
||||
return myMessage;
|
||||
}
|
||||
|
||||
public boolean canShowPlace() {
|
||||
return myCanShowPlace;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public String getDescription() {
|
||||
return myDescription;
|
||||
|
||||
Reference in New Issue
Block a user