Remove Java-specific constructor for Rating.
The scala constructor works for native type java types. Modify examples
to match this.