@Test void testRevisionOfNonAnnotatedClass() { assertNull(testSubject.revisionOf(NotSerializable.class)); }
@Override public String revisionOf(Class<?> payloadType) { ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(payloadType); return objectStreamClass == null ? null : Long.toString(objectStreamClass.getSerialVersionUID()); }
SerialVersionUIDRevisionResolver implements RevisionResolver { @Override public String revisionOf(Class<?> payloadType) { ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(payloadType); return objectStreamClass == null ? null : Long.toString(objectStreamClass.getSerialVersionUID()); } }
SerialVersionUIDRevisionResolver implements RevisionResolver { @Override public String revisionOf(Class<?> payloadType) { ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(payloadType); return objectStreamClass == null ? null : Long.toString(objectStreamClass.getSerialVersionUID()); }  }
SerialVersionUIDRevisionResolver implements RevisionResolver { @Override public String revisionOf(Class<?> payloadType) { ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(payloadType); return objectStreamClass == null ? null : Long.toString(objectStreamClass.getSerialVersionUID()); }  @Override String revisionOf(Class<?> payloadType); }
SerialVersionUIDRevisionResolver implements RevisionResolver { @Override public String revisionOf(Class<?> payloadType) { ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(payloadType); return objectStreamClass == null ? null : Long.toString(objectStreamClass.getSerialVersionUID()); }  @Override String revisionOf(Class<?> payloadType);  }