Skip to content

Commit 57de98d

Browse files
authored
Merge pull request #128 from Logofile/sync
Documentation updates
2 parents 7b2a09e + 9026690 commit 57de98d

File tree

2 files changed

+337
-159
lines changed

2 files changed

+337
-159
lines changed

content/reference/java/java-proto-names.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,9 @@ java_api_version | java_multiple_files | java_alt_api_package | java_package | j
5858

5959
### Recommendation { #recommendation }
6060

61-
The recommended set of options to use is:
61+
The recommended option to use is:
6262

6363
```proto
64-
option java_api_version = 2;
6564
option java_multiple_files = true;
6665
```
6766

@@ -70,3 +69,6 @@ will be placed in a separate `.java` file. This makes it much easier to move
7069
messages from one `.proto` file to another. There is also an outer Java class
7170
generated for the `.proto` file itself. (The legend above explains how this
7271
outer class name is generated.)
72+
73+
The `java_api_version` option defaults to `2`, but you can manually set it to
74+
`1` when necessary.

0 commit comments

Comments
 (0)