summaryrefslogtreecommitdiffstats
path: root/messagebus
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2021-01-07 07:55:36 +0100
committerJon Marius Venstad <venstad@gmail.com>2021-01-07 11:01:42 +0100
commit1cd827d49c5f287a8ce5de6922c3c00d30a0895b (patch)
tree046f5ef1d2ff4c5dfbb0d0c6b39ca4708d7bd0f0 /messagebus
parentfad9a3d1557aa43598ffbed999f1ea20c8b711ac (diff)
Revert "Revert "Keep reply with most severe error when merging error replies""
This reverts commit 9263966a9c697f5acff53a595493e27a2f05e683.
Diffstat (limited to 'messagebus')
-rw-r--r--messagebus/src/main/java/com/yahoo/messagebus/routing/RoutingTable.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/messagebus/src/main/java/com/yahoo/messagebus/routing/RoutingTable.java b/messagebus/src/main/java/com/yahoo/messagebus/routing/RoutingTable.java
index 82f409dbb44..e3410cdba7d 100644
--- a/messagebus/src/main/java/com/yahoo/messagebus/routing/RoutingTable.java
+++ b/messagebus/src/main/java/com/yahoo/messagebus/routing/RoutingTable.java
@@ -13,8 +13,8 @@ import java.util.Map;
*/
public class RoutingTable {
- private final Map<String, HopBlueprint> hops = new LinkedHashMap<String, HopBlueprint>();
- private final Map<String, Route> routes = new LinkedHashMap<String, Route>();
+ private final Map<String, HopBlueprint> hops = new LinkedHashMap<>();
+ private final Map<String, Route> routes = new LinkedHashMap<>();
/**
* Creates a new routing table based on a given specification. This also verifies the integrity of the table.