Skip to content

Commit

Permalink
PAYARA-1564 Display the list of virtual servers a webapp has been dep…
Browse files Browse the repository at this point in the history
…loyed to (#1624)

* PAYARA-1564 Corrected error where missing else meant war files with ejbs would evaluate as ejbs

* PAYARA-1564 Updated license headers

* PAYARA-1564 Removed errant ] from license header
  • Loading branch information
michaelranaldo authored and lprimak committed May 28, 2017
1 parent 52ac3ab commit ba0789e
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* holder.
*/

// Portions Copyright [2016] [Payara Foundation and/or its affiliates]]
// Portions Copyright [2016-2017] [Payara Foundation and/or its affiliates]

/*
* ApplicationHandlers.java
Expand Down Expand Up @@ -735,12 +735,13 @@ public static void getApplicationType(HandlerContext handlerCtx) {
String appType = "other";
if (! GuiUtil.isEmpty(snifferMap.get("web"))){
appType="war";
}if (! GuiUtil.isEmpty(snifferMap.get("ejb"))){
} else
if (! GuiUtil.isEmpty(snifferMap.get("ejb"))){
appType="ejb";
}else
} else
if (! GuiUtil.isEmpty(snifferMap.get("connector"))){
appType="rar";
}else
} else
if (! GuiUtil.isEmpty(snifferMap.get("appclient"))){
appType="appclient";
}
Expand Down

0 comments on commit ba0789e

Please sign in to comment.