Skip to content

Commit

Permalink
Merge pull request #348 from shadogray/master
Browse files Browse the repository at this point in the history
#FORGE-1135: ServletFacetImpl overrides isInstalled of BaseJavaEEFacet b...
  • Loading branch information
gastaldi committed Aug 25, 2013
2 parents 8ca14be + 0f19404 commit 01e1cd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public FacesAPIFacetImpl(final DependencyInstaller installer, final ShellPrintWr
public boolean isInstalled()
{
DependencyFacet deps = project.getFacet(DependencyFacet.class);
return deps.hasEffectiveDependency(JAVAEE6_FACES) || deps.hasEffectiveDependency(JAVAEE6_FACES_21);
return super.isInstalled() && deps.hasEffectiveDependency(JAVAEE6_FACES) || deps.hasEffectiveDependency(JAVAEE6_FACES_21);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public FacesFacetImpl(final DependencyInstaller installer, final ShellPrintWrite
public boolean isInstalled()
{
String version = project.getFacet(ServletFacet.class).getConfig().getVersion();
return version == null || version.trim().startsWith("3");
return super.isInstalled() && (version == null || version.trim().startsWith("3"));
}

@Override
Expand Down

0 comments on commit 01e1cd2

Please sign in to comment.