20
20
public class Scheme implements IScheme {
21
21
22
22
private final String name ;
23
- private final String desription ;
23
+ private final String description ;
24
24
25
- public Scheme (String name , String desription ) {
25
+ public Scheme (String name , String description ) {
26
26
this .name = name ;
27
- this .desription = desription ;
27
+ this .description = description ;
28
28
29
29
}
30
30
@@ -35,7 +35,7 @@ public String getName() {
35
35
36
36
@ Override
37
37
public String getDescription () {
38
- return desription ;
38
+ return description ;
39
39
}
40
40
41
41
@ Override
@@ -44,12 +44,12 @@ public boolean equals(Object o) {
44
44
return false ;
45
45
}
46
46
Scheme other = (Scheme ) o ;
47
- return Objects .equals (this .name , other .name ) && Objects .equals (this .desription , other .desription );
47
+ return Objects .equals (this .name , other .name ) && Objects .equals (this .description , other .description );
48
48
}
49
49
50
50
@ Override
51
51
public int hashCode () {
52
- return Objects .hash (name , desription );
52
+ return Objects .hash (name , description );
53
53
}
54
54
55
55
@ Override
@@ -61,9 +61,9 @@ public String toString() {
61
61
builder .append (name );
62
62
builder .append (", " );
63
63
}
64
- if (desription != null ) {
65
- builder .append ("desription =" );
66
- builder .append (desription );
64
+ if (description != null ) {
65
+ builder .append ("description =" );
66
+ builder .append (description );
67
67
}
68
68
builder .append ("]" );
69
69
return builder .toString ();
0 commit comments