@Test public void testValue2Version_HigherVersion() throws Exception { assertThat(MQVersion.value2Version(Integer.MAX_VALUE)).isEqualTo(MQVersion.Version.HIGHER_VERSION); }
public static Version value2Version(int value) { int length = Version.values().length; if (value >= length) { return Version.values()[length - 1]; } return Version.values()[value]; }
MQVersion { public static Version value2Version(int value) { int length = Version.values().length; if (value >= length) { return Version.values()[length - 1]; } return Version.values()[value]; } }
MQVersion { public static Version value2Version(int value) { int length = Version.values().length; if (value >= length) { return Version.values()[length - 1]; } return Version.values()[value]; }  }
MQVersion { public static Version value2Version(int value) { int length = Version.values().length; if (value >= length) { return Version.values()[length - 1]; } return Version.values()[value]; }  static String getVersionDesc(int value); static Version value2Version(int value); }
MQVersion { public static Version value2Version(int value) { int length = Version.values().length; if (value >= length) { return Version.values()[length - 1]; } return Version.values()[value]; }  static String getVersionDesc(int value); static Version value2Version(int value); static final int CURRENT_VERSION; }