mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Replace "throws Exception" with the specific Exception(s) thrown.
Conflicts: src/main/java/net/openhft/chronicle/map/EngineReplicationLangBytes.java src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java src/test/java/net/openhft/chronicle/map/IntIntMultiMapTest.java
This commit is contained in:
@@ -22,6 +22,7 @@ import net.openhft.lang.values.IntValue;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.Map;
|
||||
|
||||
import static net.openhft.lang.model.DataValueClasses.newDirectReference;
|
||||
@@ -30,7 +31,7 @@ import static org.junit.Assert.*;
|
||||
public class DemoChronicleMapTest {
|
||||
|
||||
@Test
|
||||
public void testMap() throws Exception {
|
||||
public void testMap() throws IOException {
|
||||
File file = File.createTempFile("DummyOrders"+System.currentTimeMillis(), ".test");
|
||||
file.deleteOnExit();
|
||||
int maxEntries = 1000;
|
||||
@@ -72,7 +73,7 @@ public class DemoChronicleMapTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testMapLocked() throws Exception {
|
||||
public void testMapLocked() throws IOException {
|
||||
File file = File.createTempFile("DummyOrders-"+System.currentTimeMillis(), ".test");
|
||||
file.deleteOnExit();
|
||||
int maxEntries = 1000;
|
||||
|
||||
Reference in New Issue
Block a user