@Test(expected = IllegalArgumentException.class) public void testMaxMetadataTime_DifferentTypes1() { TabletTime.maxMetadataTime(l1234, m5678); }
public static MetadataTime maxMetadataTime(MetadataTime mv1, MetadataTime mv2) { if (mv1 == null || mv2 == null) return mv1 == null ? (mv2 == null ? null : mv2) : mv1; return mv1.compareTo(mv2) < 0 ? mv2 : mv1; }
TabletTime { public static MetadataTime maxMetadataTime(MetadataTime mv1, MetadataTime mv2) { if (mv1 == null || mv2 == null) return mv1 == null ? (mv2 == null ? null : mv2) : mv1; return mv1.compareTo(mv2) < 0 ? mv2 : mv1; } }
TabletTime { public static MetadataTime maxMetadataTime(MetadataTime mv1, MetadataTime mv2) { if (mv1 == null || mv2 == null) return mv1 == null ? (mv2 == null ? null : mv2) : mv1; return mv1.compareTo(mv2) < 0 ? mv2 : mv1; }  }
TabletTime { public static MetadataTime maxMetadataTime(MetadataTime mv1, MetadataTime mv2) { if (mv1 == null || mv2 == null) return mv1 == null ? (mv2 == null ? null : mv2) : mv1; return mv1.compareTo(mv2) < 0 ? mv2 : mv1; }  abstract void useMaxTimeFromWALog(long time); abstract MetadataTime getMetadataTime(); abstract MetadataTime getMetadataTime(long time); abstract long setUpdateTimes(List<Mutation> mutations); abstract long getTime(); abstract long getAndUpdateTime(); static TabletTime getInstance(MetadataTime metadataTime); static MetadataTime maxMetadataTime(MetadataTime mv1, MetadataTime mv2); }
TabletTime { public static MetadataTime maxMetadataTime(MetadataTime mv1, MetadataTime mv2) { if (mv1 == null || mv2 == null) return mv1 == null ? (mv2 == null ? null : mv2) : mv1; return mv1.compareTo(mv2) < 0 ? mv2 : mv1; }  abstract void useMaxTimeFromWALog(long time); abstract MetadataTime getMetadataTime(); abstract MetadataTime getMetadataTime(long time); abstract long setUpdateTimes(List<Mutation> mutations); abstract long getTime(); abstract long getAndUpdateTime(); static TabletTime getInstance(MetadataTime metadataTime); static MetadataTime maxMetadataTime(MetadataTime mv1, MetadataTime mv2);  }