Skip to content

Commit ce5937e

Browse files
committed
JVM docs were a bit out-of-date.
1 parent 082ac6f commit ce5937e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

selfie.dev/src/pages/jvm/facets.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The first thing to notice is that we'll be doing a lot of `RestAssured.get().bod
4040

4141
```java
4242
class Selfie {
43-
public static <T> Selfie.DiskSelfie expectSelfie(T actual, Camera<T> camera) { ... }
43+
public static <T> StringSelfie expectSelfie(T actual, Camera<T> camera) { ... }
4444
}
4545
@FunctionalInterface
4646
interface Camera<T> {
@@ -64,7 +64,7 @@ public class SelfieSettings extends SelfieSettingsAPI {
6464
private static final Camera<Response> RESPONSE_CAMERA = (Response response) ->
6565
Snapshot.of(response.getBody().asString());
6666

67-
public static Selfie.DiskSelfie expectSelfie(Response response) {
67+
public static StringSelfie expectSelfie(Response response) {
6868
return Selfie.expectSelfie(response, RESPONSE_CAMERA);
6969
}
7070
}
@@ -152,10 +152,10 @@ private static final Lens PRETTY_PRINT = (Snapshot snapshot) -> {
152152
}
153153
};
154154

155-
public static Selfie.DiskSelfie expectSelfie(Response response) {
155+
public static StringSelfie expectSelfie(Response response) {
156156
return Selfie.expectSelfie(response, RESPONSE_CAMERA.withLens(PRETTY_PRINT));
157157
}
158-
public static Selfie.DiskSelfie expectSelfie(Email email) {
158+
public static StringSelfie expectSelfie(Email email) {
159159
return Selfie.expectSelfie(email, EMAIL_CAMERA.withLens(PRETTY_PRINT));
160160
}
161161
```

0 commit comments

Comments
 (0)