@Test public void testGetVersionDesc() throws Exception { String desc = "V3_0_0_SNAPSHOT"; assertThat(MQVersion.getVersionDesc(0)).isEqualTo(desc); }
public static String getVersionDesc(int value) { int length = Version.values().length; if (value >= length) { return Version.values()[length - 1].name(); } return Version.values()[value].name(); }
MQVersion { public static String getVersionDesc(int value) { int length = Version.values().length; if (value >= length) { return Version.values()[length - 1].name(); } return Version.values()[value].name(); } }
MQVersion { public static String getVersionDesc(int value) { int length = Version.values().length; if (value >= length) { return Version.values()[length - 1].name(); } return Version.values()[value].name(); }  }
MQVersion { public static String getVersionDesc(int value) { int length = Version.values().length; if (value >= length) { return Version.values()[length - 1].name(); } return Version.values()[value].name(); }  static String getVersionDesc(int value); static Version value2Version(int value); }
MQVersion { public static String getVersionDesc(int value) { int length = Version.values().length; if (value >= length) { return Version.values()[length - 1].name(); } return Version.values()[value].name(); }  static String getVersionDesc(int value); static Version value2Version(int value); static final int CURRENT_VERSION; }