Fix invalid JavaDoc links
Replace StringBuffer with StringBuilder if possible