Skip to content

Commit

Permalink
[release] 6.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bamthomas committed Feb 28, 2024
1 parent 2e1104f commit 212f46f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion extract-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 5,7 @@
<parent>
<artifactId>extract</artifactId>
<groupId>org.icij.extract</groupId>
<version>6.7.0</version>
<version>6.7.1</version>
</parent>

<artifactId>extract-cli</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extract-lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 5,7 @@
<parent>
<artifactId>extract</artifactId>
<groupId>org.icij.extract</groupId>
<version>6.7.0</version>
<version>6.7.1</version>
</parent>

<artifactId>extract-lib</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 50,7 @@ public void test_insert_error() {

@Test
public void test_insert_error_with_error_in_object_serialization() {
Options<String> from = Options.from(new HashMap<String, String>() {{
Options<String> from = Options.from(new HashMap<>() {{
put("redisAddress", "redis://redis:6379");
}});
RedissonClient redissonClient = new RedissonClientFactory().withOptions(from).create();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 26,15 @@ public void test_build_default_params() {

@Test
public void test_build_with_address() {
new DummyRedissonClientFactory().withOptions(Options.from(new HashMap<String, String>() {{
new DummyRedissonClientFactory().withOptions(Options.from(new HashMap<>() {{
put("redisAddress", "redis");
}})).updateConfig(config);
verify(singleServerConfig).setAddress("redis");
}

@Test
public void test_build_with_address_pass() {
new DummyRedissonClientFactory().withOptions(Options.from(new HashMap<String, String>() {{
new DummyRedissonClientFactory().withOptions(Options.from(new HashMap<>() {{
put("redisAddress", "rediss://user:pass@redis:25061");
}})).updateConfig(config);
verify(singleServerConfig).setAddress("rediss://user:pass@redis:25061");
Expand Down
14 changes: 7 additions & 7 deletions extract-lib/src/test/java/org/icij/task/OptionsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 11,7 @@
public class OptionsTest {
@Test
public void test_from_map() {
Map<String, String> properties = new HashMap<String, String>() {{
Map<String, Object> properties = new HashMap<>() {{
put("key1", "value1");
put("key2", "value2");
}};
Expand Down Expand Up @@ -46,7 46,7 @@ public void test_empty_options_toString() {

@Test
public void test_toString() {
Options<String> options = Options.from(new HashMap<String, String>() {{
Options<String> options = Options.from(new HashMap<>() {{
put("key1", "value1");
put("key2", "value2");
}});
Expand All @@ -55,24 55,24 @@ public void test_toString() {

@Test
public void test_options_equals() {
HashMap<String, String> stringProperties = new HashMap<String, String>() {{
HashMap<String, Object> stringProperties = new HashMap<>() {{
put("key1", "value1");
put("key2", "value2");
}};
assertEquals(Options.from(stringProperties), Options.from(stringProperties));
}

@Test
public void test_createFrom() throws Exception {
Options<String> options1 = Options.from(new HashMap<String, String>() {{
public void test_createFrom() {
Options<String> options1 = Options.from(new HashMap<>() {{
put("key1", "value1");
put("key2", "value2");
}});
Options<String> options2 = Options.from(new HashMap<String, String>() {{
Options<String> options2 = Options.from(new HashMap<>() {{
put("key1", "new value1");
}});

assertEquals(Options.from(new HashMap<String, String>() {{
assertEquals(Options.from(new HashMap<>() {{
put("key1", "new value1");
put("key2", "value2");
}}), options1.createFrom(options2));
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 4,7 @@

<groupId>org.icij.extract</groupId>
<artifactId>extract</artifactId>
<version>6.7.0</version>
<version>6.7.1</version>
<packaging>pom</packaging>

<name>ICIJ Extract</name>
Expand Down

0 comments on commit 212f46f

Please sign in to comment.