Revert "add java document into repository models"

This reverts commit 6ad93095a425e9f93c83a708469dfb51b88a7a25.