Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,15 @@ private Collection<LibraryItem> makeLibraryItems(JarReport jarOrFolderReport) th
if (!excludedItems.contains(canonicalName) &&
!artifactsFilter.contains(canonicalName)) {
final String name = e.getKlass().getSimpleName();
String sectionName;
try{
Comment thread
abhinayagarwal marked this conversation as resolved.
Outdated
sectionName=jarOrFolderReport.getJar().toFile().getName().replace(".jar", "");
}catch(Exception exception){
Comment thread
abhinayagarwal marked this conversation as resolved.
Outdated
//if getJar returns null or toFile not finding path
sectionName=UserLibrary.TAG_USER_DEFINED;
}
Comment thread
safirex marked this conversation as resolved.
Outdated
final String fxmlText = BuiltinLibrary.makeFxmlText(e.getKlass());
result.add(new LibraryItem(name, UserLibrary.TAG_USER_DEFINED, fxmlText, iconURL, library));
result.add(new LibraryItem(name, sectionName, fxmlText, iconURL, library));
}
}
}
Expand Down