diff --git a/src/org/april/hebdobot/model/Hebdobot.java b/src/org/april/hebdobot/model/Hebdobot.java index a7d3330..3d96c63 100644 --- a/src/org/april/hebdobot/model/Hebdobot.java +++ b/src/org/april/hebdobot/model/Hebdobot.java @@ -298,7 +298,7 @@ public class Hebdobot extends PircBot { logger.info("!fin caught."); - // Stop. + // End. if (this.review == null) { sendMessage(sender + ", pas de revue en cours."); @@ -320,9 +320,9 @@ public class Hebdobot extends PircBot { PastebinClient pastebinClient = new PastebinClient(this.pastebinSettings.getApiKey()); - String returnValue = pastebinClient.paste(textReview, "Revue APRIL " + date, Private.UNLISTED); + String pastebinUrl = pastebinClient.paste(textReview, "Revue APRIL " + date, Private.UNLISTED); - sendMessage("% Compte-rendu de la revue : " + returnValue); + sendMessage("% Compte-rendu de la revue : " + pastebinUrl); } catch (final Exception exception) { diff --git a/src/org/april/hebdobot/model/review/Review.java b/src/org/april/hebdobot/model/review/Review.java index c0b1871..f1d58b0 100644 --- a/src/org/april/hebdobot/model/review/Review.java +++ b/src/org/april/hebdobot/model/review/Review.java @@ -365,7 +365,12 @@ public class Review */ private static String chunk(final String content) { - return chunk(content, LENGTH); + String result; + + result = chunk(content, LENGTH); + + // + return result; } /** diff --git a/src/org/april/hebdobot/pastebin/PastebinClient.java b/src/org/april/hebdobot/pastebin/PastebinClient.java index 4ced4ea..433b442 100644 --- a/src/org/april/hebdobot/pastebin/PastebinClient.java +++ b/src/org/april/hebdobot/pastebin/PastebinClient.java @@ -401,7 +401,7 @@ public class PastebinClient * the privat * @param expiration * the expiration - * @return the string + * @return the pastebin URL * @throws HebdobotException * the exception */ @@ -459,7 +459,7 @@ public class PastebinClient * the name * @param privat * the privat - * @return the string + * @return the pastebin URL * @throws HebdobotException * the hebdobot exception */