Committed by
Ray Milkey
Remove unnecessary semicolons
Change-Id: Ic001f76991796839c5a35746b23612d03eddee3d
Showing
8 changed files
with
8 additions
and
8 deletions
| ... | @@ -24,7 +24,7 @@ import java.util.Optional; | ... | @@ -24,7 +24,7 @@ import java.util.Optional; |
| 24 | */ | 24 | */ |
| 25 | public interface DemoAPI { | 25 | public interface DemoAPI { |
| 26 | 26 | ||
| 27 | - enum InstallType { MESH, RANDOM }; | 27 | + enum InstallType { MESH, RANDOM } |
| 28 | 28 | ||
| 29 | /** | 29 | /** |
| 30 | * Tests flow subsystem based on the parameters supplied. | 30 | * Tests flow subsystem based on the parameters supplied. | ... | ... |
| ... | @@ -37,7 +37,7 @@ public interface VirtualPort { | ... | @@ -37,7 +37,7 @@ public interface VirtualPort { |
| 37 | /** | 37 | /** |
| 38 | * Signifies that a virtualPort is currently unavailable. | 38 | * Signifies that a virtualPort is currently unavailable. |
| 39 | */ | 39 | */ |
| 40 | - DOWN; | 40 | + DOWN |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | /** | 43 | /** | ... | ... |
| ... | @@ -92,7 +92,7 @@ public class SubnetUpdateCommand extends AbstractShellCommand { | ... | @@ -92,7 +92,7 @@ public class SubnetUpdateCommand extends AbstractShellCommand { |
| 92 | 92 | ||
| 93 | @Option(name = "-a", aliases = "--allocationPools", | 93 | @Option(name = "-a", aliases = "--allocationPools", |
| 94 | description = "Subnet jsonnode allocationPools", required = false, multiValued = false) | 94 | description = "Subnet jsonnode allocationPools", required = false, multiValued = false) |
| 95 | - Set<AllocationPool> allocationPools = Sets.newHashSet();; | 95 | + Set<AllocationPool> allocationPools = Sets.newHashSet(); |
| 96 | 96 | ||
| 97 | @Override | 97 | @Override |
| 98 | protected void execute() { | 98 | protected void execute() { | ... | ... |
| ... | @@ -41,7 +41,7 @@ public final class PortFragmentId { | ... | @@ -41,7 +41,7 @@ public final class PortFragmentId { |
| 41 | @Override | 41 | @Override |
| 42 | public int hashCode() { | 42 | public int hashCode() { |
| 43 | return Objects.hash(providerId, deviceId, portNumber); | 43 | return Objects.hash(providerId, deviceId, portNumber); |
| 44 | - }; | 44 | + } |
| 45 | 45 | ||
| 46 | @Override | 46 | @Override |
| 47 | public boolean equals(Object obj) { | 47 | public boolean equals(Object obj) { | ... | ... |
| ... | @@ -60,5 +60,5 @@ public class ReplicaInfoEvent extends AbstractEvent<ReplicaInfoEvent.Type, Devic | ... | @@ -60,5 +60,5 @@ public class ReplicaInfoEvent extends AbstractEvent<ReplicaInfoEvent.Type, Devic |
| 60 | */ | 60 | */ |
| 61 | public ReplicaInfo replicaInfo() { | 61 | public ReplicaInfo replicaInfo() { |
| 62 | return replicaInfo; | 62 | return replicaInfo; |
| 63 | - }; | 63 | + } |
| 64 | } | 64 | } | ... | ... |
| ... | @@ -97,7 +97,7 @@ public class DistributedStatisticStore implements StatisticStore { | ... | @@ -97,7 +97,7 @@ public class DistributedStatisticStore implements StatisticStore { |
| 97 | // register this store specific classes here | 97 | // register this store specific classes here |
| 98 | .build(); | 98 | .build(); |
| 99 | } | 99 | } |
| 100 | - };; | 100 | + }; |
| 101 | 101 | ||
| 102 | private ExecutorService messageHandlingExecutor; | 102 | private ExecutorService messageHandlingExecutor; |
| 103 | 103 | ... | ... |
| ... | @@ -109,7 +109,7 @@ public class ClusterCommunicationManagerTest { | ... | @@ -109,7 +109,7 @@ public class ClusterCommunicationManagerTest { |
| 109 | assertEquals("incorrect event node", nodeId, delegate.nodeId); | 109 | assertEquals("incorrect event node", nodeId, delegate.nodeId); |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | - enum Op { DETECTED, VANISHED, REMOVED }; | 112 | + enum Op { DETECTED, VANISHED, REMOVED } |
| 113 | 113 | ||
| 114 | private class TestDelegate implements ClusterNodesDelegate { | 114 | private class TestDelegate implements ClusterNodesDelegate { |
| 115 | 115 | ... | ... |
-
Please register or login to post a comment