WARNING: modified org.simantics.db.ServiceLocator API for Simantics 1.0.
ServiceLocator.getService will now throw org.simantics.db.exceptions.ServiceNotFoundException
if a requested service is not available.
ServiceLocator.peekService was added to work as getService worked before this.
I scanned all uses of ServiceLocator.getService and changed them to peekService where needed.
PLEASE, check your own private code for places where you are using getService when you should be using peekService instead.
Most of the code I scanned through already worked according to the new getService specification and would previously just
have caused an NPE if the service was not available.
Also regenerate your databases to get new resource java files since OG had to be changed to use peekService instead of getService
in the resource files.
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@14854
ac1ea38d-2e2b-0410-8846-
a27921b304fc