Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Provide Readme for each pom-file
[nonrtric.git]
/
enrichment-coordinator-service
/
src
/
main
/
java
/
org
/
oransc
/
enrichment
/
repository
/
EiTypes.java
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
9b7b640
..
d0bf53a
100644
(file)
--- 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
@@
-31,7
+31,7
@@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
import org.slf4j.LoggerFactory;
/**
- * Dynamic representation of all EI
T
ypes in the system.
+ * Dynamic representation of all EI
t
ypes in the system.
*/
@SuppressWarnings("squid:S2629") // Invoke method(s) only conditionally
public class EiTypes {
*/
@SuppressWarnings("squid:S2629") // Invoke method(s) only conditionally
public class EiTypes {
@@
-73,13
+73,4
@@
public class EiTypes {
public synchronized void clear() {
this.allEiTypes.clear();
}
public synchronized void clear() {
this.allEiTypes.clear();
}
-
- public void deregisterType(EiType type, EiJobs eiJobs) {
- this.remove(type);
- for (EiJob job : eiJobs.getJobsForType(type.getId())) {
- eiJobs.remove(job);
- this.logger.warn("Deleted job {} because no producers left", job.id());
- }
- }
-
}
}