diff --git a/engine/src/main/java/org/hibernate/search/spi/IndexedTypeMap.java b/engine/src/main/java/org/hibernate/search/spi/IndexedTypeMap.java index b1924c7521a..b8c2921664f 100644 --- a/engine/src/main/java/org/hibernate/search/spi/IndexedTypeMap.java +++ b/engine/src/main/java/org/hibernate/search/spi/IndexedTypeMap.java @@ -18,7 +18,7 @@ * In an ideal world, we will expose less methods than what is currently listed: * some methods have been introduced as Deprecated since the beginning as the plan * is to eventually remove them; they currently exist merely to allow a - * pratical migration of code to the new approach in smaller, testable steps. + * practical migration of code to the new approach in smaller, testable steps. * * @author Sanne Grinovero */ diff --git a/engine/src/main/java/org/hibernate/search/spi/IndexedTypeSet.java b/engine/src/main/java/org/hibernate/search/spi/IndexedTypeSet.java index 1c49bdd2ae4..6d7f4992cf4 100644 --- a/engine/src/main/java/org/hibernate/search/spi/IndexedTypeSet.java +++ b/engine/src/main/java/org/hibernate/search/spi/IndexedTypeSet.java @@ -8,6 +8,10 @@ import java.util.Set; +/** + * Represents a set of IndexedTypeIdentifier instances. + * Could be an empty set, a singleton set or actually multiple type identifiers. + */ public interface IndexedTypeSet extends Iterable { int size(); @@ -15,7 +19,7 @@ public interface IndexedTypeSet extends Iterable { boolean isEmpty(); /** - * Return the set of the unrelying POJOs. + * Return the set of the underlying POJOs. * @deprecated This only exists to facilitate an iterative integration, and will be removed ASAP. */ @Deprecated