Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
Formatting change and update conversion library
Browse files Browse the repository at this point in the history
  • Loading branch information
vendamere committed Aug 22, 2023
1 parent 81b6b39 commit 0a153fa
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import com.azure.cosmos.models.{PartitionKey, SqlParameter, SqlQuerySpec}
import com.banno.cosmos4s.types._
import com.fasterxml.jackson.databind.JsonNode
import fs2.Stream
import collection.JavaConverters._
import scala.jdk.CollectionConverters._
import io.circe.jackson._
import io.circe._
import com.azure.cosmos.implementation.NotFoundException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import com.azure.cosmos.models._
import com.banno.cosmos4s.types._
import fs2.Stream
import io.circe._
import scala.jdk.CollectionConverters._

trait IndexedCosmosContainer[F[_], K, I, V] {
def query(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import cats.effect._
import com.banno.cosmos4s.types._
import fs2.Stream
import io.circe._
import scala.jdk.CollectionConverters._

trait RawCosmosContainer[F[_], V] {
def queryRaw(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package com.banno.cosmos4s.types

import collection.JavaConverters._
import scala.jdk.CollectionConverters._
import com.azure.cosmos.CosmosDiagnostics

object FeedResponse {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package com.banno.cosmos4s.types

import com.azure.cosmos.models.{CosmosItemRequestOptions, IndexingDirective}
import collection.JavaConverters._
import scala.jdk.CollectionConverters._

final class ItemRequestOptions private (
private val ifMatchEtag: Option[String],
Expand Down Expand Up @@ -62,11 +62,11 @@ final class ItemRequestOptions private (
o match {
case x: ItemRequestOptions =>
(this.ifMatchEtag == x.ifMatchEtag) &&
(this.ifNoneMatchEtag == x.ifNoneMatchEtag) &&
(this.indexingDirective == x.indexingDirective) &&
(this.postTriggerInclude == x.postTriggerInclude) &&
(this.preTriggerInclude == x.preTriggerInclude) &&
(this.sessionToken == x.sessionToken)
(this.ifNoneMatchEtag == x.ifNoneMatchEtag) &&
(this.indexingDirective == x.indexingDirective) &&
(this.postTriggerInclude == x.postTriggerInclude) &&
(this.preTriggerInclude == x.preTriggerInclude) &&
(this.sessionToken == x.sessionToken)
case _ => false
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import cats.Traverse
import cats.syntax.all._
import com.azure.cosmos.CosmosDiagnostics
import com.azure.cosmos.models.CosmosItemResponse
import collection.JavaConverters._
import scala.jdk.CollectionConverters._
import scala.concurrent.duration.FiniteDuration
import java.util.concurrent.TimeUnit
import cats.Applicative
Expand Down

0 comments on commit 0a153fa

Please sign in to comment.