From 34028479e86790164d91df9ade7bba9f7753d423 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Tue, 9 Apr 2019 02:22:09 -0700 Subject: [PATCH] Added cyan method. --- src/main/java/net/thauvin/erik/mobibot/Utils.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/thauvin/erik/mobibot/Utils.java b/src/main/java/net/thauvin/erik/mobibot/Utils.java index 25de366..d37e9bc 100644 --- a/src/main/java/net/thauvin/erik/mobibot/Utils.java +++ b/src/main/java/net/thauvin/erik/mobibot/Utils.java @@ -152,6 +152,16 @@ public final class Utils { return s.substring(0, 1).toUpperCase() + s.substring(1); } + /** + * Meks the given string cyan + * + * @param s The string. + * @return The cyan string. + */ + public static String cyan(final String s) { + return Colors.CYAN + s + Colors.NORMAL; + } + /** * Ensures that the given location (File/URL) has a trailing slash (/) to indicate a directory. * @@ -198,7 +208,7 @@ public final class Utils { * Makes the given string green. * * @param s The string. - * @return The bold string. + * @return The green string. */ public static String green(final String s) { return Colors.DARK_GREEN + s + Colors.NORMAL;