Skip to content

Commit 0121ae7

Browse files
authored
MINOR: [Java] Doc & javadoc improvements (#15222)
Authored-by: Libor Rysavy <[email protected]> Signed-off-by: David Li <[email protected]>
1 parent 11d286e commit 0121ae7

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎docs/source/java/quickstartguide.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ a streaming and/or random-access fashion depending on application requirements.
209209

210210
**Write data to an arrow file**
211211

212-
Example: Write the dataset from the previous example to an Arrow random-access file.
212+
Example: Write the dataset from the previous example to an Arrow IPC file (random-access).
213213

214214
.. code-block:: Java
215215
@@ -274,7 +274,7 @@ Example: Write the dataset from the previous example to an Arrow random-access f
274274
275275
**Read data from an arrow file**
276276

277-
Example: Read the dataset from the previous example to an Arrow random-access file.
277+
Example: Read the dataset from the previous example from an Arrow IPC file (random-access).
278278

279279
.. code-block:: Java
280280

‎java/vector/src/main/java/org/apache/arrow/vector/BaseIntVector.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
public interface BaseIntVector extends FieldVector {
2424

2525
/**
26-
* Sets the value at index, note this value may need to be need truncated.
27-
* Note this is safe version (i.e. call setSafe method in vector)
26+
* Sets the value at index, note this value may need to be truncated.
27+
* Note this is safe version (i.e. call setSafe(int, ...) method in vector)
2828
*/
2929
void setWithPossibleTruncate(int index, long value);
3030

3131
/**
32-
* Sets the value at index, note this value may need to be need truncated.
33-
* Note this is unsafe version (i.e. call set method in vector)
32+
* Sets the value at index, note this value may need to be truncated.
33+
* Note this is unsafe version (i.e. call set(int, ...) method in vector)
3434
*/
3535
void setUnsafeWithPossibleTruncate(int index, long value);
3636

0 commit comments

Comments
 (0)