Skip to content

Commit

Permalink
PAYARA-1070 minor white space changes
Browse files Browse the repository at this point in the history
  • Loading branch information
smillidge committed Feb 17, 2018
1 parent 2a46853 commit a19d7ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,14 @@ public void execute(AdminCommandContext context) {
extraProperties = new Properties();
actionReport.setExtraProperties(extraProperties);
}
List<Map<String,String>> property = new LinkedList <>();
List<Map<String,String>> property = new LinkedList<>();
extraProperties.put("ejbTimers", property);
for (int i = 0; i < serverIds.length; i++) {
final ActionReport.MessagePart part = report.getTopMessagePart().addChild();
part.setMessage(serverIds[i] + ": " + timerCounts[i]);
HashMap<String,String> values = new HashMap<>();
values.put("server", serverIds[i]);
values.put("timerCount",timerCounts[i]);
values.put("timerCount", timerCounts[i]);
property.add(values);
}
report.setActionExitCode(ActionReport.ExitCode.SUCCESS);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* only if the new code is made subject to such option by the copyright
* holder.
*/
// Portions Copyright [2016/2017] [Payara Foundation and/or its affiliates]
// Portions Copyright [2016-2018] [Payara Foundation and/or its affiliates]

package org.glassfish.ejb.startup;

Expand Down Expand Up @@ -575,9 +575,9 @@ private void createAutomaticPersistentTimersForEJB(EjbDescriptor ejbDescriptor,
private String getOwnerId(String target) {
// If target is a cluster or deployment group replace it with the instance
List<Server> instances = Collections.EMPTY_LIST;
Cluster c = domain.getClusterNamed(target);
if (c != null) {
instances = c.getInstances();
Cluster cluster = domain.getClusterNamed(target);
if (cluster != null) {
instances = cluster.getInstances();
} else {
DeploymentGroup dg = domain.getDeploymentGroupNamed(target);
if (dg != null) {
Expand Down

0 comments on commit a19d7ed

Please sign in to comment.