Lrdocs 1459

I was looking at JavadocFormatter and I came up with this to fix the duplication bug.