X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflowplugin-impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fopenflowplugin%2Fimpl%2Futil%2FMeterUtilTest.java;h=04f58c05ac51d823d74ca8226d0af6de7f75cf4d;hb=d573a53f6dd1962ec7c204684b0f38f3be7e7165;hp=a822c71d01c4e6492a310bf8505eb6cd67e3e561;hpb=79c1cfec33d4ed516c7a272e9573503bb621ae83;p=openflowplugin.git diff --git a/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/util/MeterUtilTest.java b/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/util/MeterUtilTest.java index a822c71d01..04f58c05ac 100644 --- a/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/util/MeterUtilTest.java +++ b/openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/util/MeterUtilTest.java @@ -5,7 +5,6 @@ * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ - package org.opendaylight.openflowplugin.impl.util; import com.google.common.base.Function; @@ -76,7 +75,7 @@ public class MeterUtilTest { Assert.assertEquals(1, output.getResult().get(0).getBatchOrder().intValue()); } - private org.opendaylight.yang.gen.v1.urn.opendaylight.meter.types.rev130918.Meter createBatchMeter( + private static org.opendaylight.yang.gen.v1.urn.opendaylight.meter.types.rev130918.Meter createBatchMeter( final MeterId meterId) { return new MeterBuilder() .setMeterId(meterId) @@ -219,13 +218,13 @@ public class MeterUtilTest { Assert.assertEquals(1, composite.getResult().getBatchFailedMetersOutput().size()); } - private RpcResult createBarrierFailureOutcome() { + private static RpcResult createBarrierFailureOutcome() { return RpcResultBuilder.failed() .withError(RpcError.ErrorType.APPLICATION, "ut-barrier-error") .build(); } - private RpcResult createAddMetersBatchSuccessOutput() { + private static RpcResult createAddMetersBatchSuccessOutput() { return RpcResultBuilder .success(new AddMetersBatchOutputBuilder() .setBatchFailedMetersOutput(Collections.emptyMap()) @@ -233,7 +232,7 @@ public class MeterUtilTest { .build(); } - private RpcResult createAddMetersBatchFailureOutcome() { + private static RpcResult createAddMetersBatchFailureOutcome() { final RpcResult> batchOutcomeWithError = createBatchOutcomeWithError(); return RpcResultBuilder.failed() .withResult(new AddMetersBatchOutputBuilder()