We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d14c319 commit 3345cb8Copy full SHA for 3345cb8
app/src/main/java/hexlet/code/schemas/MapSchema.java
@@ -11,8 +11,8 @@ public MapSchema sizeof(int newSize) {
11
return this;
12
}
13
14
- public MapSchema shape(Map<String, ? extends BaseSchema<?>> schemas) {
15
- this.shapeSchemas = (Map<String, BaseSchema<?>>) schemas;
+ public MapSchema shape(Map<String, BaseSchema<?>> schemas) {
+ this.shapeSchemas = schemas;
16
17
18
0 commit comments