Skip to content

Commit

Permalink
apacheGH-15187: Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rtadepalli committed Jun 16, 2023
1 parent 5dcce2e commit 24deeeb
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -149,17 +149,17 @@ long computeCombinedBufferSize(int valueCount, int typeWidth) {

/**
* Each vector has a different reader that implements the FieldReader interface. Overridden methods must make
* sure to return the correct type of the reader implementation to instantiate the reader properly.
* sure to return the correct concrete reader implementation.
*
* @return Returns the implementation class type of the vector's reader.
* @return Returns a lambda that initializes a reader when called.
*/
protected abstract Supplier<FieldReader> getReaderImpl();

/**
* Default implementation to create a reader for the vector. Depends on the individual vector
* class' implementation of {@link #getReaderImpl} to initialize the reader appropriately.
*
* @return Concrete instance of FieldReader by using lazy initialization.
* @return Concrete instance of FieldReader by using double-checked locking.
*/
public FieldReader getReader() {
FieldReader reader = fieldReader;
Expand Down

0 comments on commit 24deeeb

Please sign in to comment.