use of com.frostwire.bittorrent.CopyrightLicenseBroker in project frostwire by frostwire.
the class CreateTorrentDialog method addAvailableCopyrightLicense.
private void addAvailableCopyrightLicense(final Map<String, Entry> entryMap) {
if (licenseSelectorPanel.hasConfirmedRightfulUseOfLicense()) {
CopyrightLicenseBroker license = licenseSelectorPanel.getLicenseBroker();
if (license != null) {
final Map<String, Entry> info = entryMap.get("info").dictionary();
info.put("license", Entry.fromMap(license.asMap()));
entryMap.put("info", Entry.fromMap(info));
}
}
}
Aggregations