modules.setRememberDistinctVersions(true);
List<String> installedPatches = new ArrayList<String>();
if ((patches != null) && (patches.size() > 0)) {
NetBeansModules.NBMData data = null;
for (Iterator<LogRecord> it = records.iterator(); it.hasNext();) {
data = modules.join(data, modules.process(it.next()));
}
if (data != null) {
for (Patch patche : patches) {
ModuleInfo info = data.getEnabled(patche.getModulename());
String specVersion = patche.getSpecversion();