@FindBugsSuppressWarnings("DMI_INVOKING_TOSTRING_ON_ARRAY") public static Object deserialize(byte[] bytes) { try { ByteArrayInputStream bais = new ByteArrayInputStream(bytes); ObjectInputStream ois = new ObjectInputStream(bais); Object obj = ois.readObject(); ois.close(); return obj; } catch (Exception e) { throw new RuntimeException("error deserializing " + bytes, e); } }
@FindBugsSuppressWarnings("UL_UNRELEASED_LOCK") boolean cleanUpFailedMarker(final Serializable key, final int hash) { boolean readLocked = false;
/** * Deserialize * @param bytes * @return */ @FindBugsSuppressWarnings("DMI_INVOKING_TOSTRING_ON_ARRAY") public static Object deserialize(byte[] bytes) { try { ByteArrayInputStream bais = new ByteArrayInputStream(bytes); ObjectInputStream ois = new ObjectInputStream(bais); Object obj = ois.readObject(); ois.close(); return obj; } catch (Exception e) { throw new RuntimeException("error deserializing " + bytes, e); } }
@FindBugsSuppressWarnings("UL_UNRELEASED_LOCK") boolean cleanUpFailedMarker(final Serializable key, final int hash) { boolean readLocked = false;
@FindBugsSuppressWarnings("UL_UNRELEASED_LOCK") boolean cleanUpFailedMarker(final Serializable key, final int hash) { boolean readLocked = false;
@FindBugsSuppressWarnings("UL_UNRELEASED_LOCK") boolean cleanUpFailedMarker(final Serializable key, final int hash) { boolean readLocked = false;