Skip to content

Commit

Permalink
COMMERCE-5334 Wordsmith and SF
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Dec 21, 2020
1 parent 68ed7a7 commit f1dbd86
Showing 1 changed file with 3 additions and 4 deletions.
Expand Up @@ -72,7 +72,6 @@ protected void addDispatchTaskExecutor(
_dispatchTaskExecutorNames.put(
dispatchTaskExecutorType,
(String)properties.get(_KEY_DISPATCH_TASK_EXECUTOR_NAME));

_dispatchTaskExecutors.put(
dispatchTaskExecutorType, dispatchTaskExecutor);
}
Expand All @@ -85,7 +84,6 @@ protected void removeDispatchTaskExecutor(
_KEY_DISPATCH_TASK_EXECUTOR_TYPE);

_dispatchTaskExecutorNames.remove(dispatchTaskExecutorType);

_dispatchTaskExecutors.remove(dispatchTaskExecutorType);
}

Expand All @@ -107,8 +105,9 @@ private void _validateDispatchTaskExecutorProperties(
_log.error(
StringBundler.concat(
_KEY_DISPATCH_TASK_EXECUTOR_TYPE, " property must have ",
"unique value. The same value found in ", clazz1.getName(),
" and ", clazz2.getName(), StringPool.PERIOD));
"unique value. The same value is found in ",
clazz1.getName(), " and ", clazz2.getName(),
StringPool.PERIOD));
}
}

Expand Down

0 comments on commit f1dbd86

Please sign in to comment.