Skip to content

Commit 2962637

Browse files
committed
Map CharSequence interface to StringTypeManufacturerImpl as reported in Issue #310
1 parent 55756d8 commit 2962637

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/uk/co/jemos/podam/api/AbstractRandomDataProviderStrategy.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ public AbstractRandomDataProviderStrategy(int nbrOfCollectionElements) {
179179

180180
TypeManufacturer<?> stringManufacturer = new StringTypeManufacturerImpl();
181181
typeManufacturers.put(String.class, stringManufacturer);
182+
typeManufacturers.put(CharSequence.class, stringManufacturer);
182183

183184
TypeManufacturer<?> enumManufacturer = new EnumTypeManufacturerImpl();
184185
typeManufacturers.put(Enum.class, enumManufacturer);

0 commit comments

Comments
 (0)