/**
  * Like equals(), but ignores {@linkplain BuildType}.
  *
  * @param versionObject
  * @return
  */
 public boolean identicalTo(Version versionObject) {
   boolean ret = false;
   if (null == versionObject) ret = false;
   else {
     if ((this.getProduct() == versionObject.getProduct())
         && (this.getMajor() == versionObject.getMajor())
         && (this.getMinor() == versionObject.getMinor())) ret = true;
     else ret = false;
   }
   return ret;
 }
 /**
  * Returns a map from each version to the immediate successor version.
  *
  * @return
  */
 public static TreeMap<Version, Version> mapToNextVersion() {
   TreeMap<Version, Version> ret = new TreeMap<Version, Version>(new VersionComparator());
   TreeSet<Version> setVersions = getVersionsInLog();
   Version prev = null;
   boolean firstIteration = true;
   for (Version version : setVersions) {
     if (firstIteration) {
       firstIteration = false;
     } else {
       ret.put(prev, version);
     }
     prev = version;
   }
   ret.put(prev, Version.getVersion());
   return ret;
 }
 public static String verstionShortString(Version version) {
   return version.getProduct() + "." + version.getMajor() + "." + version.getMinor();
 }