Revision 30088
Added by Sandro La Bruzzo about 10 years ago
modules/cnr-mongo-mdstore/trunk/src/main/java/eu/dnetlib/data/mdstore/modular/mongodb/utils/MetadataCheckJob.java | ||
---|---|---|
73 | 73 |
|
74 | 74 |
log.debug("repairing mdstore metadata"); |
75 | 75 |
|
76 |
for(String MDStoreProfile : mdStores) |
|
77 |
metadata.save(getMdInfo(MDStoreProfile)); |
|
78 | 76 |
|
77 |
if(mdStores!=null){ |
|
78 |
for(String MDStoreProfile : mdStores) |
|
79 |
metadata.save(getMdInfo(MDStoreProfile)); |
|
80 |
} |
|
81 |
|
|
79 | 82 |
log.debug("FINISHED repairing mdstore metadata"); |
80 | 83 |
|
81 | 84 |
} catch(ISLookUpException e) { |
Also available in: Unified diff
fixed bug on case mdStores is null