From 7e3c7c1190907e1b838d47281a3154d33f082222 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 23 Sep 2019 11:23:44 -0700 Subject: [PATCH] Cleanup. --- .../kotlin/net/thauvin/erik/akismet/Akismet.kt | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/main/kotlin/net/thauvin/erik/akismet/Akismet.kt b/src/main/kotlin/net/thauvin/erik/akismet/Akismet.kt index 7d392a2..6eaf0ed 100644 --- a/src/main/kotlin/net/thauvin/erik/akismet/Akismet.kt +++ b/src/main/kotlin/net/thauvin/erik/akismet/Akismet.kt @@ -122,13 +122,12 @@ open class Akismet(apiKey: String) { private set /** - * The`x-akismet-pro-tip` header from the last operation, if any. + * The `x-akismet-pro-tip` header from the last operation, if any. * - * If the `x-akismet-pro-tip` header is set to discard, then Akismet has determined that the comment is blatant spam, - * and you can safely discard it without saving it in any spam queue. + * If the `x-akismet-pro-tip` header is set to discard, then Akismet has determined that the comment is blatant + * spam, and you can safely discard it without saving it in any spam queue. * - * Read more about this feature in this - * [Akismet blog post](https://blog.akismet.com/2014/04/23/theres-a-ninja-in-your-akismet/). + * See the [Akismet API](https://akismet.com/development/api/#comment-check) for more details. * * @see [Akismet.isDiscard] */ @@ -140,8 +139,7 @@ open class Akismet(apiKey: String) { * Set to true if Akismet has determined that the last [checked comment][checkComment] is blatant spam, and you * can safely discard it without saving it in any spam queue. * - * Read more about this feature in this - * [Akismet blog post](https://blog.akismet.com/2014/04/23/theres-a-ninja-in-your-akismet/). + * See the [Akismet API](https://akismet.com/development/api/#comment-check) for more details. * * @see [Akismet.proTip] */ @@ -369,7 +367,8 @@ open class Akismet(apiKey: String) { } /** - * Reset the [debugHelp], [httpStatusCode], [isDiscard], [isVerifiedKey], [proTip], and [response] properties. + * Reset the [debugHelp], [errorMessage], [httpStatusCode], [isDiscard], [isVerifiedKey], [proTip], and + * [response] properties. */ fun reset() { debugHelp = ""