From 3006a59a084a736c3c8ec30526ab8b968f8441f0 Mon Sep 17 00:00:00 2001 From: afkbrb <2428391347@qq.com> Date: Sun, 1 Mar 2020 22:03:59 +0800 Subject: [PATCH] register DescriptionScrutinizer --- .../openrefine/wikidata/qa/EditInspector.java | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/extensions/wikidata/src/org/openrefine/wikidata/qa/EditInspector.java b/extensions/wikidata/src/org/openrefine/wikidata/qa/EditInspector.java index e41fe81f0..6e1c6597b 100644 --- a/extensions/wikidata/src/org/openrefine/wikidata/qa/EditInspector.java +++ b/extensions/wikidata/src/org/openrefine/wikidata/qa/EditInspector.java @@ -28,22 +28,7 @@ import java.util.List; import java.util.Map; import java.util.stream.Collectors; -import org.openrefine.wikidata.qa.scrutinizers.CalendarScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.DistinctValuesScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.EditScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.EntityTypeScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.FormatScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.InverseConstraintScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.NewItemScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.NoEditsMadeScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.QualifierCompatibilityScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.QuantityScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.RestrictedPositionScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.RestrictedValuesScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.SelfReferentialScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.SingleValueScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.UnsourcedScrutinizer; -import org.openrefine.wikidata.qa.scrutinizers.WhitespaceScrutinizer; +import org.openrefine.wikidata.qa.scrutinizers.*; import org.openrefine.wikidata.updates.ItemUpdate; import org.openrefine.wikidata.updates.scheduler.WikibaseAPIUpdateScheduler; import org.openrefine.wikidata.utils.EntityCache; @@ -82,6 +67,7 @@ public class EditInspector { register(new RestrictedValuesScrutinizer()); register(new EntityTypeScrutinizer()); register(new CalendarScrutinizer()); + register(new DescriptionScrutinizer()); } /**