diff --git a/appserver/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/ListConnectorConnectionPools.java b/appserver/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/ListConnectorConnectionPools.java index 350fd6d0afa..61c87c77fbb 100644 --- a/appserver/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/ListConnectorConnectionPools.java +++ b/appserver/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/ListConnectorConnectionPools.java @@ -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; @@ -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 diff --git a/appserver/jdbc/admin/src/main/java/org/glassfish/jdbc/admin/cli/ListJdbcConnectionPools.java b/appserver/jdbc/admin/src/main/java/org/glassfish/jdbc/admin/cli/ListJdbcConnectionPools.java index 9e7ba6720a8..09c56011cc6 100644 --- a/appserver/jdbc/admin/src/main/java/org/glassfish/jdbc/admin/cli/ListJdbcConnectionPools.java +++ b/appserver/jdbc/admin/src/main/java/org/glassfish/jdbc/admin/cli/ListJdbcConnectionPools.java @@ -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; @@ -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