Merge pull request #325 from DevFactory/utility-classes-should-not-have-public-constructors-fix-3

Utility classes should not have public constructors
This commit is contained in:
Ilkka Seppälä committed 2015-12-30 19:55:25 +02:00
commit a0af0a1a76
7 files changed
+21

No files matched your search

@@ -10,6 +10,9 @@ public class ServiceLocator {
private static ServiceCache serviceCache = new ServiceCache();
private ServiceLocator() {
}
/**
* Fetch the service with the name param from the cache first, if no service is found, lookup the
* service from the {@link InitContext} and then add the newly created service into the cache map