@Test public void testMinorVersionSupport() throws Exception { Version v = new Version("1.1*"); Assert.assertTrue(v.minorVersionSupport()); Version v1 = new Version("1.2"); Assert.assertFalse(v1.minorVersionSupport()); }
public boolean minorVersionSupport() { return version.endsWith("*"); }
Version { public boolean minorVersionSupport() { return version.endsWith("*"); } }
Version { public boolean minorVersionSupport() { return version.endsWith("*"); } Version(final String version); }
Version { public boolean minorVersionSupport() { return version.endsWith("*"); } Version(final String version); boolean isRange(); String getVersion(); String getStartRange(); String getEndRange(); boolean minorVersionSupport(); boolean majorVersionSupport(); @Override boolean equals(Object o); @Override int hashCode(); }
Version { public boolean minorVersionSupport() { return version.endsWith("*"); } Version(final String version); boolean isRange(); String getVersion(); String getStartRange(); String getEndRange(); boolean minorVersionSupport(); boolean majorVersionSupport(); @Override boolean equals(Object o); @Override int hashCode();  }