(AnalysisConfig config)
| 49 | } |
| 50 | |
| 51 | private void addConfig(AnalysisConfig config) { |
| 52 | if (configs.containsKey(config.getId())) { |
| 53 | throw new ConfigException("There are multiple analyses for the same id " + |
| 54 | config.getId() + " in " + Configs.getAnalysisConfigURL()); |
| 55 | } |
| 56 | configs.put(config.getId(), config); |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * Given an analysis id, returns the corresponding AnalysisConfig. |
nothing calls this directly
no test coverage detected