From d4ca769e542b2489b1e23cfcbdc3a0b7275b87cd Mon Sep 17 00:00:00 2001 From: Ben Culkin Date: Mon, 13 Apr 2020 18:40:41 -0400 Subject: Cleanup pass Cleanup pass to uniformize things --- base/src/main/java/bjc/utils/cli/GenericHelp.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'base/src/main/java/bjc/utils/cli/GenericHelp.java') diff --git a/base/src/main/java/bjc/utils/cli/GenericHelp.java b/base/src/main/java/bjc/utils/cli/GenericHelp.java index 2e74a6c..45d3a88 100644 --- a/base/src/main/java/bjc/utils/cli/GenericHelp.java +++ b/base/src/main/java/bjc/utils/cli/GenericHelp.java @@ -14,14 +14,14 @@ public class GenericHelp implements CommandHelp { * Create a new help topic. * * @param summary - * The summary of this help topic. + * The summary of this help topic. * * @param description - * The description of this help topic, or null if this help topic - * doesn't have a more detailed description. + * The description of this help topic, or null if this help + * topic doesn't have a more detailed description. */ public GenericHelp(final String summary, final String description) { - if(summary == null) { + if (summary == null) { throw new NullPointerException("Help summary must be non-null"); } @@ -31,7 +31,7 @@ public class GenericHelp implements CommandHelp { @Override public String getDescription() { - if(description == null) { + if (description == null) { return summary; } @@ -49,12 +49,12 @@ public class GenericHelp implements CommandHelp { builder.append("GenericHelp ["); - if(summary != null) { + if (summary != null) { builder.append("summary="); builder.append(summary); } - if(description != null) { + if (description != null) { builder.append(", "); builder.append("description="); builder.append(description); -- cgit v1.2.3