Skip to content

Commit 73fbe76

Browse files
committed
removing deprectaed code
1 parent be3ab6a commit 73fbe76

File tree

4 files changed

+1
-56
lines changed

4 files changed

+1
-56
lines changed

core/src/main/java/oracle/weblogic/deploy/logging/WLSDeployLoggingConfig.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ public class WLSDeployLoggingConfig {
3636
private static final String HANDLERS_PROP = "handlers";
3737
private static final String CONFIG_PROP = "config";
3838

39-
// Deprecated
40-
private static final String WLSDEPLOY_CONSOLE_HANDLER =
41-
"oracle.weblogic.deploy.logging.WLSDeployLoggingConsoleHandler";
42-
4339
private static final String WLSDEPLOY_STDOUT_CONSOLE_HANDLER =
4440
"oracle.weblogic.deploy.logging.WLSDeployLoggingStdoutHandler";
4541
private static final String WLSDEPLOY_STDERR_CONSOLE_HANDLER =
@@ -172,16 +168,6 @@ public static synchronized File getLoggingPropertiesFile() {
172168
return new File(loggingPropertiesFile.getAbsolutePath());
173169
}
174170

175-
/**
176-
* @deprecated as of 1.2.1. Replace call with {@link #getStdoutHandler()}
177-
*
178-
* @return ConsoleHandler implementation
179-
*/
180-
@Deprecated
181-
public static String getConsoleHandler() {
182-
return WLSDEPLOY_CONSOLE_HANDLER;
183-
}
184-
185171
/**
186172
* Return the console handler that writes log records to STDOUT.
187173
* @return Class name of the console handler that writes to STDOUT

core/src/main/java/oracle/weblogic/deploy/logging/WLSDeployLoggingConsoleHandler.java

Lines changed: 0 additions & 32 deletions
This file was deleted.

core/src/main/python/model_help.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
__optional_arguments = [
3232
CommandLineArgUtil.ATTRIBUTES_ONLY_SWITCH,
3333
CommandLineArgUtil.FOLDERS_ONLY_SWITCH,
34-
CommandLineArgUtil.RECURSIVE_SWITCH,
35-
# deprecated
36-
CommandLineArgUtil.MODEL_SAMPLE_SWITCH
34+
CommandLineArgUtil.RECURSIVE_SWITCH
3735
]
3836

3937
__output_types = [
@@ -66,10 +64,6 @@ def __process_args(args):
6664
raise ex
6765
found = True
6866

69-
if CommandLineArgUtil.MODEL_SAMPLE_SWITCH in argument_map:
70-
__logger.warning('WLSDPLY-10106', CommandLineArgUtil.MODEL_SAMPLE_SWITCH,
71-
class_name=_class_name, method_name=_method_name)
72-
7367
return model_context_helper.create_context(_program_name, argument_map)
7468

7569

core/src/main/python/wlsdeploy/util/cla_utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ class CommandLineArgUtil(object):
8484
TRAILING_ARGS_SWITCH = '-trailing_arguments'
8585
ATTRIBUTES_ONLY_SWITCH = '-attributes_only'
8686
FOLDERS_ONLY_SWITCH = '-folders_only'
87-
# deprecated
88-
MODEL_SAMPLE_SWITCH = '-model_sample'
8987
RECURSIVE_SWITCH = '-recursive'
9088
UPDATE_RCU_SCHEMA_PASS_SWITCH = '-updateRCUSchemaPassword'
9189
VALIDATION_METHOD = '-method'
@@ -105,7 +103,6 @@ class CommandLineArgUtil(object):
105103
ATTRIBUTES_ONLY_SWITCH,
106104
ENCRYPT_MANUAL_SWITCH,
107105
FOLDERS_ONLY_SWITCH,
108-
MODEL_SAMPLE_SWITCH,
109106
SKIP_ARCHIVE_FILE_SWITCH,
110107
RECURSIVE_SWITCH,
111108
CANCEL_CHANGES_IF_RESTART_REQ_SWITCH,

0 commit comments

Comments
 (0)