I think my point was that since Kiji is an extensible interface and the javadoc makes no stipulation that the URI returned by getURI is trimmed, that some other implementation could return said garbage.  I think just changing the javadoc for the Kiji class should be sufficient so that extenders of the class will know.