@Test void release1() { final EdsBaseRef edsBaseRef = new EdsBaseRef(); when(CanonFactory.edsdkLibrary().EdsRelease(edsBaseRef)) .thenReturn(new NativeLong(0)) .thenReturn(new NativeLong(-1)); ReleaseUtil.release(edsBaseRef, edsBaseRef); ReleaseUtil.release((EdsBaseRef) null, (EdsBaseRef) null); }
public static void release(final EdsdkLibrary.EdsBaseRef.ByReference... refs) { if (refs != null) for (final EdsdkLibrary.EdsBaseRef.ByReference byReference : refs) { if (byReference != null) release(byReference.getValue()); } }
ReleaseUtil { public static void release(final EdsdkLibrary.EdsBaseRef.ByReference... refs) { if (refs != null) for (final EdsdkLibrary.EdsBaseRef.ByReference byReference : refs) { if (byReference != null) release(byReference.getValue()); } } }
ReleaseUtil { public static void release(final EdsdkLibrary.EdsBaseRef.ByReference... refs) { if (refs != null) for (final EdsdkLibrary.EdsBaseRef.ByReference byReference : refs) { if (byReference != null) release(byReference.getValue()); } } private  ReleaseUtil(); }
ReleaseUtil { public static void release(final EdsdkLibrary.EdsBaseRef.ByReference... refs) { if (refs != null) for (final EdsdkLibrary.EdsBaseRef.ByReference byReference : refs) { if (byReference != null) release(byReference.getValue()); } } private  ReleaseUtil(); static void release(final EdsdkLibrary.EdsBaseRef.ByReference... refs); static void release(final EdsdkLibrary.EdsBaseRef... refs); static void release(final EdsdkLibrary.EdsBaseRef ref); }
ReleaseUtil { public static void release(final EdsdkLibrary.EdsBaseRef.ByReference... refs) { if (refs != null) for (final EdsdkLibrary.EdsBaseRef.ByReference byReference : refs) { if (byReference != null) release(byReference.getValue()); } } private  ReleaseUtil(); static void release(final EdsdkLibrary.EdsBaseRef.ByReference... refs); static void release(final EdsdkLibrary.EdsBaseRef... refs); static void release(final EdsdkLibrary.EdsBaseRef ref);  }