X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=enrichment-coordinator-service%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fenrichment%2Frepository%2FEiTypes.java;h=7f04099b9b87625e706b36d2a99faf2b31037b58;hb=6c468636c3790e3420da97dab19057892988fa11;hp=265a8e41529dd9bb3a679b81a86b8e491b814ded;hpb=b61264738a459de5f1b9333ee4cb486df9f3b9f4;p=nonrtric.git diff --git a/enrichment-coordinator-service/src/main/java/org/oransc/enrichment/repository/EiTypes.java b/enrichment-coordinator-service/src/main/java/org/oransc/enrichment/repository/EiTypes.java index 265a8e41..7f04099b 100644 --- a/enrichment-coordinator-service/src/main/java/org/oransc/enrichment/repository/EiTypes.java +++ b/enrichment-coordinator-service/src/main/java/org/oransc/enrichment/repository/EiTypes.java @@ -77,14 +77,14 @@ public class EiTypes { storeInFile(type); } - public synchronized Collection getAllEiTypes() { + public synchronized Collection getAllInfoTypes() { return new Vector<>(allEiTypes.values()); } public synchronized EiType getType(String id) throws ServiceException { EiType type = allEiTypes.get(id); if (type == null) { - throw new ServiceException("Could not find EI type: " + id); + throw new ServiceException("Information type not found: " + id); } return type; }