Skip to content

Commit bec2c3e

Browse files
jbamptonakurtakov
authored andcommitted
tests(java): fix spelling
1 parent 168689f commit bec2c3e

File tree

1 file changed

+9
-9
lines changed
  • tests/org.eclipse.tests.urischeme/src/org/eclipse/urischeme/internal/registration

1 file changed

+9
-9
lines changed

tests/org.eclipse.tests.urischeme/src/org/eclipse/urischeme/internal/registration/Scheme.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
public 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

Comments
 (0)