package com.google.security.fences.util;

import org.apache.maven.artifact.Artifact;

/**
 * Miscellaneous side-effect-free utilities.
 */
public final class Utils {
  /** artifact:group:version style Maven artifact identifier. */
  public static String artToString(Artifact art) {
    // TODO: Replace once we update to a version of ArtifactUtils that has
    // key(Artifact)?
    return art.getGroupId() + ":" + art.getArtifactId()
        + ":" + art.getBaseVersion();
  }

  private Utils() {
  }
}

@@ -372,16 +372,110 @@
 ifact)?%0A
+    // Is this redundant with Artifact.getId()?  The format of that is not%0A    // documented.%0A
     retu
@@ -549,12 +549,8 @@
 .get
-Base
 Vers

use version instead of baseversion