From c0ba2870c909fb57f97efd7083b5d33d2311d7f9 Mon Sep 17 00:00:00 2001 From: jdees Date: Wed, 30 Jun 2021 20:55:56 +0200 Subject: [PATCH] Fix typo in docu (#6714) wether => whether --- docs/source/LobsterUsage.md | 2 +- docs/source/Schemas.md | 2 +- java/com/google/flatbuffers/FlexBuffersBuilder.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/LobsterUsage.md b/docs/source/LobsterUsage.md index 9d69caf85..723966be7 100644 --- a/docs/source/LobsterUsage.md +++ b/docs/source/LobsterUsage.md @@ -71,7 +71,7 @@ Using FlatBuffers in Lobster should be relatively fast, as the implementation makes use of native support for writing binary values, and access of vtables. Both generated code and the runtime library are therefore small and fast. -Actual speed will depend on wether you use Lobster as bytecode VM or compiled to +Actual speed will depend on whether you use Lobster as bytecode VM or compiled to C++. ## Text Parsing diff --git a/docs/source/Schemas.md b/docs/source/Schemas.md index 12c30a5f2..3a2b15dd5 100644 --- a/docs/source/Schemas.md +++ b/docs/source/Schemas.md @@ -592,7 +592,7 @@ we keep the sequence of ids. table { b:int; } -NOT ok. We can only remove a field by deprecation, regardless of wether we use +NOT ok. We can only remove a field by deprecation, regardless of whether we use explicit ids or not. table { a:uint; b:uint; } diff --git a/java/com/google/flatbuffers/FlexBuffersBuilder.java b/java/com/google/flatbuffers/FlexBuffersBuilder.java index dc0df9669..9751a2776 100644 --- a/java/com/google/flatbuffers/FlexBuffersBuilder.java +++ b/java/com/google/flatbuffers/FlexBuffersBuilder.java @@ -452,8 +452,8 @@ public class FlexBuffersBuilder { * Finishes a vector, but writing the information in the buffer * @param key key used to store element in map * @param start reference for begining of the vector. Returned by {@link startVector()} - * @param typed boolean indicating wether vector is typed - * @param fixed boolean indicating wether vector is fixed + * @param typed boolean indicating whether vector is typed + * @param fixed boolean indicating whether vector is fixed * @return Reference to the vector */ public int endVector(String key, int start, boolean typed, boolean fixed) {