Exemple #1
0
  public long getLastModified() {

    if (artifact != null) {
      return artifact.lastModified();
    } else {
      return bundle.getLastModified();
    }
  }
Exemple #2
0
  public String getPath() {

    String path = null;
    if (artifact != null) {
      path = artifact.getPath();
    } else {
      path = bundle.getLocation();
    }
    return path;
  }