2020public class Scheme implements IScheme {
2121
2222 private final String name ;
23- private final String desription ;
23+ private final String description ;
2424
25- public Scheme (String name , String desription ) {
25+ public Scheme (String name , String description ) {
2626 this .name = name ;
27- this .desription = desription ;
27+ this .description = description ;
2828
2929 }
3030
@@ -35,7 +35,7 @@ public String getName() {
3535
3636 @ Override
3737 public String getDescription () {
38- return desription ;
38+ return description ;
3939 }
4040
4141 @ Override
@@ -44,12 +44,12 @@ public boolean equals(Object o) {
4444 return false ;
4545 }
4646 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 );
4848 }
4949
5050 @ Override
5151 public int hashCode () {
52- return Objects .hash (name , desription );
52+ return Objects .hash (name , description );
5353 }
5454
5555 @ Override
@@ -61,9 +61,9 @@ public String toString() {
6161 builder .append (name );
6262 builder .append (", " );
6363 }
64- if (desription != null ) {
65- builder .append ("desription =" );
66- builder .append (desription );
64+ if (description != null ) {
65+ builder .append ("description =" );
66+ builder .append (description );
6767 }
6868 builder .append ("]" );
6969 return builder .toString ();
0 commit comments