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 5be3715 commit 2537103Copy full SHA for 2537103
junit-jupiter-api/src/main/java/org/junit/jupiter/api/extension/MediaType.java
@@ -137,11 +137,11 @@ private MediaType(String value) {
137
}
138
139
/**
140
- * {@return string representation of this media type}
+ * {@return a string representation of this media type}
141
*/
142
@Override
143
public String toString() {
144
- return value;
+ return this.value;
145
146
147
@@ -155,7 +155,7 @@ public boolean equals(Object o) {
155
156
157
public int hashCode() {
158
- return Objects.hashCode(value);
+ return Objects.hashCode(this.value);
159
160
161
0 commit comments