code: protected int findMatchingVersionIndex(String dbVersion) {
          int index = 0;
          int matchingVersionIndex = -1;
          while (matchingVersionIndex < 0 && index < ACTIVITI_VERSIONS.size()) {
              if (ACTIVITI_VERSIONS.get(index).matches(dbVersion)) {
                  matchingVersionIndex = index;
              } else {
                  index++;
              }
          }
          return matchingVersionIndex;
      }
docs: Returns the index in the list of {@link #ACTIVITI_VERSIONS} matching the provided string version.
  Returns -1 if no match can be found.