File tree 2 files changed +3
-2
lines changed
src/main/java/io/nats/client/api
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ repositories {
37
37
38
38
dependencies {
39
39
implementation ' net.i2p.crypto:eddsa:0.3.0'
40
+ compileOnly ' org.jetbrains:annotations:24.1.0'
40
41
41
42
testImplementation ' org.junit.jupiter:junit-jupiter:5.9.0'
42
43
testImplementation ' io.nats:jnats-server-runner:2.0.0'
@@ -98,7 +99,6 @@ javadoc {
98
99
" io/nats/client/api/ConsumerCreateRequest.java" ,
99
100
" io/nats/client/api/MessageGetRequest.java"
100
101
]
101
- classpath = sourceSets. main. runtimeClasspath
102
102
doLast {
103
103
if (! OperatingSystem . current(). isWindows()) {
104
104
exec {
Original file line number Diff line number Diff line change 15
15
import io .nats .client .Message ;
16
16
import io .nats .client .impl .Headers ;
17
17
import io .nats .client .support .NatsKeyValueUtil ;
18
+ import org .jetbrains .annotations .NotNull ;
18
19
19
20
import java .nio .charset .StandardCharsets ;
20
21
import java .time .ZonedDateTime ;
@@ -93,7 +94,7 @@ public long getDelta() {
93
94
return delta ;
94
95
}
95
96
96
- public KeyValueOperation getOperation () {
97
+ public @ NotNull KeyValueOperation getOperation () {
97
98
return op ;
98
99
}
99
100
You can’t perform that action at this time.
0 commit comments