Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sokomishalov committed Jul 15, 2020
1 parent 1f6ed70 commit 706dc2b
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add the dependency:
<dependency>
<groupId>com.github.sokomishalov.commons</groupId>
<artifactId>commons-[module]</artifactId>
<version>1.1.17</version>
<version>1.1.18</version>
</dependency>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import reactor.netty.tcp.TcpClient
import ru.sokomishalov.commons.core.string.isNotNullOrBlank
import java.time.Duration

@JvmField

val REACTIVE_NETTY_HTTP_CLIENT: HttpClient = createReactorNettyClient()

fun createReactorNettyClient(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ import com.fasterxml.jackson.dataformat.csv.CsvFactory
* @author sokomishalov
*/

@JvmField

val CSV_OBJECT_MAPPER: ObjectMapper = buildComplexObjectMapper(factory = CsvFactory())
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ import com.fasterxml.jackson.databind.ObjectMapper
* @author sokomishalov
*/

@JvmField

val OBJECT_MAPPER: ObjectMapper = buildComplexObjectMapper()
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ import com.fasterxml.jackson.dataformat.protobuf.ProtobufFactory
* @author sokomishalov
*/

@JvmField

val PROTOBUF_OBJECT_MAPPER: ObjectMapper = buildComplexObjectMapper(factory = ProtobufFactory())
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ import com.fasterxml.jackson.dataformat.xml.XmlFactory
* @author sokomishalov
*/

@JvmField

val XML_OBJECT_MAPPER: ObjectMapper = buildComplexObjectMapper(factory = XmlFactory())
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ import com.fasterxml.jackson.dataformat.yaml.YAMLFactory
* @author sokomishalov
*/

@JvmField

val YAML_OBJECT_MAPPER: ObjectMapper = buildComplexObjectMapper(factory = YAMLFactory())
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import ru.sokomishalov.commons.core.serialization.OBJECT_MAPPER
* @author sokomishalov
*/

@JvmField

val JACKSON_ENCODER = Jackson2JsonEncoder(OBJECT_MAPPER)

@JvmField

val JACKSON_DECODER = Jackson2JsonDecoder(OBJECT_MAPPER)
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import ru.sokomishalov.commons.spring.serialization.JACKSON_ENCODER
* @author sokomishalov
*/

@JvmField

val REACTIVE_WEB_CLIENT: WebClient = createReactiveWebClient()

fun createReactiveWebClient(
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<packaging>pom</packaging>

<properties>
<revision>1.1.17</revision>
<revision>1.1.18</revision>

<java.version>1.8</java.version>
<kotlin.version>1.3.72</kotlin.version>
Expand Down

0 comments on commit 706dc2b

Please sign in to comment.