default single pipeline should not throw an exception on filter or next
Change-Id: Ic5f392db84e49221f42b09a75c16dfd9be58d100
Showing
1 changed file
with
2 additions
and
6 deletions
... | @@ -57,9 +57,7 @@ public class DefaultSingleTablePipeline extends AbstractHandlerBehaviour impleme | ... | @@ -57,9 +57,7 @@ public class DefaultSingleTablePipeline extends AbstractHandlerBehaviour impleme |
57 | } | 57 | } |
58 | 58 | ||
59 | @Override | 59 | @Override |
60 | - public void filter(FilteringObjective filter) { | 60 | + public void filter(FilteringObjective filter) {} |
61 | - throw new UnsupportedOperationException("Single table does not filter."); | ||
62 | - } | ||
63 | 61 | ||
64 | @Override | 62 | @Override |
65 | public void forward(ForwardingObjective fwd) { | 63 | public void forward(ForwardingObjective fwd) { |
... | @@ -126,8 +124,6 @@ public class DefaultSingleTablePipeline extends AbstractHandlerBehaviour impleme | ... | @@ -126,8 +124,6 @@ public class DefaultSingleTablePipeline extends AbstractHandlerBehaviour impleme |
126 | } | 124 | } |
127 | 125 | ||
128 | @Override | 126 | @Override |
129 | - public void next(NextObjective nextObjective) { | 127 | + public void next(NextObjective nextObjective) {} |
130 | - throw new UnsupportedOperationException("Single table does not next hop."); | ||
131 | - } | ||
132 | 128 | ||
133 | } | 129 | } | ... | ... |
-
Please register or login to post a comment