Skip to content
Open
Changes from 1 commit
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 @@ -411,9 +411,19 @@ private Collection<LibraryItem> makeLibraryItems(JarReport jarOrFolderReport) th
final String canonicalName = e.getKlass().getCanonicalName();
if (!excludedItems.contains(canonicalName) &&
!artifactsFilter.contains(canonicalName)) {
final String name = e.getKlass().getSimpleName();
final String fxmlText = JarExplorer.makeFxmlText(e.getKlass());
result.add(new LibraryItem(name, UserLibrary.TAG_USER_DEFINED, fxmlText, iconURL, library));

final String name = e.getKlass().getSimpleName();
String sectionName =jarOrFolderReport.getJar().toString();
Comment thread
safirex marked this conversation as resolved.
Outdated

// if some os don't use '/' for folder path (don't know if there is)
if (sectionName.lastIndexOf("\\")==-1)
sectionName=UserLibrary.TAG_USER_DEFINED;
else
Comment thread
safirex marked this conversation as resolved.
Outdated
sectionName=sectionName.substring(sectionName.lastIndexOf("\\")+1,
sectionName.lastIndexOf("."));
Comment thread
safirex marked this conversation as resolved.
Outdated

final String fxmlText = JarExplorer.makeFxmlText(e.getKlass());
Comment thread
safirex marked this conversation as resolved.
Outdated
result.add(new LibraryItem(name, sectionName, fxmlText, iconURL, library));
}
}
}
Expand Down