geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [27/45] geode git commit: GEODE-2285: fix some typos in GFSH code
Date Wed, 11 Jan 2017 00:00:27 GMT
GEODE-2285: fix some typos in GFSH code


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/052ece57
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/052ece57
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/052ece57

Branch: refs/heads/feature/GEODE-1930-2
Commit: 052ece5779d7eac9dcc0cae6e7c471f41a80dfa1
Parents: 40e8c15
Author: Kirk Lund <klund@apache.org>
Authored: Mon Jan 9 11:15:11 2017 -0800
Committer: Kirk Lund <klund@apache.org>
Committed: Mon Jan 9 12:06:27 2017 -0800

----------------------------------------------------------------------
 .../geode/management/internal/cli/commands/DataCommands.java     | 4 ++--
 .../cli/commands/ExportImportSharedConfigurationCommands.java    | 4 ++--
 .../management/internal/cli/commands/MiscellaneousCommands.java  | 4 ++--
 .../apache/geode/management/internal/cli/i18n/CliStrings.java    | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/052ece57/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DataCommands.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DataCommands.java
b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DataCommands.java
index 6fa1f85..2db52a4 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DataCommands.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DataCommands.java
@@ -793,7 +793,7 @@ public class DataCommands implements CommandMarker {
 
     if (!filePath.endsWith(CliStrings.GEODE_DATA_FILE_EXTENSION)) {
       return ResultBuilder.createUserErrorResult(CliStrings
-          .format(CliStrings.INVALID_FILE_EXTENTION, CliStrings.GEODE_DATA_FILE_EXTENSION));
+          .format(CliStrings.INVALID_FILE_EXTENSION, CliStrings.GEODE_DATA_FILE_EXTENSION));
     }
     try {
       if (targetMember != null) {
@@ -853,7 +853,7 @@ public class DataCommands implements CommandMarker {
 
       if (!filePath.endsWith(CliStrings.GEODE_DATA_FILE_EXTENSION)) {
         return ResultBuilder.createUserErrorResult(CliStrings
-            .format(CliStrings.INVALID_FILE_EXTENTION, CliStrings.GEODE_DATA_FILE_EXTENSION));
+            .format(CliStrings.INVALID_FILE_EXTENSION, CliStrings.GEODE_DATA_FILE_EXTENSION));
       }
       if (targetMember != null) {
         final String args[] = {regionName, filePath};

http://git-wip-us.apache.org/repos/asf/geode/blob/052ece57/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/ExportImportSharedConfigurationCommands.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/ExportImportSharedConfigurationCommands.java
b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/ExportImportSharedConfigurationCommands.java
index 59740e9..46ca18d 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/ExportImportSharedConfigurationCommands.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/ExportImportSharedConfigurationCommands.java
@@ -182,7 +182,7 @@ public class ExportImportSharedConfigurationCommands extends AbstractCommandsSup
 
       if (!zip.endsWith(".zip")) {
         return ResultBuilder
-            .createUserErrorResult(CliStrings.format(CliStrings.INVALID_FILE_EXTENTION, ".zip"));
+            .createUserErrorResult(CliStrings.format(CliStrings.INVALID_FILE_EXTENSION, ".zip"));
       }
       return ResultBuilder.createInfoResult("OK");
     }
@@ -244,7 +244,7 @@ public class ExportImportSharedConfigurationCommands extends AbstractCommandsSup
       }
       if (!zip.endsWith(CliStrings.ZIP_FILE_EXTENSION)) {
         return ResultBuilder.createUserErrorResult(
-            CliStrings.format(CliStrings.INVALID_FILE_EXTENTION, CliStrings.ZIP_FILE_EXTENSION));
+            CliStrings.format(CliStrings.INVALID_FILE_EXTENSION, CliStrings.ZIP_FILE_EXTENSION));
       }
 
       FileResult fileResult;

http://git-wip-us.apache.org/repos/asf/geode/blob/052ece57/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/MiscellaneousCommands.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/MiscellaneousCommands.java
b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/MiscellaneousCommands.java
index 4ef710c..88a9919 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/MiscellaneousCommands.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/MiscellaneousCommands.java
@@ -590,7 +590,7 @@ public class MiscellaneousCommands implements CommandMarker {
     try {
       if (!filename.endsWith(".txt")) {
         return ResultBuilder
-            .createUserErrorResult(CliStrings.format(CliStrings.INVALID_FILE_EXTENTION, ".txt"));
+            .createUserErrorResult(CliStrings.format(CliStrings.INVALID_FILE_EXTENSION, ".txt"));
       }
       Cache cache = CacheFactory.getAnyInstance();
 
@@ -1174,7 +1174,7 @@ public class MiscellaneousCommands implements CommandMarker {
       if (export_to_report_to != null && !export_to_report_to.isEmpty()) {
         if (!export_to_report_to.endsWith(".csv")) {
           return ResultBuilder
-              .createUserErrorResult(CliStrings.format(CliStrings.INVALID_FILE_EXTENTION,
".csv"));
+              .createUserErrorResult(CliStrings.format(CliStrings.INVALID_FILE_EXTENSION,
".csv"));
         }
       }
       if (regionName != null && !regionName.isEmpty()) {

http://git-wip-us.apache.org/repos/asf/geode/blob/052ece57/geode-core/src/main/java/org/apache/geode/management/internal/cli/i18n/CliStrings.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/i18n/CliStrings.java
b/geode-core/src/main/java/org/apache/geode/management/internal/cli/i18n/CliStrings.java
index c53b309..239b66f 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/i18n/CliStrings.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/i18n/CliStrings.java
@@ -134,12 +134,12 @@ public class CliStrings {
       "No caching members for group {0} could be found.  Please verify the group and try
again.";
   public static final String NO_MEMBERS_FOUND_MESSAGE = "No Members Found";
   public static final String NO_CACHING_MEMBERS_FOUND_MESSAGE = "No caching members found.";
-  public static final String COMMAND_FAILURE_MESSAGE = "Error occured while executing : {0}";
+  public static final String COMMAND_FAILURE_MESSAGE = "Error occurred while executing :
{0}";
   public static final String EXCEPTION_CLASS_AND_MESSAGE = "Exception : {0} , Message : {1}";
   public static final String GROUP_EMPTY_ERROR_MESSAGE = "No members found in group : {0}";
   public static final String REGION_NOT_FOUND = "Region : {0} not found";
   public static final String INVALID_REGION_NAME = "Invalid region name";
-  public static final String INVALID_FILE_EXTENTION =
+  public static final String INVALID_FILE_EXTENSION =
       "Invalid file type, the file extension must be \"{0}\"";
   public static final String GEODE_DATA_FILE_EXTENSION = ".gfd";
   public static final String LOCATOR_HEADER = "Locator";


Mime
View raw message