File tree Expand file tree Collapse file tree 3 files changed +15
-7
lines changed
src/main/java/com/datastax/oss/driver/internal/core/cql Expand file tree Collapse file tree 3 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 25
25
<artifactId >java-driver-parent</artifactId >
26
26
<version >4.17.1-SNAPSHOT</version >
27
27
</parent >
28
+ <groupId >fr.yuzer</groupId >
28
29
<artifactId >java-driver-core</artifactId >
30
+ <version >4.15.1</version >
29
31
<packaging >bundle</packaging >
30
32
<name >Apache Cassandra Java Driver - core</name >
31
33
<dependencyManagement >
32
34
<dependencies >
33
35
<dependency >
34
- <groupId >${project.groupId} </groupId >
36
+ <groupId >com.datastax.oss </groupId >
35
37
<artifactId >java-driver-bom</artifactId >
36
- <version >${project.version} </version >
38
+ <version >4.15.0 </version >
37
39
<type >pom</type >
38
40
<scope >import</scope >
39
41
</dependency >
Original file line number Diff line number Diff line change @@ -163,7 +163,9 @@ public CompletionStage<PreparedStatement> process(
163
163
});
164
164
}
165
165
}
166
- return result ;
166
+ // Return a defensive copy. So if a client cancels its request, the cache won't be impacted
167
+ // nor a potential concurrent request.
168
+ return result .thenApply (x -> x ); // copy() is available only since Java 9
167
169
} catch (ExecutionException e ) {
168
170
return CompletableFutures .failedFuture (e .getCause ());
169
171
}
Original file line number Diff line number Diff line change @@ -892,7 +892,7 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
892
892
</supportedProjectTypes >
893
893
</configuration >
894
894
</plugin >
895
- <plugin >
895
+ <!-- plugin>
896
896
<groupId>org.revapi</groupId>
897
897
<artifactId>revapi-maven-plugin</artifactId>
898
898
<executions>
@@ -902,13 +902,13 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
902
902
</goals>
903
903
<configuration>
904
904
<analysisConfigurationFiles>
905
- <!-- Present at the root of each module that doesn't skip this goal - ->
905
+ <!- Present at the root of each module that doesn't skip this goal ->
906
906
<analysisConfigurationFile>revapi.json</analysisConfigurationFile>
907
907
</analysisConfigurationFiles>
908
908
</configuration>
909
909
</execution>
910
910
</executions>
911
- </plugin >
911
+ </plugin -- >
912
912
</plugins >
913
913
</build >
914
914
<profiles >
@@ -998,9 +998,13 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
998
998
</profile >
999
999
</profiles >
1000
1000
<distributionManagement >
1001
- <repository >
1001
+ <!-- repository>
1002
1002
<id>ossrh</id>
1003
1003
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
1004
+ </repository -->
1005
+ <repository >
1006
+ <id >yuzer</id >
1007
+ <url >https://maven.pkg.github.com/yuzer-software/yuzer-boot</url >
1004
1008
</repository >
1005
1009
</distributionManagement >
1006
1010
<licenses >
You can’t perform that action at this time.
0 commit comments