Unification of Java examples