Java 5 / Java 8 language suggestions plus general cleanup.

This commit is contained in:
Paul Hawke 2017-09-03 17:27:20 -05:00
parent 13e84a82b8
commit 8cbf56fa7b
6 changed files with 62 additions and 76 deletions

View file

@ -127,7 +127,7 @@ public class Contribution extends Media {
}
public String getPageContents() {
StringBuffer buffer = new StringBuffer();
StringBuilder buffer = new StringBuilder();
SimpleDateFormat isoFormat = new SimpleDateFormat("yyyy-MM-dd", Locale.ENGLISH);
buffer