Change-Id: Id74694e18fec326df2b04eb796b46ccc6484b23f Signed-off-by: David Pursehouse <david.pursehouse@sonymobile.com>tags/v4.3.0.201603230630-rc1
@@ -79,6 +79,7 @@ public class DefaultReceivePackFactoryTest extends LocalDiskRepositoryTestCase { | |||
factory = new DefaultReceivePackFactory(); | |||
} | |||
@SuppressWarnings("unchecked") | |||
@Test | |||
public void testDisabledSingleton() throws ServiceNotAuthorizedException { | |||
factory = (ReceivePackFactory<HttpServletRequest>) ReceivePackFactory.DISABLED; |
@@ -77,6 +77,7 @@ public class DefaultUploadPackFactoryTest extends LocalDiskRepositoryTestCase { | |||
factory = new DefaultUploadPackFactory(); | |||
} | |||
@SuppressWarnings("unchecked") | |||
@Test | |||
public void testDisabledSingleton() throws ServiceNotAuthorizedException { | |||
factory = (UploadPackFactory<HttpServletRequest>) UploadPackFactory.DISABLED; |