Skip to content

Commit

Permalink
. d Update Verify.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottBob authored Jan 25, 2024
1 parent 8fd46ae commit 2b960c6
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions approvaltests/docs/reference/Verify.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,11 @@ Here is a list:
## Optional Options

The Java language does not allow optional parameters (like many other languages do), however the same effect can be achieved with method overloading.
Therefore for every method that has an Options parameter, there is a corresponding method that does not.
That method simply calls the other method with a `new Options()`.
For example:
```java
public static void method(A a, B b) {
method(a, b, new Options());
}
```
Every method is actually two methods. One with an Options parameter, and one without.

The one without simply calls the other method with a `new Options()`.

To find out more about the [Options parameter, click here](Options.md)

---

Expand Down

0 comments on commit 2b960c6

Please sign in to comment.