Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-2059

Fix comparison in ensureProjectCoords method in AppModelGradleResolver class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • None
    • None

      In the method ensureProjectCoords, appArtifact.getGroupId() and appArtifact.getVersion() are compared against themselves in an if statement, when they should be compared to project.getGroup() and project.getVersion() respectively.

      if (project.getName().equals(appArtifact.getArtifactId())
              && appArtifact.getGroupId().equals(appArtifact.getGroupId())
              && appArtifact.getVersion().equals(appArtifact.getVersion())) {
          return;
      }
      

              Unassigned Unassigned
              clara0 Clara Fang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: