Changed an error in the Text javadoc.