Skip to content

Commit 670265f

Browse files
tfonda-fbkLorenzoBettini
authored andcommitted
resource: Trivial doc fixes for SaveOptions
1 parent f1600ad commit 670265f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

org.eclipse.xtext/src/org/eclipse/xtext/resource/SaveOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public static Builder newBuilder() {
118118
}
119119

120120
/**
121-
* This is equal to <code>builder().getOptions()</code>.
121+
* This is equal to <code>newBuilder().getOptions()</code>.
122122
*/
123123
public static SaveOptions defaultOptions() {
124124
return newBuilder().getOptions();
@@ -127,7 +127,7 @@ public static SaveOptions defaultOptions() {
127127
/**
128128
* Allows to create new {@link SaveOptions} in a readable manner.
129129
* Instead of <code>new SaveOptions(true, false)</code> the code
130-
* looks like <code>SaveOptions.builder().format().noValidation().getOptions()</code>.
130+
* looks like <code>SaveOptions.newBuilder().format().noValidation().getOptions()</code>.
131131
* @author Sebastian Zarnekow - Initial contribution and API
132132
*/
133133
public static class Builder {

0 commit comments

Comments
 (0)