cleanup in the context of  Bug 321440 -  [compiler][otre] support for role-binding to interfaces
- remove an obsolete function 
- avoid using an interface as a monitor (it's the class that has the fields to be guarded)
2 files changed