Removed dependency in example of creating a Java class

This section does not talk about dependencies yet so this example of the HelloWorld class shouldn't have the reference to LocalTime from Joda-time.