Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Koksharov committed Feb 9, 2024
1 parent 89d7d5d commit fedc425
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions redisson/src/test/java/org/redisson/jcache/JCacheTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public Map<String, String> loadAll(Iterable<? extends String> keys) throws Cache
}

@Test
public void testJson() throws InterruptedException, IllegalArgumentException, URISyntaxException, IOException {
public void testJson() throws IllegalArgumentException, IOException {
URL configUrl = getClass().getResource("redisson-jcache.yaml");
Config cfg = Config.fromYAML(configUrl);
ObjectMapper objectMapper = new ObjectMapper();
Expand All @@ -322,7 +322,7 @@ public void testJson() throws InterruptedException, IllegalArgumentException, UR
}

@Test
public void testRedissonConfig() throws InterruptedException, IllegalArgumentException, IOException {
public void testRedissonConfig() throws IllegalArgumentException, IOException {
URL configUrl = getClass().getResource("redisson-jcache.yaml");
Config cfg = Config.fromYAML(configUrl);

Expand All @@ -347,7 +347,7 @@ public void testRedissonConfig() throws InterruptedException, IllegalArgumentExc
}

@Test
public void testScriptCache() throws IOException, InterruptedException {
public void testScriptCache() throws IOException {
URL configUrl = getClass().getResource("redisson-jcache.yaml");
Config cfg = Config.fromYAML(configUrl);
cfg.setUseScriptCache(true);
Expand Down Expand Up @@ -407,7 +407,7 @@ public void testExpiration() throws InterruptedException, IllegalArgumentExcepti
}

@Test
public void testUpdate() throws IOException, InterruptedException, URISyntaxException {
public void testUpdate() throws InterruptedException, URISyntaxException {
MutableConfiguration<String, String> config = new MutableConfiguration<>();
config.setStoreByValue(true);

Expand Down Expand Up @@ -437,7 +437,7 @@ public void testUpdate() throws IOException, InterruptedException, URISyntaxExce
}

@Test
public void testUpdateAsync() throws IOException, InterruptedException, URISyntaxException {
public void testUpdateAsync() throws InterruptedException, URISyntaxException {
MutableConfiguration<String, String> config = new MutableConfiguration<>();
config.setStoreByValue(true);

Expand Down Expand Up @@ -472,7 +472,7 @@ public void testUpdateAsync() throws IOException, InterruptedException, URISynta
}

@Test
public void testUpdateWithoutOldValue() throws IOException, InterruptedException, URISyntaxException {
public void testUpdateWithoutOldValue() throws InterruptedException, URISyntaxException {
MutableConfiguration<String, String> config = new MutableConfiguration<>();
config.setStoreByValue(true);

Expand Down Expand Up @@ -502,7 +502,7 @@ public void testUpdateWithoutOldValue() throws IOException, InterruptedException
}

@Test
public void testRemoveListener() throws IOException, InterruptedException, URISyntaxException {
public void testRemoveListener() throws InterruptedException, URISyntaxException {
MutableConfiguration<String, String> config = new MutableConfiguration<>();
config.setStoreByValue(true);

Expand Down

0 comments on commit fedc425

Please sign in to comment.