Skip to content

Commit

Permalink
PAYARA-2127 asadmin subcommand output CLI031 warning message (#1989)
Browse files Browse the repository at this point in the history
  • Loading branch information
jGauravGupta authored and smillidge committed Sep 16, 2017
1 parent 403390c commit e7627ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
import com.sun.enterprise.config.serverbeans.Domain;
import com.sun.enterprise.config.serverbeans.Resources;
import com.sun.enterprise.util.LocalStringManagerImpl;
import com.sun.enterprise.util.SystemPropertyConstants;
import org.glassfish.api.ActionReport;
import org.glassfish.api.I18n;
import org.glassfish.api.Param;
Expand Down Expand Up @@ -84,10 +83,9 @@ public class ListConnectorConnectionPools implements AdminCommand {
@Inject
private Domain domain;

@Param(primary = true, optional = true, defaultValue = SystemPropertyConstants.DAS_SERVER_NAME, alias = "targetName", obsolete = true)
@Param(primary = true, optional = true, alias = "targetName", obsolete = true)
private String target ;


/**
* Executes the command with the command parameters passed as Properties
* where the keys are the paramter names and the values the parameter values
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@

import com.sun.enterprise.config.serverbeans.Domain;
import com.sun.enterprise.config.serverbeans.Resources;
import com.sun.enterprise.util.SystemPropertyConstants;
import org.glassfish.api.Param;
import org.glassfish.api.admin.AdminCommand;
import org.glassfish.api.admin.AdminCommandContext;
Expand Down Expand Up @@ -88,10 +87,9 @@ public class ListJdbcConnectionPools implements AdminCommand {
@Inject
private Domain domain;

@Param(primary = true, optional = true, defaultValue = SystemPropertyConstants.DAS_SERVER_NAME, alias = "targetName", obsolete = true)
@Param(primary = true, optional = true, alias = "targetName", obsolete = true)
private String target ;


/**
* Executes the command with the command parameters passed as Properties
* where the keys are the paramter names and the values the parameter values
Expand Down

0 comments on commit e7627ed

Please sign in to comment.