Fix inconsistent whitespace

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1612219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2014-07-21 09:45:44 +00:00
parent 3db4f0b82c
commit 79f3f4bb06

View File

@ -94,8 +94,8 @@ public final class CollaboratingWorkbooksEnvironment {
for (String wbName : evaluatorsByName.keySet()) { for (String wbName : evaluatorsByName.keySet()) {
WorkbookEvaluator wbEval = evaluatorsByName.get(wbName); WorkbookEvaluator wbEval = evaluatorsByName.get(wbName);
if (uniqueEvals.containsKey(wbEval)) { if (uniqueEvals.containsKey(wbEval)) {
String msg = "Attempted to register same workbook under names '" String msg = "Attempted to register same workbook under names '" +
+ uniqueEvals.get(wbEval) + "' and '" + wbName + "'"; uniqueEvals.get(wbEval) + "' and '" + wbName + "'";
throw new IllegalArgumentException(msg); throw new IllegalArgumentException(msg);
} }
uniqueEvals.put(wbEval, wbName); uniqueEvals.put(wbEval, wbName);
@ -108,7 +108,6 @@ public final class CollaboratingWorkbooksEnvironment {
} }
private static void hookNewEnvironment(WorkbookEvaluator[] evaluators, CollaboratingWorkbooksEnvironment env) { private static void hookNewEnvironment(WorkbookEvaluator[] evaluators, CollaboratingWorkbooksEnvironment env) {
// All evaluators will need to share the same cache. // All evaluators will need to share the same cache.
// but the cache takes an optional evaluation listener. // but the cache takes an optional evaluation listener.
int nItems = evaluators.length; int nItems = evaluators.length;