Update GetDocument.java

Compliance test original code