Enforce checkstyle in maven-plugin
[yangtools.git] / yang / yang-maven-plugin / src / test / java / org / opendaylight / yangtools / yang2sources / plugin / YangSourceInZipFileTest.java
index 856c145f3a853a56cfda6d7abd4ccd6326d1d64a..d0e65d5125c900776bfa2a0b0338b2943b2f11af 100644 (file)
@@ -23,7 +23,7 @@ public class YangSourceInZipFileTest {
     public void yangSourceInZipFileTest() throws Exception {
         final ZipFile file = Mockito.mock(ZipFile.class);
         final ZipEntry entry = Mockito.mock(ZipEntry.class);
-        Mockito.when(entry.getSize()).thenReturn(519l);
+        Mockito.when(entry.getSize()).thenReturn(519L);
         final InputStream inputStream = Mockito.mock(InputStream.class);
         Mockito.when(file.getInputStream(entry)).thenReturn(inputStream);
         final YangSourceInZipFile yangSource = new YangSourceInZipFile(file, entry);