From ed04be1c964ad4c06e2ec92fdb77141eefde2fda Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 2 Apr 2019 17:31:15 +0200 Subject: [PATCH] extensions: Fix some typos in comments and message texts All typos were found and fixed using codespell. Signed-off-by: Stefan Weil --- extensions/database/module/MOD-INF/controller.js | 2 +- .../com/google/refine/extension/gdata/GoogleAPIExtension.java | 2 +- .../src/org/openrefine/wikidata/schema/WbVariableExpr.java | 2 +- .../wikidata/updates/scheduler/WikibaseAPIUpdateScheduler.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/database/module/MOD-INF/controller.js b/extensions/database/module/MOD-INF/controller.js index b2b0d1e35..959745b5a 100644 --- a/extensions/database/module/MOD-INF/controller.js +++ b/extensions/database/module/MOD-INF/controller.js @@ -55,7 +55,7 @@ function registerCommands() { RS.registerCommand(module, "saved-connection", Packages.com.google.refine.extension.database.cmd.SavedConnectionCommand()); RS.registerCommand(module, "execute-query", Packages.com.google.refine.extension.database.cmd.ExecuteQueryCommand()); RS.registerCommand(module, "test-query", Packages.com.google.refine.extension.database.cmd.TestQueryCommand()); - logger.trace("Database Extension Command Registeration done!!"); + logger.trace("Database Extension Command Registration done!!"); } function registerOperations() { diff --git a/extensions/gdata/src/com/google/refine/extension/gdata/GoogleAPIExtension.java b/extensions/gdata/src/com/google/refine/extension/gdata/GoogleAPIExtension.java index dc9d707e2..a7bf3def0 100644 --- a/extensions/gdata/src/com/google/refine/extension/gdata/GoogleAPIExtension.java +++ b/extensions/gdata/src/com/google/refine/extension/gdata/GoogleAPIExtension.java @@ -227,6 +227,6 @@ abstract public class GoogleAPIExtension { } } - throw new IllegalArgumentException("Uknown URL format."); + throw new IllegalArgumentException("Unknown URL format."); } } diff --git a/extensions/wikidata/src/org/openrefine/wikidata/schema/WbVariableExpr.java b/extensions/wikidata/src/org/openrefine/wikidata/schema/WbVariableExpr.java index 99a03f63f..a2f85742f 100644 --- a/extensions/wikidata/src/org/openrefine/wikidata/schema/WbVariableExpr.java +++ b/extensions/wikidata/src/org/openrefine/wikidata/schema/WbVariableExpr.java @@ -86,7 +86,7 @@ public abstract class WbVariableExpr implements WbExpression { /** * Method that should be implemented by subclasses, converting an OpenRefine - * cell to a Wikibase value. Access to other values and emiting warnings is + * cell to a Wikibase value. Access to other values and emitting warnings is * possible via the supplied EvaluationContext object. * * @param cell diff --git a/extensions/wikidata/src/org/openrefine/wikidata/updates/scheduler/WikibaseAPIUpdateScheduler.java b/extensions/wikidata/src/org/openrefine/wikidata/updates/scheduler/WikibaseAPIUpdateScheduler.java index a3fea60e2..f12936fd8 100644 --- a/extensions/wikidata/src/org/openrefine/wikidata/updates/scheduler/WikibaseAPIUpdateScheduler.java +++ b/extensions/wikidata/src/org/openrefine/wikidata/updates/scheduler/WikibaseAPIUpdateScheduler.java @@ -36,7 +36,7 @@ import org.wikidata.wdtk.datamodel.interfaces.ItemIdValue; import org.wikidata.wdtk.datamodel.interfaces.Statement; /** - * A simple scheduler for batches commited via the Wikibase API. + * A simple scheduler for batches committed via the Wikibase API. * * The strategy is quite simple and makes at most two edits per touched item * (which is not minimal though). Each update is split between statements making