| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ public class ActionPreprocessorExtensionHandler implements CommandLineHandler { | |||
| 11 | 11 | ||
| 12 | 12 | @Override | |
| 13 | 13 | public String getDescription() { | |
| 14 | - return "class to be used for action directives, the class must be in the classpath and contain default constructor."; | ||
| 14 | + return "class for action directives (must be in classpath with default constructor)"; | ||
| 15 | 15 | } | |
| 16 | 16 | ||
| 17 | 17 | @Override | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,7 +36,7 @@ public class AllowMergeBlockLineHandler implements CommandLineHandler { | |||
| 36 | 36 | ||
| 37 | 37 | @Override | |
| 38 | 38 | public String getDescription() { | |
| 39 | - return "interpret lines marked by //$\"\"\" and //$$\"\"\" as single text block"; | ||
| 39 | + return "treat //$\"\"\" and //$$\"\"\" prefixed lines as single text block"; | ||
| 40 | 40 | } | |
| 41 | 41 | ||
| 42 | 42 | @Override | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,7 +34,7 @@ public class AllowWhitespaceDirectiveHandler implements CommandLineHandler { | |||
| 34 | 34 | ||
| 35 | 35 | @Override | |
| 36 | 36 | public String getDescription() { | |
| 37 | - return "turn on mode to allow whitespace between the // and the #"; | ||
| 37 | + return "enable whitespace-tolerant mode between // and #"; | ||
| 38 | 38 | } | |
| 39 | 39 | ||
| 40 | 40 | @Override | |
@@ -50,7 +50,6 @@ public boolean processCommandLineKey(final String key, final PreprocessorContext | |||
| 50 | 50 | } | |
| 51 | 51 | ||
| 52 | 52 | @Override | |
| 53 | - | ||
| 54 | 53 | public String getKeyName() { | |
| 55 | 54 | return ARG_NAME; | |
| 56 | 55 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,7 +29,7 @@ public class CareForLastEolHandler implements CommandLineHandler { | |||
| 29 | 29 | ||
| 30 | 30 | @Override | |
| 31 | 31 | public String getDescription() { | |
| 32 | - return "carefully reproduce last line aEOL in result"; | ||
| 32 | + return "preserve last line EOL in output"; | ||
| 33 | 33 | } | |
| 34 | 34 | ||
| 35 | 35 | @Override | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,7 +37,7 @@ public class DestinationDirectoryHandler implements CommandLineHandler { | |||
| 37 | 37 | ||
| 38 | 38 | @Override | |
| 39 | 39 | public String getDescription() { | |
| 40 | - return "define the destination folder (by default " + | ||
| 40 | + return "set destination folder (default " + | ||
| 41 | 41 | PreprocessorContext.DEFAULT_DEST_DIRECTORY + ')'; | |
| 42 | 42 | } | |
| 43 | 43 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,7 +40,7 @@ public String getKeyName() { | |||
| 40 | 40 | ||
| 41 | 41 | @Override | |
| 42 | 42 | public String getDescription() { | |
| 43 | - return "don't overwrite target file with same content"; | ||
| 43 | + return "skip writing target file if content unchanged"; | ||
| 44 | 44 | } | |
| 45 | 45 | ||
| 46 | 46 | @Override | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,7 +37,7 @@ public class ExcludeFoldersHandler implements CommandLineHandler { | |||
| 37 | 37 | ||
| 38 | 38 | @Override | |
| 39 | 39 | public String getDescription() { | |
| 40 | - return "folders to be excluded from preprocessing, ANT matcher format allowed. Use system path separator as delimiter."; | ||
| 40 | + return "folders to exclude (ANT pattern, delimited by system path separator)"; | ||
| 41 | 41 | } | |
| 42 | 42 | ||
| 43 | 43 | @Override | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -39,7 +39,7 @@ public class ExcludedFileExtensionsHandler implements CommandLineHandler { | |||
| 39 | 39 | @Override | |
| 40 | 40 | public String getDescription() { | |
| 41 | 41 | return | |
| 42 | - "comma separated file extensions (case insensitive) to be excluded from preprocess and copy (by default " + | ||
| 42 | + "comma-separated file extensions to exclude (default: " + | ||
| 43 | 43 | String.join(",", PreprocessorContext.DEFAULT_EXCLUDED_EXTENSIONS) + ')'; | |
| 44 | 44 | } | |
| 45 | 45 | ||
@@ -51,7 +51,7 @@ public boolean processCommandLineKey(final String key, final PreprocessorContext | |||
| 51 | 51 | final String extensions = PreprocessorUtils.extractTrimmedTail(ARG_NAME, key); | |
| 52 | 52 | if (!extensions.isEmpty()) { | |
| 53 | 53 | context.setExcludeExtensions( | |
| 54 | - Arrays.stream(extensions.split("\\,")).map(String::trim).collect(Collectors.toList())); | ||
| 54 | + Arrays.stream(extensions.split(",")).map(String::trim).collect(Collectors.toList())); | ||
| 55 | 55 | result = true; | |
| 56 | 56 | } | |
| 57 | 57 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,7 +38,7 @@ public class FileExtensionsHandler implements CommandLineHandler { | |||
| 38 | 38 | ||
| 39 | 39 | @Override | |
| 40 | 40 | public String getDescription() { | |
| 41 | - return "comma separated list of allowed extensions (case insensitive) (by default " + | ||
| 41 | + return "comma-separated allowed extensions (default: " + | ||
| 42 | 42 | String.join(",", PreprocessorContext.DEFAULT_PROCESSING_EXTENSIONS) + ')'; | |
| 43 | 43 | } | |
| 44 | 44 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,7 +38,7 @@ public class GlobalVariableDefiningFileHandler implements CommandLineHandler { | |||
| 38 | 38 | ||
| 39 | 39 | @Override | |
| 40 | 40 | public String getDescription() { | |
| 41 | - return "load global variable list from file defined by either path or expression (last one needs @@)"; | ||
| 41 | + return "load global variables from file (path or @@expression)"; | ||
| 42 | 42 | } | |
| 43 | 43 | ||
| 44 | 44 | @Override | |
| Back | FazBrowse Home | New Git URL |
0 commit comments