[virtualcommons-svn] commit/foraging: alllee: removing english text where possible
Status: Beta
Brought to you by:
alllee
From: Bitbucket <com...@bi...> - 2012-05-04 15:26:17
|
1 new commit in foraging: https://bitbucket.org/virtualcommons/foraging/changeset/b6b0fbcabc4f/ changeset: b6b0fbcabc4f user: alllee date: 2012-05-04 17:26:11 summary: removing english text where possible affected #: 1 file diff -r eb36e2e86cd79eb8f02d0a9a3ccafb54f9cc3c7a -r b6b0fbcabc4fb1267ecf68351278fed71850ee2c src/main/java/edu/asu/commons/foraging/conf/RoundConfiguration.java --- a/src/main/java/edu/asu/commons/foraging/conf/RoundConfiguration.java +++ b/src/main/java/edu/asu/commons/foraging/conf/RoundConfiguration.java @@ -664,11 +664,12 @@ else if (resourceGeneratorType.equals("top-bottom-patchy")) { addSpecialInstructions(builder, getPatchyResourceInstructions()); } - if (builder.toString().isEmpty()) { + if (builder.length() == 0) { return instructionsBuilder; } else { - return instructionsBuilder.append("<h2>Additional instructions</h2><hr><ul>").append(builder).append("</ul>"); + // FIXME: localize via ResourceBundle + return instructionsBuilder.append("<hr><ul>").append(builder).append("</ul>"); } } Repository URL: https://bitbucket.org/virtualcommons/foraging/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |