Revision 52954
Added by Miriam Baglioni over 5 years ago
CommunityConfigurationFactory.java | ||
---|---|---|
49 | 49 |
} |
50 | 50 |
|
51 | 51 |
public static CommunityConfiguration fromJson(final String json) { |
52 |
return new Gson().fromJson(json, CommunityConfiguration.class); |
|
52 |
final CommunityConfiguration conf = new Gson().fromJson(json, CommunityConfiguration.class); |
|
53 |
log.info(String.format("loaded %s community configuration profiles", conf.size())); |
|
54 |
conf.init(); |
|
55 |
log.info("created inverse maps"); |
|
56 |
return conf; |
|
53 | 57 |
} |
54 | 58 |
|
55 | 59 |
private static Community parseCommunity(final Node node) { |
Also available in: Unified diff
fixed issues in the creation of the inverse map for bulk tagging