From: Robert Varga Date: Thu, 28 Mar 2019 18:54:43 +0000 (+0100) Subject: Fix checkstyle in toaster-it X-Git-Tag: release/sodium~114 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=4360becd2b948480f8246f2e584f0c92a9bfba4e Fix checkstyle in toaster-it Simple whitespace cleanup to keep checkstyle happy. Change-Id: Id51f7b87b632cce92c29cbae8794662fe6feb250 Signed-off-by: Robert Varga --- diff --git a/opendaylight/md-sal/samples/toaster-it/src/test/java/org/opendaylight/controller/sample/toaster/it/ToasterTest.java b/opendaylight/md-sal/samples/toaster-it/src/test/java/org/opendaylight/controller/sample/toaster/it/ToasterTest.java index d6c3db900d..63d18421b8 100644 --- a/opendaylight/md-sal/samples/toaster-it/src/test/java/org/opendaylight/controller/sample/toaster/it/ToasterTest.java +++ b/opendaylight/md-sal/samples/toaster-it/src/test/java/org/opendaylight/controller/sample/toaster/it/ToasterTest.java @@ -10,6 +10,7 @@ package org.opendaylight.controller.sample.toaster.it; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.ops4j.pax.exam.CoreOptions.maven; + import java.lang.management.ManagementFactory; import javax.inject.Inject; import javax.management.MBeanServer; @@ -28,7 +29,7 @@ import org.ops4j.pax.exam.util.Filter; @RunWith(PaxExam.class) public class ToasterTest extends AbstractMdsalTestBase { @Inject - @Filter(timeout=60*1000) + @Filter(timeout = 60*1000) KitchenService kitchenService; @Override @@ -45,7 +46,8 @@ public class ToasterTest extends AbstractMdsalTestBase { @Test public void testToaster() throws Exception { MBeanServer platformMBeanServer = ManagementFactory.getPlatformMBeanServer(); - ObjectName providerOn = new ObjectName("org.opendaylight.controller:name=OpendaylightToaster,type=toaster-provider"); + ObjectName providerOn = new ObjectName( + "org.opendaylight.controller:name=OpendaylightToaster,type=toaster-provider"); long toastsMade = (long) platformMBeanServer.getAttribute(providerOn, "ToastsMade"); assertEquals(0, toastsMade); @@ -53,8 +55,8 @@ public class ToasterTest extends AbstractMdsalTestBase { boolean success = true; // Make toasts using OSGi service - success &= kitchenService.makeBreakfast( EggsType.SCRAMBLED, HashBrown.class, 4).get().isSuccessful(); - success &= kitchenService.makeBreakfast( EggsType.POACHED, WhiteBread.class, 8 ).get().isSuccessful(); + success &= kitchenService.makeBreakfast(EggsType.SCRAMBLED, HashBrown.class, 4).get().isSuccessful(); + success &= kitchenService.makeBreakfast(EggsType.POACHED, WhiteBread.class, 8 ).get().isSuccessful(); assertTrue("Not all breakfasts succeeded", success);