Skip to content

Commit 3345cb8

Browse files
committed
add
1 parent d14c319 commit 3345cb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/hexlet/code/schemas/MapSchema.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ public MapSchema sizeof(int newSize) {
1111
return this;
1212
}
1313

14-
public MapSchema shape(Map<String, ? extends BaseSchema<?>> schemas) {
15-
this.shapeSchemas = (Map<String, BaseSchema<?>>) schemas;
14+
public MapSchema shape(Map<String, BaseSchema<?>> schemas) {
15+
this.shapeSchemas = schemas;
1616
return this;
1717
}
1818

0 commit comments

Comments
 (0)