Make constructor private

This commit is contained in:
Hannes Greule 2020-05-05 11:27:44 +02:00 committed by dordsor21
parent a19fa1b92c
commit 9b997d2195

View File

@ -61,9 +61,9 @@ public class BlockTypeWrapper {
this.blockCategoryId = null;
}
public BlockTypeWrapper(@Nullable String blockCategoryId) {
private BlockTypeWrapper(@NotNull final String blockCategoryId) {
this.blockType = null;
this.blockCategoryId = blockCategoryId;
this.blockCategoryId = Preconditions.checkNotNull(blockCategoryId);
this.blockCategory = null;
}