Skip to content

Commit

Permalink
fix some compiler warnings (apache#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Jun 27, 2023
1 parent cbc4f9d commit a7e23f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ import scala.collection.mutable
/**
* Reset after each row.
*/
private[this] var columns = mutable.ListBuffer[ByteString]()
private[this] val columns = mutable.ListBuffer[ByteString]()
private[this] var state: State = LineStart
private[this] var fieldBuilder = new FieldBuilder
private[this] val fieldBuilder = new FieldBuilder

/**
* Current iterator being parsed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ import org.apache.pekko
import pekko.util.JavaDurationConverters._
import java.util.concurrent.TimeUnit

import pekko.stream.connectors.elasticsearch.ElasticsearchConnectionSettings

import scala.concurrent.duration.FiniteDuration

/**
Expand Down

0 comments on commit a7e23f7

Please sign in to comment.