/** * Checks if the versions of this range is in compliance with the OSGi version spec. * @return A flag indicating whether the range is OSGi compatible or not. */ public boolean isOSGiCompatible() { return minVersion.isOSGiCompatible() && maxVersion.isOSGiCompatible(); }
cat.setVersion(Version.createOSGi(1, 0, 0, versionSuffixGenerator.generateSuffix(childrenIUs, CollectionUtils.<IVersionedId> emptyList()))); else { if (categoryVersion.isOSGiCompatible()) { org.osgi.framework.Version osgiVersion = PublisherHelper.toOSGiVersion(categoryVersion); String qualifier = osgiVersion.getQualifier();