Skip to content

Commit

Permalink
Address code review comments (#7763)
Browse files Browse the repository at this point in the history
  • Loading branch information
DzmitryFomchyn authored Feb 28, 2024
1 parent 8f6012f commit e4590a8
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import com.mapbox.navigation.base.ExperimentalPreviewMapboxNavigationAPI
/**
* Data sending configuration
*
* @param messageBinaryFormat binary format in which Adasis message will be sent
* @param messageBinaryFormat binary format in which ADASIS message will be sent
* @param messageIntervalMs interval between sending messages in milliseconds
* @param messagesInPackage number of messages in one package (one message is 8 bytes)
* @param metadataCycleSeconds time in seconds between repetition of META-DATA message
* @param enableRetransmission if true, retransmission will be enabled
* (package will be appended with retransmission data, messages from previous cycles)
* @param retransmissionMeters after passing this distance, messages will not be retransmitted
* @param treeTrailingLength the trailing length of the path tree, relatively
* to the map-matched position, in the adasis provider
* @param treeTrailingLength the trailing length of the path tree,
* relative to the map-matched position, in the ADASIS provider
*/
@ExperimentalPreviewMapboxNavigationAPI
class AdasisDataSendingConfig private constructor(
Expand Down Expand Up @@ -101,7 +101,7 @@ class AdasisDataSendingConfig private constructor(
/**
* Builder for [AdasisDataSendingConfig].
*
* @param messageBinaryFormat Binary format in which Adasis message will be sent
* @param messageBinaryFormat Binary format in which ADASIS message will be sent
*/
class Builder(private val messageBinaryFormat: AdasisMessageBinaryFormat) {

Expand Down Expand Up @@ -149,8 +149,8 @@ class AdasisDataSendingConfig private constructor(
}

/**
* The trailing length of the path tree, relatively to the map-matched position,
* in the adasis provider
* The trailing length of the path tree, relative to the map-matched position,
* in the ADASIS provider
*/
fun treeTrailingLength(treeTrailingLength: Int) = apply {
this.treeTrailingLength = treeTrailingLength
Expand Down

0 comments on commit e4590a8

Please sign in to comment.