├── .gitattributes ├── .gitignore ├── LICENSE.txt ├── README.md ├── interactive ├── README.md ├── csharp │ ├── add-parameter.md │ ├── change-bidirectional-association-to-unidirectional.md │ ├── change-reference-to-value.md │ ├── change-unidirectional-association-to-bidirectional.md │ ├── change-value-to-reference.md │ ├── consolidate-conditional-expression.md │ ├── consolidate-duplicate-conditional-fragments.md │ ├── decompose-conditional.md │ ├── duplicate-observed-data.md │ ├── encapsulate-collection.md │ ├── extract-class.md │ ├── extract-interface.md │ ├── extract-method.md │ ├── extract-subclass.md │ ├── extract-superclass.md │ ├── extract-variable.md │ ├── form-template-method.md │ ├── hide-delegate.md │ ├── inline-class.md │ ├── introduce-foreign-method.md │ ├── introduce-local-extension.md │ ├── introduce-null-object.md │ ├── introduce-parameter-object.md │ ├── move-field.md │ ├── move-method.md │ ├── parameterize-method.md │ ├── preserve-whole-object.md │ ├── pull-up-constructor-body.md │ ├── remove-assignments-to-parameters.md │ ├── remove-control-flag.md │ ├── remove-middle-man.md │ ├── remove-setting-method.md │ ├── rename-method.md │ ├── replace-array-with-object.md │ ├── replace-conditional-with-polymorphism.md │ ├── replace-constructor-with-factory-method.md │ ├── replace-data-value-with-object.md │ ├── replace-delegation-with-inheritance.md │ ├── replace-error-code-with-exception.md │ ├── replace-exception-with-test.md │ ├── replace-inheritance-with-delegation.md │ ├── replace-method-with-method-object.md │ ├── replace-nested-conditional-with-guard-clauses.md │ ├── replace-parameter-with-explicit-methods.md │ ├── replace-parameter-with-method-call.md │ ├── replace-subclass-with-fields.md │ ├── replace-temp-with-query.md │ ├── replace-type-code-with-class.md │ ├── replace-type-code-with-state-strategy.md │ ├── replace-type-code-with-subclasses.md │ ├── self-encapsulate-field.md │ ├── separate-query-from-modifier.md │ └── split-temporary-variable.md ├── java │ ├── add-parameter.md │ ├── change-bidirectional-association-to-unidirectional.md │ ├── change-reference-to-value.md │ ├── change-unidirectional-association-to-bidirectional.md │ ├── change-value-to-reference.md │ ├── consolidate-conditional-expression.md │ ├── consolidate-duplicate-conditional-fragments.md │ ├── decompose-conditional.md │ ├── duplicate-observed-data.md │ ├── encapsulate-collection.md │ ├── extract-class.md │ ├── extract-interface.md │ ├── extract-method.md │ ├── extract-subclass.md │ ├── extract-superclass.md │ ├── extract-variable.md │ ├── form-template-method.md │ ├── hide-delegate.md │ ├── inline-class.md │ ├── introduce-foreign-method.md │ ├── introduce-local-extension.md │ ├── introduce-null-object.md │ ├── introduce-parameter-object.md │ ├── move-field.md │ ├── move-method.md │ ├── parameterize-method.md │ ├── preserve-whole-object.md │ ├── pull-up-constructor-body.md │ ├── remove-assignments-to-parameters.md │ ├── remove-control-flag.md │ ├── remove-middle-man.md │ ├── remove-setting-method.md │ ├── rename-method.md │ ├── replace-array-with-object.md │ ├── replace-conditional-with-polymorphism.md │ ├── replace-constructor-with-factory-method.md │ ├── replace-data-value-with-object.md │ ├── replace-delegation-with-inheritance.md │ ├── replace-error-code-with-exception.md │ ├── replace-exception-with-test.md │ ├── replace-inheritance-with-delegation.md │ ├── replace-method-with-method-object.md │ ├── replace-nested-conditional-with-guard-clauses.md │ ├── replace-parameter-with-explicit-methods.md │ ├── replace-parameter-with-method-call.md │ ├── replace-subclass-with-fields.md │ ├── replace-temp-with-query.md │ ├── replace-type-code-with-class.md │ ├── replace-type-code-with-state-strategy.md │ ├── replace-type-code-with-subclasses.md │ ├── self-encapsulate-field.md │ ├── separate-query-from-modifier.md │ └── split-temporary-variable.md └── php │ ├── add-parameter.md │ ├── change-bidirectional-association-to-unidirectional.md │ ├── change-reference-to-value.md │ ├── change-unidirectional-association-to-bidirectional.md │ ├── change-value-to-reference.md │ ├── consolidate-conditional-expression.md │ ├── consolidate-duplicate-conditional-fragments.md │ ├── decompose-conditional.md │ ├── encapsulate-collection.md │ ├── extract-class.md │ ├── extract-interface.md │ ├── extract-method.md │ ├── extract-subclass.md │ ├── extract-superclass.md │ ├── extract-variable.md │ ├── form-template-method.md │ ├── hide-delegate.md │ ├── inline-class.md │ ├── introduce-foreign-method.md │ ├── introduce-local-extension.md │ ├── introduce-null-object.md │ ├── introduce-parameter-object.md │ ├── move-field.md │ ├── move-method.md │ ├── parameterize-method.md │ ├── preserve-whole-object.md │ ├── pull-up-constructor-body.md │ ├── remove-assignments-to-parameters.md │ ├── remove-control-flag.md │ ├── remove-middle-man.md │ ├── remove-setting-method.md │ ├── rename-method.md │ ├── replace-array-with-object.md │ ├── replace-conditional-with-polymorphism.md │ ├── replace-constructor-with-factory-method.md │ ├── replace-data-value-with-object.md │ ├── replace-delegation-with-inheritance.md │ ├── replace-error-code-with-exception.md │ ├── replace-exception-with-test.md │ ├── replace-inheritance-with-delegation.md │ ├── replace-method-with-method-object.md │ ├── replace-nested-conditional-with-guard-clauses.md │ ├── replace-parameter-with-explicit-methods.md │ ├── replace-parameter-with-method-call.md │ ├── replace-subclass-with-fields.md │ ├── replace-temp-with-query.md │ ├── replace-type-code-with-class.md │ ├── replace-type-code-with-state-strategy.md │ ├── replace-type-code-with-subclasses.md │ ├── self-encapsulate-field.md │ ├── separate-query-from-modifier.md │ └── split-temporary-variable.md └── simple ├── csharp ├── consolidate-conditional-expression_after.cs ├── consolidate-conditional-expression_before.cs ├── consolidate-duplicate-conditional-fragments_after.cs ├── consolidate-duplicate-conditional-fragments_before.cs ├── decompose-conditional_after.cs ├── decompose-conditional_before.cs ├── encapsulate-field_after.cs ├── encapsulate-field_before.cs ├── extract-class_after.cs ├── extract-class_before.cs ├── extract-method_after.cs ├── extract-method_before.cs ├── extract-method_decompose-loop_after.cs ├── extract-method_decompose-loop_before.cs ├── extract-method_isolate-switch_after.cs ├── extract-method_isolate-switch_before.cs ├── extract-variable_after.cs ├── extract-variable_after2.cs ├── extract-variable_before.cs ├── extract-variable_before2.cs ├── inline-method_after.cs ├── inline-method_before.cs ├── inline-temp_after.cs ├── inline-temp_before.cs ├── introduce-assertion_after.cs ├── introduce-assertion_before.cs ├── introduce-foreign-method_after.cs ├── introduce-foreign-method_before.cs ├── introduce-null-object_after.cs ├── introduce-null-object_before.cs ├── move-method_isolate-switch_after.cs ├── move-method_isolate-switch_before.cs ├── preserve-whole-object_after.cs ├── preserve-whole-object_before.cs ├── pull-up-constructor-body_after.cs ├── pull-up-constructor-body_before.cs ├── remove-assignments-to-parameters_after.cs ├── remove-assignments-to-parameters_before.cs ├── rename-mehod_after.cs ├── rename-mehod_before.cs ├── replace-array-with-object_after.cs ├── replace-array-with-object_before.cs ├── replace-conditional-with-polymorphism_after.cs ├── replace-conditional-with-polymorphism_before.cs ├── replace-constructor-with-factory-method_after.cs ├── replace-constructor-with-factory-method_before.cs ├── replace-error-code-with-exception_after.cs ├── replace-error-code-with-exception_before.cs ├── replace-exception-with-test_after.cs ├── replace-exception-with-test_before.cs ├── replace-magic-number-with-symbolic-constant_after.cs ├── replace-magic-number-with-symbolic-constant_before.cs ├── replace-method-with-method-object_after.cs ├── replace-method-with-method-object_before.cs ├── replace-nested-conditional-with-guard-clauses_after.cs ├── replace-nested-conditional-with-guard-clauses_before.cs ├── replace-parameter-with-explicit-methods_after.cs ├── replace-parameter-with-explicit-methods_before.cs ├── replace-parameter-with-method-call_after.cs ├── replace-parameter-with-method-call_before.cs ├── replace-temp-with-query_after.cs ├── replace-temp-with-query_before.cs ├── self-encapsulate-field_after.cs ├── self-encapsulate-field_before.cs ├── split-temporary-variable_after.cs ├── split-temporary-variable_before.cs ├── substitute-algorithm_after.cs └── substitute-algorithm_before.cs ├── java ├── consolidate-conditional-expression_after.java ├── consolidate-conditional-expression_before.java ├── consolidate-duplicate-conditional-fragments_after.java ├── consolidate-duplicate-conditional-fragments_before.java ├── decompose-conditional_after.java ├── decompose-conditional_before.java ├── encapsulate-field_after.java ├── encapsulate-field_before.java ├── extract-class_after.java ├── extract-class_before.java ├── extract-method_after.java ├── extract-method_before.java ├── extract-method_decompose-loop_after.java ├── extract-method_decompose-loop_before.java ├── extract-method_isolate-switch_after.java ├── extract-method_isolate-switch_before.java ├── extract-variable_after.java ├── extract-variable_after2.java ├── extract-variable_before.java ├── extract-variable_before2.java ├── inline-method_after.java ├── inline-method_before.java ├── inline-temp_after.java ├── inline-temp_before.java ├── introduce-assertion_after.java ├── introduce-assertion_before.java ├── introduce-foreign-method_after.java ├── introduce-foreign-method_before.java ├── introduce-null-object_after.java ├── introduce-null-object_before.java ├── move-method_isolate-switch_after.java ├── move-method_isolate-switch_before.java ├── preserve-whole-object_after.java ├── preserve-whole-object_before.java ├── pull-up-constructor-body_after.java ├── pull-up-constructor-body_before.java ├── remove-assignments-to-parameters_after.java ├── remove-assignments-to-parameters_before.java ├── rename-mehod_after.java ├── rename-mehod_before.java ├── replace-array-with-object_after.java ├── replace-array-with-object_before.java ├── replace-conditional-with-polymorphism_after.java ├── replace-conditional-with-polymorphism_before.java ├── replace-constructor-with-factory-method_after.java ├── replace-constructor-with-factory-method_before.java ├── replace-error-code-with-exception_after.java ├── replace-error-code-with-exception_before.java ├── replace-exception-with-test_after.java ├── replace-exception-with-test_before.java ├── replace-magic-number-with-symbolic-constant_after.java ├── replace-magic-number-with-symbolic-constant_before.java ├── replace-method-with-method-object_after.java ├── replace-method-with-method-object_before.java ├── replace-nested-conditional-with-guard-clauses_after.java ├── replace-nested-conditional-with-guard-clauses_before.java ├── replace-parameter-with-explicit-methods_after.java ├── replace-parameter-with-explicit-methods_before.java ├── replace-parameter-with-method-call_after.java ├── replace-parameter-with-method-call_before.java ├── replace-temp-with-query_after.java ├── replace-temp-with-query_before.java ├── self-encapsulate-field_after.java ├── self-encapsulate-field_before.java ├── split-temporary-variable_after.java ├── split-temporary-variable_before.java ├── substitute-algorithm_after.java └── substitute-algorithm_before.java ├── php ├── consolidate-conditional-expression_after.php ├── consolidate-conditional-expression_before.php ├── consolidate-duplicate-conditional-fragments_after.php ├── consolidate-duplicate-conditional-fragments_before.php ├── decompose-conditional_after.php ├── decompose-conditional_before.php ├── encapsulate-field_after.php ├── encapsulate-field_before.php ├── extract-class_after.php ├── extract-class_before.php ├── extract-method_after.php ├── extract-method_before.php ├── extract-method_decompose-loop_after.php ├── extract-method_decompose-loop_before.php ├── extract-method_isolate-switch_after.php ├── extract-method_isolate-switch_before.php ├── extract-variable_after.php ├── extract-variable_after2.php ├── extract-variable_before.php ├── extract-variable_before2.php ├── inline-method_after.php ├── inline-method_before.php ├── inline-temp_after.php ├── inline-temp_before.php ├── introduce-assertion_after.php ├── introduce-assertion_before.php ├── introduce-foreign-method_after.php ├── introduce-foreign-method_before.php ├── introduce-null-object_after.php ├── introduce-null-object_before.php ├── move-method_isolate-switch_after.php ├── move-method_isolate-switch_before.php ├── preserve-whole-object_after.php ├── preserve-whole-object_before.php ├── pull-up-constructor-body_after.php ├── pull-up-constructor-body_before.php ├── remove-assignments-to-parameters_after.php ├── remove-assignments-to-parameters_before.php ├── rename-mehod_after.php ├── rename-mehod_before.php ├── replace-array-with-object_after.php ├── replace-array-with-object_before.php ├── replace-conditional-with-polymorphism_after.php ├── replace-conditional-with-polymorphism_before.php ├── replace-constructor-with-factory-method_after.php ├── replace-constructor-with-factory-method_before.php ├── replace-error-code-with-exception_after.php ├── replace-error-code-with-exception_before.php ├── replace-exception-with-test_after.php ├── replace-exception-with-test_before.php ├── replace-magic-number-with-symbolic-constant_after.php ├── replace-magic-number-with-symbolic-constant_before.php ├── replace-method-with-method-object_after.php ├── replace-method-with-method-object_before.php ├── replace-nested-conditional-with-guard-clauses_after.php ├── replace-nested-conditional-with-guard-clauses_before.php ├── replace-parameter-with-explicit-methods_after.php ├── replace-parameter-with-explicit-methods_before.php ├── replace-parameter-with-method-call_after.php ├── replace-parameter-with-method-call_before.php ├── replace-temp-with-query_after.php ├── replace-temp-with-query_before.php ├── self-encapsulate-field_after.php ├── self-encapsulate-field_before.php ├── split-temporary-variable_after.php ├── split-temporary-variable_before.php ├── substitute-algorithm_after.php └── substitute-algorithm_before.php ├── python ├── consolidate-conditional-expression_after.py ├── consolidate-conditional-expression_before.py ├── consolidate-duplicate-conditional-fragments_after.py ├── consolidate-duplicate-conditional-fragments_before.py ├── decompose-conditional_after.py ├── decompose-conditional_before.py ├── extract-class_after.py ├── extract-class_before.py ├── extract-method_after.py ├── extract-method_before.py ├── extract-variable_after.py ├── extract-variable_before.py ├── inline-method_after.py ├── inline-method_before.py ├── inline-temp_after.py ├── inline-temp_before.py ├── introduce-assertion_after.py ├── introduce-assertion_before.py ├── introduce-foreign-method_after.py ├── introduce-foreign-method_before.py ├── introduce-null-object_after.py ├── introduce-null-object_before.py ├── preserve-whole-object_after.py ├── preserve-whole-object_before.py ├── pull-up-constructor-body_after.py ├── pull-up-constructor-body_before.py ├── remove-assignments-to-parameters_after.py ├── remove-assignments-to-parameters_before.py ├── replace-array-with-object_after.py ├── replace-array-with-object_before.py ├── replace-conditional-with-polymorphism_after.py ├── replace-conditional-with-polymorphism_before.py ├── replace-error-code-with-exception_after.py ├── replace-error-code-with-exception_before.py ├── replace-exception-with-test_after.py ├── replace-exception-with-test_before.py ├── replace-magic-number-with-symbolic-constant_after.py ├── replace-magic-number-with-symbolic-constant_before.py ├── replace-method-with-method-object_after.py ├── replace-method-with-method-object_before.py ├── replace-nested-conditional-with-guard-clauses_after.py ├── replace-nested-conditional-with-guard-clauses_before.py ├── replace-parameter-with-explicit-methods_after.py ├── replace-parameter-with-explicit-methods_before.py ├── replace-parameter-with-method-call_after.py ├── replace-parameter-with-method-call_before.py ├── replace-temp-with-query_after.py ├── replace-temp-with-query_before.py ├── split-temporary-variable_after.py ├── split-temporary-variable_before.py ├── substitute-algorithm_after.py └── substitute-algorithm_before.py └── typescript ├── consolidate-conditional-expression_after.ts ├── consolidate-conditional-expression_before.ts ├── consolidate-duplicate-conditional-fragments_after.ts ├── consolidate-duplicate-conditional-fragments_before.ts ├── decompose-conditional_after.ts ├── decompose-conditional_before.ts ├── encapsulate-field_after.ts ├── encapsulate-field_before.ts ├── extract-class_after.ts ├── extract-class_before.ts ├── extract-method_after.ts ├── extract-method_before.ts ├── extract-method_decompose-loop_after.ts ├── extract-method_decompose-loop_before.ts ├── extract-method_isolate-switch_after.ts ├── extract-method_isolate-switch_before.ts ├── extract-variable_after.ts ├── extract-variable_after2.ts ├── extract-variable_before.ts ├── extract-variable_before2.ts ├── inline-method_after.ts ├── inline-method_before.ts ├── inline-temp_after.ts ├── inline-temp_before.ts ├── introduce-assertion_after.ts ├── introduce-assertion_before.ts ├── introduce-foreign-method_after.ts ├── introduce-foreign-method_before.ts ├── introduce-null-object_after.ts ├── introduce-null-object_before.ts ├── move-method_isolate-switch_after.ts ├── move-method_isolate-switch_before.ts ├── preserve-whole-object_after.ts ├── preserve-whole-object_before.ts ├── pull-up-constructor-body_after.ts ├── pull-up-constructor-body_before.ts ├── remove-assignments-to-parameters_after.ts ├── remove-assignments-to-parameters_before.ts ├── rename-mehod_after.ts ├── rename-mehod_before.ts ├── replace-array-with-object_after.ts ├── replace-array-with-object_before.ts ├── replace-conditional-with-polymorphism_after.ts ├── replace-conditional-with-polymorphism_before.ts ├── replace-constructor-with-factory-method_after.ts ├── replace-constructor-with-factory-method_before.ts ├── replace-error-code-with-exception_after.ts ├── replace-error-code-with-exception_before.ts ├── replace-exception-with-test_after.ts ├── replace-exception-with-test_before.ts ├── replace-magic-number-with-symbolic-constant_after.ts ├── replace-magic-number-with-symbolic-constant_before.ts ├── replace-method-with-method-object_after.ts ├── replace-method-with-method-object_before.ts ├── replace-nested-conditional-with-guard-clauses_after.ts ├── replace-nested-conditional-with-guard-clauses_before.ts ├── replace-parameter-with-explicit-methods_after.ts ├── replace-parameter-with-explicit-methods_before.ts ├── replace-parameter-with-method-call_after.ts ├── replace-parameter-with-method-call_before.ts ├── replace-temp-with-query_after.ts ├── replace-temp-with-query_before.ts ├── self-encapsulate-field_after.ts ├── self-encapsulate-field_before.ts ├── split-temporary-variable_after.ts ├── split-temporary-variable_before.ts ├── substitute-algorithm_after.ts └── substitute-algorithm_before.ts /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/README.md -------------------------------------------------------------------------------- /interactive/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/README.md -------------------------------------------------------------------------------- /interactive/csharp/add-parameter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/add-parameter.md -------------------------------------------------------------------------------- /interactive/csharp/change-bidirectional-association-to-unidirectional.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/change-bidirectional-association-to-unidirectional.md -------------------------------------------------------------------------------- /interactive/csharp/change-reference-to-value.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/change-reference-to-value.md -------------------------------------------------------------------------------- /interactive/csharp/change-unidirectional-association-to-bidirectional.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/change-unidirectional-association-to-bidirectional.md -------------------------------------------------------------------------------- /interactive/csharp/change-value-to-reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/change-value-to-reference.md -------------------------------------------------------------------------------- /interactive/csharp/consolidate-conditional-expression.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/consolidate-conditional-expression.md -------------------------------------------------------------------------------- /interactive/csharp/consolidate-duplicate-conditional-fragments.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/consolidate-duplicate-conditional-fragments.md -------------------------------------------------------------------------------- /interactive/csharp/decompose-conditional.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/decompose-conditional.md -------------------------------------------------------------------------------- /interactive/csharp/duplicate-observed-data.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/duplicate-observed-data.md -------------------------------------------------------------------------------- /interactive/csharp/encapsulate-collection.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/encapsulate-collection.md -------------------------------------------------------------------------------- /interactive/csharp/extract-class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/extract-class.md -------------------------------------------------------------------------------- /interactive/csharp/extract-interface.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/extract-interface.md -------------------------------------------------------------------------------- /interactive/csharp/extract-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/extract-method.md -------------------------------------------------------------------------------- /interactive/csharp/extract-subclass.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/extract-subclass.md -------------------------------------------------------------------------------- /interactive/csharp/extract-superclass.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/extract-superclass.md -------------------------------------------------------------------------------- /interactive/csharp/extract-variable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/extract-variable.md -------------------------------------------------------------------------------- /interactive/csharp/form-template-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/form-template-method.md -------------------------------------------------------------------------------- /interactive/csharp/hide-delegate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/hide-delegate.md -------------------------------------------------------------------------------- /interactive/csharp/inline-class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/inline-class.md -------------------------------------------------------------------------------- /interactive/csharp/introduce-foreign-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/introduce-foreign-method.md -------------------------------------------------------------------------------- /interactive/csharp/introduce-local-extension.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/introduce-local-extension.md -------------------------------------------------------------------------------- /interactive/csharp/introduce-null-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/introduce-null-object.md -------------------------------------------------------------------------------- /interactive/csharp/introduce-parameter-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/introduce-parameter-object.md -------------------------------------------------------------------------------- /interactive/csharp/move-field.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/move-field.md -------------------------------------------------------------------------------- /interactive/csharp/move-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/move-method.md -------------------------------------------------------------------------------- /interactive/csharp/parameterize-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/parameterize-method.md -------------------------------------------------------------------------------- /interactive/csharp/preserve-whole-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/preserve-whole-object.md -------------------------------------------------------------------------------- /interactive/csharp/pull-up-constructor-body.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/pull-up-constructor-body.md -------------------------------------------------------------------------------- /interactive/csharp/remove-assignments-to-parameters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/remove-assignments-to-parameters.md -------------------------------------------------------------------------------- /interactive/csharp/remove-control-flag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/remove-control-flag.md -------------------------------------------------------------------------------- /interactive/csharp/remove-middle-man.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/remove-middle-man.md -------------------------------------------------------------------------------- /interactive/csharp/remove-setting-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/remove-setting-method.md -------------------------------------------------------------------------------- /interactive/csharp/rename-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/rename-method.md -------------------------------------------------------------------------------- /interactive/csharp/replace-array-with-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-array-with-object.md -------------------------------------------------------------------------------- /interactive/csharp/replace-conditional-with-polymorphism.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-conditional-with-polymorphism.md -------------------------------------------------------------------------------- /interactive/csharp/replace-constructor-with-factory-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-constructor-with-factory-method.md -------------------------------------------------------------------------------- /interactive/csharp/replace-data-value-with-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-data-value-with-object.md -------------------------------------------------------------------------------- /interactive/csharp/replace-delegation-with-inheritance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-delegation-with-inheritance.md -------------------------------------------------------------------------------- /interactive/csharp/replace-error-code-with-exception.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-error-code-with-exception.md -------------------------------------------------------------------------------- /interactive/csharp/replace-exception-with-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-exception-with-test.md -------------------------------------------------------------------------------- /interactive/csharp/replace-inheritance-with-delegation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-inheritance-with-delegation.md -------------------------------------------------------------------------------- /interactive/csharp/replace-method-with-method-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-method-with-method-object.md -------------------------------------------------------------------------------- /interactive/csharp/replace-nested-conditional-with-guard-clauses.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-nested-conditional-with-guard-clauses.md -------------------------------------------------------------------------------- /interactive/csharp/replace-parameter-with-explicit-methods.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-parameter-with-explicit-methods.md -------------------------------------------------------------------------------- /interactive/csharp/replace-parameter-with-method-call.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-parameter-with-method-call.md -------------------------------------------------------------------------------- /interactive/csharp/replace-subclass-with-fields.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-subclass-with-fields.md -------------------------------------------------------------------------------- /interactive/csharp/replace-temp-with-query.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-temp-with-query.md -------------------------------------------------------------------------------- /interactive/csharp/replace-type-code-with-class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-type-code-with-class.md -------------------------------------------------------------------------------- /interactive/csharp/replace-type-code-with-state-strategy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-type-code-with-state-strategy.md -------------------------------------------------------------------------------- /interactive/csharp/replace-type-code-with-subclasses.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/replace-type-code-with-subclasses.md -------------------------------------------------------------------------------- /interactive/csharp/self-encapsulate-field.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/self-encapsulate-field.md -------------------------------------------------------------------------------- /interactive/csharp/separate-query-from-modifier.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/separate-query-from-modifier.md -------------------------------------------------------------------------------- /interactive/csharp/split-temporary-variable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/csharp/split-temporary-variable.md -------------------------------------------------------------------------------- /interactive/java/add-parameter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/add-parameter.md -------------------------------------------------------------------------------- /interactive/java/change-bidirectional-association-to-unidirectional.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/change-bidirectional-association-to-unidirectional.md -------------------------------------------------------------------------------- /interactive/java/change-reference-to-value.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/change-reference-to-value.md -------------------------------------------------------------------------------- /interactive/java/change-unidirectional-association-to-bidirectional.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/change-unidirectional-association-to-bidirectional.md -------------------------------------------------------------------------------- /interactive/java/change-value-to-reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/change-value-to-reference.md -------------------------------------------------------------------------------- /interactive/java/consolidate-conditional-expression.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/consolidate-conditional-expression.md -------------------------------------------------------------------------------- /interactive/java/consolidate-duplicate-conditional-fragments.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/consolidate-duplicate-conditional-fragments.md -------------------------------------------------------------------------------- /interactive/java/decompose-conditional.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/decompose-conditional.md -------------------------------------------------------------------------------- /interactive/java/duplicate-observed-data.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/duplicate-observed-data.md -------------------------------------------------------------------------------- /interactive/java/encapsulate-collection.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/encapsulate-collection.md -------------------------------------------------------------------------------- /interactive/java/extract-class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/extract-class.md -------------------------------------------------------------------------------- /interactive/java/extract-interface.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/extract-interface.md -------------------------------------------------------------------------------- /interactive/java/extract-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/extract-method.md -------------------------------------------------------------------------------- /interactive/java/extract-subclass.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/extract-subclass.md -------------------------------------------------------------------------------- /interactive/java/extract-superclass.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/extract-superclass.md -------------------------------------------------------------------------------- /interactive/java/extract-variable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/extract-variable.md -------------------------------------------------------------------------------- /interactive/java/form-template-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/form-template-method.md -------------------------------------------------------------------------------- /interactive/java/hide-delegate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/hide-delegate.md -------------------------------------------------------------------------------- /interactive/java/inline-class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/inline-class.md -------------------------------------------------------------------------------- /interactive/java/introduce-foreign-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/introduce-foreign-method.md -------------------------------------------------------------------------------- /interactive/java/introduce-local-extension.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/introduce-local-extension.md -------------------------------------------------------------------------------- /interactive/java/introduce-null-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/introduce-null-object.md -------------------------------------------------------------------------------- /interactive/java/introduce-parameter-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/introduce-parameter-object.md -------------------------------------------------------------------------------- /interactive/java/move-field.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/move-field.md -------------------------------------------------------------------------------- /interactive/java/move-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/move-method.md -------------------------------------------------------------------------------- /interactive/java/parameterize-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/parameterize-method.md -------------------------------------------------------------------------------- /interactive/java/preserve-whole-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/preserve-whole-object.md -------------------------------------------------------------------------------- /interactive/java/pull-up-constructor-body.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/pull-up-constructor-body.md -------------------------------------------------------------------------------- /interactive/java/remove-assignments-to-parameters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/remove-assignments-to-parameters.md -------------------------------------------------------------------------------- /interactive/java/remove-control-flag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/remove-control-flag.md -------------------------------------------------------------------------------- /interactive/java/remove-middle-man.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/remove-middle-man.md -------------------------------------------------------------------------------- /interactive/java/remove-setting-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/remove-setting-method.md -------------------------------------------------------------------------------- /interactive/java/rename-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/rename-method.md -------------------------------------------------------------------------------- /interactive/java/replace-array-with-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-array-with-object.md -------------------------------------------------------------------------------- /interactive/java/replace-conditional-with-polymorphism.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-conditional-with-polymorphism.md -------------------------------------------------------------------------------- /interactive/java/replace-constructor-with-factory-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-constructor-with-factory-method.md -------------------------------------------------------------------------------- /interactive/java/replace-data-value-with-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-data-value-with-object.md -------------------------------------------------------------------------------- /interactive/java/replace-delegation-with-inheritance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-delegation-with-inheritance.md -------------------------------------------------------------------------------- /interactive/java/replace-error-code-with-exception.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-error-code-with-exception.md -------------------------------------------------------------------------------- /interactive/java/replace-exception-with-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-exception-with-test.md -------------------------------------------------------------------------------- /interactive/java/replace-inheritance-with-delegation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-inheritance-with-delegation.md -------------------------------------------------------------------------------- /interactive/java/replace-method-with-method-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-method-with-method-object.md -------------------------------------------------------------------------------- /interactive/java/replace-nested-conditional-with-guard-clauses.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-nested-conditional-with-guard-clauses.md -------------------------------------------------------------------------------- /interactive/java/replace-parameter-with-explicit-methods.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-parameter-with-explicit-methods.md -------------------------------------------------------------------------------- /interactive/java/replace-parameter-with-method-call.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-parameter-with-method-call.md -------------------------------------------------------------------------------- /interactive/java/replace-subclass-with-fields.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-subclass-with-fields.md -------------------------------------------------------------------------------- /interactive/java/replace-temp-with-query.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-temp-with-query.md -------------------------------------------------------------------------------- /interactive/java/replace-type-code-with-class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-type-code-with-class.md -------------------------------------------------------------------------------- /interactive/java/replace-type-code-with-state-strategy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-type-code-with-state-strategy.md -------------------------------------------------------------------------------- /interactive/java/replace-type-code-with-subclasses.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/replace-type-code-with-subclasses.md -------------------------------------------------------------------------------- /interactive/java/self-encapsulate-field.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/self-encapsulate-field.md -------------------------------------------------------------------------------- /interactive/java/separate-query-from-modifier.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/separate-query-from-modifier.md -------------------------------------------------------------------------------- /interactive/java/split-temporary-variable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/java/split-temporary-variable.md -------------------------------------------------------------------------------- /interactive/php/add-parameter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/add-parameter.md -------------------------------------------------------------------------------- /interactive/php/change-bidirectional-association-to-unidirectional.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/change-bidirectional-association-to-unidirectional.md -------------------------------------------------------------------------------- /interactive/php/change-reference-to-value.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/change-reference-to-value.md -------------------------------------------------------------------------------- /interactive/php/change-unidirectional-association-to-bidirectional.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/change-unidirectional-association-to-bidirectional.md -------------------------------------------------------------------------------- /interactive/php/change-value-to-reference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/change-value-to-reference.md -------------------------------------------------------------------------------- /interactive/php/consolidate-conditional-expression.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/consolidate-conditional-expression.md -------------------------------------------------------------------------------- /interactive/php/consolidate-duplicate-conditional-fragments.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/consolidate-duplicate-conditional-fragments.md -------------------------------------------------------------------------------- /interactive/php/decompose-conditional.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/decompose-conditional.md -------------------------------------------------------------------------------- /interactive/php/encapsulate-collection.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/encapsulate-collection.md -------------------------------------------------------------------------------- /interactive/php/extract-class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/extract-class.md -------------------------------------------------------------------------------- /interactive/php/extract-interface.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/extract-interface.md -------------------------------------------------------------------------------- /interactive/php/extract-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/extract-method.md -------------------------------------------------------------------------------- /interactive/php/extract-subclass.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/extract-subclass.md -------------------------------------------------------------------------------- /interactive/php/extract-superclass.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/extract-superclass.md -------------------------------------------------------------------------------- /interactive/php/extract-variable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/extract-variable.md -------------------------------------------------------------------------------- /interactive/php/form-template-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/form-template-method.md -------------------------------------------------------------------------------- /interactive/php/hide-delegate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/hide-delegate.md -------------------------------------------------------------------------------- /interactive/php/inline-class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/inline-class.md -------------------------------------------------------------------------------- /interactive/php/introduce-foreign-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/introduce-foreign-method.md -------------------------------------------------------------------------------- /interactive/php/introduce-local-extension.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/introduce-local-extension.md -------------------------------------------------------------------------------- /interactive/php/introduce-null-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/introduce-null-object.md -------------------------------------------------------------------------------- /interactive/php/introduce-parameter-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/introduce-parameter-object.md -------------------------------------------------------------------------------- /interactive/php/move-field.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/move-field.md -------------------------------------------------------------------------------- /interactive/php/move-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/move-method.md -------------------------------------------------------------------------------- /interactive/php/parameterize-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/parameterize-method.md -------------------------------------------------------------------------------- /interactive/php/preserve-whole-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/preserve-whole-object.md -------------------------------------------------------------------------------- /interactive/php/pull-up-constructor-body.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/pull-up-constructor-body.md -------------------------------------------------------------------------------- /interactive/php/remove-assignments-to-parameters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/remove-assignments-to-parameters.md -------------------------------------------------------------------------------- /interactive/php/remove-control-flag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/remove-control-flag.md -------------------------------------------------------------------------------- /interactive/php/remove-middle-man.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/remove-middle-man.md -------------------------------------------------------------------------------- /interactive/php/remove-setting-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/remove-setting-method.md -------------------------------------------------------------------------------- /interactive/php/rename-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/rename-method.md -------------------------------------------------------------------------------- /interactive/php/replace-array-with-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-array-with-object.md -------------------------------------------------------------------------------- /interactive/php/replace-conditional-with-polymorphism.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-conditional-with-polymorphism.md -------------------------------------------------------------------------------- /interactive/php/replace-constructor-with-factory-method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-constructor-with-factory-method.md -------------------------------------------------------------------------------- /interactive/php/replace-data-value-with-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-data-value-with-object.md -------------------------------------------------------------------------------- /interactive/php/replace-delegation-with-inheritance.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-delegation-with-inheritance.md -------------------------------------------------------------------------------- /interactive/php/replace-error-code-with-exception.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-error-code-with-exception.md -------------------------------------------------------------------------------- /interactive/php/replace-exception-with-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-exception-with-test.md -------------------------------------------------------------------------------- /interactive/php/replace-inheritance-with-delegation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-inheritance-with-delegation.md -------------------------------------------------------------------------------- /interactive/php/replace-method-with-method-object.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-method-with-method-object.md -------------------------------------------------------------------------------- /interactive/php/replace-nested-conditional-with-guard-clauses.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-nested-conditional-with-guard-clauses.md -------------------------------------------------------------------------------- /interactive/php/replace-parameter-with-explicit-methods.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-parameter-with-explicit-methods.md -------------------------------------------------------------------------------- /interactive/php/replace-parameter-with-method-call.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-parameter-with-method-call.md -------------------------------------------------------------------------------- /interactive/php/replace-subclass-with-fields.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-subclass-with-fields.md -------------------------------------------------------------------------------- /interactive/php/replace-temp-with-query.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-temp-with-query.md -------------------------------------------------------------------------------- /interactive/php/replace-type-code-with-class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-type-code-with-class.md -------------------------------------------------------------------------------- /interactive/php/replace-type-code-with-state-strategy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-type-code-with-state-strategy.md -------------------------------------------------------------------------------- /interactive/php/replace-type-code-with-subclasses.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/replace-type-code-with-subclasses.md -------------------------------------------------------------------------------- /interactive/php/self-encapsulate-field.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/self-encapsulate-field.md -------------------------------------------------------------------------------- /interactive/php/separate-query-from-modifier.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/separate-query-from-modifier.md -------------------------------------------------------------------------------- /interactive/php/split-temporary-variable.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/interactive/php/split-temporary-variable.md -------------------------------------------------------------------------------- /simple/csharp/consolidate-conditional-expression_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/consolidate-conditional-expression_after.cs -------------------------------------------------------------------------------- /simple/csharp/consolidate-conditional-expression_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/consolidate-conditional-expression_before.cs -------------------------------------------------------------------------------- /simple/csharp/consolidate-duplicate-conditional-fragments_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/consolidate-duplicate-conditional-fragments_after.cs -------------------------------------------------------------------------------- /simple/csharp/consolidate-duplicate-conditional-fragments_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/consolidate-duplicate-conditional-fragments_before.cs -------------------------------------------------------------------------------- /simple/csharp/decompose-conditional_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/decompose-conditional_after.cs -------------------------------------------------------------------------------- /simple/csharp/decompose-conditional_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/decompose-conditional_before.cs -------------------------------------------------------------------------------- /simple/csharp/encapsulate-field_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/encapsulate-field_after.cs -------------------------------------------------------------------------------- /simple/csharp/encapsulate-field_before.cs: -------------------------------------------------------------------------------- 1 | class Person 2 | { 3 | public string name; 4 | } -------------------------------------------------------------------------------- /simple/csharp/extract-class_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/extract-class_after.cs -------------------------------------------------------------------------------- /simple/csharp/extract-class_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/extract-class_before.cs -------------------------------------------------------------------------------- /simple/csharp/extract-method_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/extract-method_after.cs -------------------------------------------------------------------------------- /simple/csharp/extract-method_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/extract-method_before.cs -------------------------------------------------------------------------------- /simple/csharp/extract-method_decompose-loop_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/extract-method_decompose-loop_after.cs -------------------------------------------------------------------------------- /simple/csharp/extract-method_decompose-loop_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/extract-method_decompose-loop_before.cs -------------------------------------------------------------------------------- /simple/csharp/extract-method_isolate-switch_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/extract-method_isolate-switch_after.cs -------------------------------------------------------------------------------- /simple/csharp/extract-method_isolate-switch_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/extract-method_isolate-switch_before.cs -------------------------------------------------------------------------------- /simple/csharp/extract-variable_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/extract-variable_after.cs -------------------------------------------------------------------------------- /simple/csharp/extract-variable_after2.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/extract-variable_after2.cs -------------------------------------------------------------------------------- /simple/csharp/extract-variable_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/extract-variable_before.cs -------------------------------------------------------------------------------- /simple/csharp/extract-variable_before2.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/extract-variable_before2.cs -------------------------------------------------------------------------------- /simple/csharp/inline-method_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/inline-method_after.cs -------------------------------------------------------------------------------- /simple/csharp/inline-method_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/inline-method_before.cs -------------------------------------------------------------------------------- /simple/csharp/inline-temp_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/inline-temp_after.cs -------------------------------------------------------------------------------- /simple/csharp/inline-temp_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/inline-temp_before.cs -------------------------------------------------------------------------------- /simple/csharp/introduce-assertion_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/introduce-assertion_after.cs -------------------------------------------------------------------------------- /simple/csharp/introduce-assertion_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/introduce-assertion_before.cs -------------------------------------------------------------------------------- /simple/csharp/introduce-foreign-method_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/introduce-foreign-method_after.cs -------------------------------------------------------------------------------- /simple/csharp/introduce-foreign-method_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/introduce-foreign-method_before.cs -------------------------------------------------------------------------------- /simple/csharp/introduce-null-object_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/introduce-null-object_after.cs -------------------------------------------------------------------------------- /simple/csharp/introduce-null-object_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/introduce-null-object_before.cs -------------------------------------------------------------------------------- /simple/csharp/move-method_isolate-switch_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/move-method_isolate-switch_after.cs -------------------------------------------------------------------------------- /simple/csharp/move-method_isolate-switch_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/move-method_isolate-switch_before.cs -------------------------------------------------------------------------------- /simple/csharp/preserve-whole-object_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/preserve-whole-object_after.cs -------------------------------------------------------------------------------- /simple/csharp/preserve-whole-object_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/preserve-whole-object_before.cs -------------------------------------------------------------------------------- /simple/csharp/pull-up-constructor-body_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/pull-up-constructor-body_after.cs -------------------------------------------------------------------------------- /simple/csharp/pull-up-constructor-body_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/pull-up-constructor-body_before.cs -------------------------------------------------------------------------------- /simple/csharp/remove-assignments-to-parameters_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/remove-assignments-to-parameters_after.cs -------------------------------------------------------------------------------- /simple/csharp/remove-assignments-to-parameters_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/remove-assignments-to-parameters_before.cs -------------------------------------------------------------------------------- /simple/csharp/rename-mehod_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/rename-mehod_after.cs -------------------------------------------------------------------------------- /simple/csharp/rename-mehod_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/rename-mehod_before.cs -------------------------------------------------------------------------------- /simple/csharp/replace-array-with-object_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-array-with-object_after.cs -------------------------------------------------------------------------------- /simple/csharp/replace-array-with-object_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-array-with-object_before.cs -------------------------------------------------------------------------------- /simple/csharp/replace-conditional-with-polymorphism_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-conditional-with-polymorphism_after.cs -------------------------------------------------------------------------------- /simple/csharp/replace-conditional-with-polymorphism_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-conditional-with-polymorphism_before.cs -------------------------------------------------------------------------------- /simple/csharp/replace-constructor-with-factory-method_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-constructor-with-factory-method_after.cs -------------------------------------------------------------------------------- /simple/csharp/replace-constructor-with-factory-method_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-constructor-with-factory-method_before.cs -------------------------------------------------------------------------------- /simple/csharp/replace-error-code-with-exception_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-error-code-with-exception_after.cs -------------------------------------------------------------------------------- /simple/csharp/replace-error-code-with-exception_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-error-code-with-exception_before.cs -------------------------------------------------------------------------------- /simple/csharp/replace-exception-with-test_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-exception-with-test_after.cs -------------------------------------------------------------------------------- /simple/csharp/replace-exception-with-test_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-exception-with-test_before.cs -------------------------------------------------------------------------------- /simple/csharp/replace-magic-number-with-symbolic-constant_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-magic-number-with-symbolic-constant_after.cs -------------------------------------------------------------------------------- /simple/csharp/replace-magic-number-with-symbolic-constant_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-magic-number-with-symbolic-constant_before.cs -------------------------------------------------------------------------------- /simple/csharp/replace-method-with-method-object_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-method-with-method-object_after.cs -------------------------------------------------------------------------------- /simple/csharp/replace-method-with-method-object_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-method-with-method-object_before.cs -------------------------------------------------------------------------------- /simple/csharp/replace-nested-conditional-with-guard-clauses_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-nested-conditional-with-guard-clauses_after.cs -------------------------------------------------------------------------------- /simple/csharp/replace-nested-conditional-with-guard-clauses_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-nested-conditional-with-guard-clauses_before.cs -------------------------------------------------------------------------------- /simple/csharp/replace-parameter-with-explicit-methods_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-parameter-with-explicit-methods_after.cs -------------------------------------------------------------------------------- /simple/csharp/replace-parameter-with-explicit-methods_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-parameter-with-explicit-methods_before.cs -------------------------------------------------------------------------------- /simple/csharp/replace-parameter-with-method-call_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-parameter-with-method-call_after.cs -------------------------------------------------------------------------------- /simple/csharp/replace-parameter-with-method-call_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-parameter-with-method-call_before.cs -------------------------------------------------------------------------------- /simple/csharp/replace-temp-with-query_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-temp-with-query_after.cs -------------------------------------------------------------------------------- /simple/csharp/replace-temp-with-query_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/replace-temp-with-query_before.cs -------------------------------------------------------------------------------- /simple/csharp/self-encapsulate-field_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/self-encapsulate-field_after.cs -------------------------------------------------------------------------------- /simple/csharp/self-encapsulate-field_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/self-encapsulate-field_before.cs -------------------------------------------------------------------------------- /simple/csharp/split-temporary-variable_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/split-temporary-variable_after.cs -------------------------------------------------------------------------------- /simple/csharp/split-temporary-variable_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/split-temporary-variable_before.cs -------------------------------------------------------------------------------- /simple/csharp/substitute-algorithm_after.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/substitute-algorithm_after.cs -------------------------------------------------------------------------------- /simple/csharp/substitute-algorithm_before.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/csharp/substitute-algorithm_before.cs -------------------------------------------------------------------------------- /simple/java/consolidate-conditional-expression_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/consolidate-conditional-expression_after.java -------------------------------------------------------------------------------- /simple/java/consolidate-conditional-expression_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/consolidate-conditional-expression_before.java -------------------------------------------------------------------------------- /simple/java/consolidate-duplicate-conditional-fragments_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/consolidate-duplicate-conditional-fragments_after.java -------------------------------------------------------------------------------- /simple/java/consolidate-duplicate-conditional-fragments_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/consolidate-duplicate-conditional-fragments_before.java -------------------------------------------------------------------------------- /simple/java/decompose-conditional_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/decompose-conditional_after.java -------------------------------------------------------------------------------- /simple/java/decompose-conditional_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/decompose-conditional_before.java -------------------------------------------------------------------------------- /simple/java/encapsulate-field_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/encapsulate-field_after.java -------------------------------------------------------------------------------- /simple/java/encapsulate-field_before.java: -------------------------------------------------------------------------------- 1 | class Person { 2 | public String name; 3 | } -------------------------------------------------------------------------------- /simple/java/extract-class_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/extract-class_after.java -------------------------------------------------------------------------------- /simple/java/extract-class_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/extract-class_before.java -------------------------------------------------------------------------------- /simple/java/extract-method_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/extract-method_after.java -------------------------------------------------------------------------------- /simple/java/extract-method_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/extract-method_before.java -------------------------------------------------------------------------------- /simple/java/extract-method_decompose-loop_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/extract-method_decompose-loop_after.java -------------------------------------------------------------------------------- /simple/java/extract-method_decompose-loop_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/extract-method_decompose-loop_before.java -------------------------------------------------------------------------------- /simple/java/extract-method_isolate-switch_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/extract-method_isolate-switch_after.java -------------------------------------------------------------------------------- /simple/java/extract-method_isolate-switch_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/extract-method_isolate-switch_before.java -------------------------------------------------------------------------------- /simple/java/extract-variable_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/extract-variable_after.java -------------------------------------------------------------------------------- /simple/java/extract-variable_after2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/extract-variable_after2.java -------------------------------------------------------------------------------- /simple/java/extract-variable_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/extract-variable_before.java -------------------------------------------------------------------------------- /simple/java/extract-variable_before2.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/extract-variable_before2.java -------------------------------------------------------------------------------- /simple/java/inline-method_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/inline-method_after.java -------------------------------------------------------------------------------- /simple/java/inline-method_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/inline-method_before.java -------------------------------------------------------------------------------- /simple/java/inline-temp_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/inline-temp_after.java -------------------------------------------------------------------------------- /simple/java/inline-temp_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/inline-temp_before.java -------------------------------------------------------------------------------- /simple/java/introduce-assertion_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/introduce-assertion_after.java -------------------------------------------------------------------------------- /simple/java/introduce-assertion_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/introduce-assertion_before.java -------------------------------------------------------------------------------- /simple/java/introduce-foreign-method_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/introduce-foreign-method_after.java -------------------------------------------------------------------------------- /simple/java/introduce-foreign-method_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/introduce-foreign-method_before.java -------------------------------------------------------------------------------- /simple/java/introduce-null-object_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/introduce-null-object_after.java -------------------------------------------------------------------------------- /simple/java/introduce-null-object_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/introduce-null-object_before.java -------------------------------------------------------------------------------- /simple/java/move-method_isolate-switch_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/move-method_isolate-switch_after.java -------------------------------------------------------------------------------- /simple/java/move-method_isolate-switch_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/move-method_isolate-switch_before.java -------------------------------------------------------------------------------- /simple/java/preserve-whole-object_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/preserve-whole-object_after.java -------------------------------------------------------------------------------- /simple/java/preserve-whole-object_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/preserve-whole-object_before.java -------------------------------------------------------------------------------- /simple/java/pull-up-constructor-body_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/pull-up-constructor-body_after.java -------------------------------------------------------------------------------- /simple/java/pull-up-constructor-body_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/pull-up-constructor-body_before.java -------------------------------------------------------------------------------- /simple/java/remove-assignments-to-parameters_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/remove-assignments-to-parameters_after.java -------------------------------------------------------------------------------- /simple/java/remove-assignments-to-parameters_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/remove-assignments-to-parameters_before.java -------------------------------------------------------------------------------- /simple/java/rename-mehod_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/rename-mehod_after.java -------------------------------------------------------------------------------- /simple/java/rename-mehod_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/rename-mehod_before.java -------------------------------------------------------------------------------- /simple/java/replace-array-with-object_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-array-with-object_after.java -------------------------------------------------------------------------------- /simple/java/replace-array-with-object_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-array-with-object_before.java -------------------------------------------------------------------------------- /simple/java/replace-conditional-with-polymorphism_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-conditional-with-polymorphism_after.java -------------------------------------------------------------------------------- /simple/java/replace-conditional-with-polymorphism_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-conditional-with-polymorphism_before.java -------------------------------------------------------------------------------- /simple/java/replace-constructor-with-factory-method_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-constructor-with-factory-method_after.java -------------------------------------------------------------------------------- /simple/java/replace-constructor-with-factory-method_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-constructor-with-factory-method_before.java -------------------------------------------------------------------------------- /simple/java/replace-error-code-with-exception_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-error-code-with-exception_after.java -------------------------------------------------------------------------------- /simple/java/replace-error-code-with-exception_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-error-code-with-exception_before.java -------------------------------------------------------------------------------- /simple/java/replace-exception-with-test_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-exception-with-test_after.java -------------------------------------------------------------------------------- /simple/java/replace-exception-with-test_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-exception-with-test_before.java -------------------------------------------------------------------------------- /simple/java/replace-magic-number-with-symbolic-constant_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-magic-number-with-symbolic-constant_after.java -------------------------------------------------------------------------------- /simple/java/replace-magic-number-with-symbolic-constant_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-magic-number-with-symbolic-constant_before.java -------------------------------------------------------------------------------- /simple/java/replace-method-with-method-object_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-method-with-method-object_after.java -------------------------------------------------------------------------------- /simple/java/replace-method-with-method-object_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-method-with-method-object_before.java -------------------------------------------------------------------------------- /simple/java/replace-nested-conditional-with-guard-clauses_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-nested-conditional-with-guard-clauses_after.java -------------------------------------------------------------------------------- /simple/java/replace-nested-conditional-with-guard-clauses_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-nested-conditional-with-guard-clauses_before.java -------------------------------------------------------------------------------- /simple/java/replace-parameter-with-explicit-methods_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-parameter-with-explicit-methods_after.java -------------------------------------------------------------------------------- /simple/java/replace-parameter-with-explicit-methods_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-parameter-with-explicit-methods_before.java -------------------------------------------------------------------------------- /simple/java/replace-parameter-with-method-call_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-parameter-with-method-call_after.java -------------------------------------------------------------------------------- /simple/java/replace-parameter-with-method-call_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-parameter-with-method-call_before.java -------------------------------------------------------------------------------- /simple/java/replace-temp-with-query_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-temp-with-query_after.java -------------------------------------------------------------------------------- /simple/java/replace-temp-with-query_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/replace-temp-with-query_before.java -------------------------------------------------------------------------------- /simple/java/self-encapsulate-field_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/self-encapsulate-field_after.java -------------------------------------------------------------------------------- /simple/java/self-encapsulate-field_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/self-encapsulate-field_before.java -------------------------------------------------------------------------------- /simple/java/split-temporary-variable_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/split-temporary-variable_after.java -------------------------------------------------------------------------------- /simple/java/split-temporary-variable_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/split-temporary-variable_before.java -------------------------------------------------------------------------------- /simple/java/substitute-algorithm_after.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/substitute-algorithm_after.java -------------------------------------------------------------------------------- /simple/java/substitute-algorithm_before.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/java/substitute-algorithm_before.java -------------------------------------------------------------------------------- /simple/php/consolidate-conditional-expression_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/consolidate-conditional-expression_after.php -------------------------------------------------------------------------------- /simple/php/consolidate-conditional-expression_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/consolidate-conditional-expression_before.php -------------------------------------------------------------------------------- /simple/php/consolidate-duplicate-conditional-fragments_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/consolidate-duplicate-conditional-fragments_after.php -------------------------------------------------------------------------------- /simple/php/consolidate-duplicate-conditional-fragments_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/consolidate-duplicate-conditional-fragments_before.php -------------------------------------------------------------------------------- /simple/php/decompose-conditional_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/decompose-conditional_after.php -------------------------------------------------------------------------------- /simple/php/decompose-conditional_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/decompose-conditional_before.php -------------------------------------------------------------------------------- /simple/php/encapsulate-field_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/encapsulate-field_after.php -------------------------------------------------------------------------------- /simple/php/encapsulate-field_before.php: -------------------------------------------------------------------------------- 1 | numberOfLateDeliveries > 5) ? 2 : 1; 4 | } -------------------------------------------------------------------------------- /simple/php/inline-method_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/inline-method_before.php -------------------------------------------------------------------------------- /simple/php/inline-temp_after.php: -------------------------------------------------------------------------------- 1 | basePrice() > 1000; -------------------------------------------------------------------------------- /simple/php/inline-temp_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/inline-temp_before.php -------------------------------------------------------------------------------- /simple/php/introduce-assertion_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/introduce-assertion_after.php -------------------------------------------------------------------------------- /simple/php/introduce-assertion_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/introduce-assertion_before.php -------------------------------------------------------------------------------- /simple/php/introduce-foreign-method_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/introduce-foreign-method_after.php -------------------------------------------------------------------------------- /simple/php/introduce-foreign-method_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/introduce-foreign-method_before.php -------------------------------------------------------------------------------- /simple/php/introduce-null-object_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/introduce-null-object_after.php -------------------------------------------------------------------------------- /simple/php/introduce-null-object_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/introduce-null-object_before.php -------------------------------------------------------------------------------- /simple/php/move-method_isolate-switch_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/move-method_isolate-switch_after.php -------------------------------------------------------------------------------- /simple/php/move-method_isolate-switch_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/move-method_isolate-switch_before.php -------------------------------------------------------------------------------- /simple/php/preserve-whole-object_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/preserve-whole-object_after.php -------------------------------------------------------------------------------- /simple/php/preserve-whole-object_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/preserve-whole-object_before.php -------------------------------------------------------------------------------- /simple/php/pull-up-constructor-body_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/pull-up-constructor-body_after.php -------------------------------------------------------------------------------- /simple/php/pull-up-constructor-body_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/pull-up-constructor-body_before.php -------------------------------------------------------------------------------- /simple/php/remove-assignments-to-parameters_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/remove-assignments-to-parameters_after.php -------------------------------------------------------------------------------- /simple/php/remove-assignments-to-parameters_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/remove-assignments-to-parameters_before.php -------------------------------------------------------------------------------- /simple/php/rename-mehod_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/rename-mehod_after.php -------------------------------------------------------------------------------- /simple/php/rename-mehod_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/rename-mehod_before.php -------------------------------------------------------------------------------- /simple/php/replace-array-with-object_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-array-with-object_after.php -------------------------------------------------------------------------------- /simple/php/replace-array-with-object_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-array-with-object_before.php -------------------------------------------------------------------------------- /simple/php/replace-conditional-with-polymorphism_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-conditional-with-polymorphism_after.php -------------------------------------------------------------------------------- /simple/php/replace-conditional-with-polymorphism_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-conditional-with-polymorphism_before.php -------------------------------------------------------------------------------- /simple/php/replace-constructor-with-factory-method_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-constructor-with-factory-method_after.php -------------------------------------------------------------------------------- /simple/php/replace-constructor-with-factory-method_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-constructor-with-factory-method_before.php -------------------------------------------------------------------------------- /simple/php/replace-error-code-with-exception_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-error-code-with-exception_after.php -------------------------------------------------------------------------------- /simple/php/replace-error-code-with-exception_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-error-code-with-exception_before.php -------------------------------------------------------------------------------- /simple/php/replace-exception-with-test_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-exception-with-test_after.php -------------------------------------------------------------------------------- /simple/php/replace-exception-with-test_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-exception-with-test_before.php -------------------------------------------------------------------------------- /simple/php/replace-magic-number-with-symbolic-constant_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-magic-number-with-symbolic-constant_after.php -------------------------------------------------------------------------------- /simple/php/replace-magic-number-with-symbolic-constant_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-magic-number-with-symbolic-constant_before.php -------------------------------------------------------------------------------- /simple/php/replace-method-with-method-object_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-method-with-method-object_after.php -------------------------------------------------------------------------------- /simple/php/replace-method-with-method-object_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-method-with-method-object_before.php -------------------------------------------------------------------------------- /simple/php/replace-nested-conditional-with-guard-clauses_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-nested-conditional-with-guard-clauses_after.php -------------------------------------------------------------------------------- /simple/php/replace-nested-conditional-with-guard-clauses_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-nested-conditional-with-guard-clauses_before.php -------------------------------------------------------------------------------- /simple/php/replace-parameter-with-explicit-methods_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-parameter-with-explicit-methods_after.php -------------------------------------------------------------------------------- /simple/php/replace-parameter-with-explicit-methods_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-parameter-with-explicit-methods_before.php -------------------------------------------------------------------------------- /simple/php/replace-parameter-with-method-call_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-parameter-with-method-call_after.php -------------------------------------------------------------------------------- /simple/php/replace-parameter-with-method-call_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-parameter-with-method-call_before.php -------------------------------------------------------------------------------- /simple/php/replace-temp-with-query_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-temp-with-query_after.php -------------------------------------------------------------------------------- /simple/php/replace-temp-with-query_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/replace-temp-with-query_before.php -------------------------------------------------------------------------------- /simple/php/self-encapsulate-field_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/self-encapsulate-field_after.php -------------------------------------------------------------------------------- /simple/php/self-encapsulate-field_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/self-encapsulate-field_before.php -------------------------------------------------------------------------------- /simple/php/split-temporary-variable_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/split-temporary-variable_after.php -------------------------------------------------------------------------------- /simple/php/split-temporary-variable_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/split-temporary-variable_before.php -------------------------------------------------------------------------------- /simple/php/substitute-algorithm_after.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/substitute-algorithm_after.php -------------------------------------------------------------------------------- /simple/php/substitute-algorithm_before.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/php/substitute-algorithm_before.php -------------------------------------------------------------------------------- /simple/python/consolidate-conditional-expression_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/consolidate-conditional-expression_after.py -------------------------------------------------------------------------------- /simple/python/consolidate-conditional-expression_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/consolidate-conditional-expression_before.py -------------------------------------------------------------------------------- /simple/python/consolidate-duplicate-conditional-fragments_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/consolidate-duplicate-conditional-fragments_after.py -------------------------------------------------------------------------------- /simple/python/consolidate-duplicate-conditional-fragments_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/consolidate-duplicate-conditional-fragments_before.py -------------------------------------------------------------------------------- /simple/python/decompose-conditional_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/decompose-conditional_after.py -------------------------------------------------------------------------------- /simple/python/decompose-conditional_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/decompose-conditional_before.py -------------------------------------------------------------------------------- /simple/python/extract-class_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/extract-class_after.py -------------------------------------------------------------------------------- /simple/python/extract-class_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/extract-class_before.py -------------------------------------------------------------------------------- /simple/python/extract-method_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/extract-method_after.py -------------------------------------------------------------------------------- /simple/python/extract-method_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/extract-method_before.py -------------------------------------------------------------------------------- /simple/python/extract-variable_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/extract-variable_after.py -------------------------------------------------------------------------------- /simple/python/extract-variable_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/extract-variable_before.py -------------------------------------------------------------------------------- /simple/python/inline-method_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/inline-method_after.py -------------------------------------------------------------------------------- /simple/python/inline-method_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/inline-method_before.py -------------------------------------------------------------------------------- /simple/python/inline-temp_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/inline-temp_after.py -------------------------------------------------------------------------------- /simple/python/inline-temp_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/inline-temp_before.py -------------------------------------------------------------------------------- /simple/python/introduce-assertion_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/introduce-assertion_after.py -------------------------------------------------------------------------------- /simple/python/introduce-assertion_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/introduce-assertion_before.py -------------------------------------------------------------------------------- /simple/python/introduce-foreign-method_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/introduce-foreign-method_after.py -------------------------------------------------------------------------------- /simple/python/introduce-foreign-method_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/introduce-foreign-method_before.py -------------------------------------------------------------------------------- /simple/python/introduce-null-object_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/introduce-null-object_after.py -------------------------------------------------------------------------------- /simple/python/introduce-null-object_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/introduce-null-object_before.py -------------------------------------------------------------------------------- /simple/python/preserve-whole-object_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/preserve-whole-object_after.py -------------------------------------------------------------------------------- /simple/python/preserve-whole-object_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/preserve-whole-object_before.py -------------------------------------------------------------------------------- /simple/python/pull-up-constructor-body_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/pull-up-constructor-body_after.py -------------------------------------------------------------------------------- /simple/python/pull-up-constructor-body_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/pull-up-constructor-body_before.py -------------------------------------------------------------------------------- /simple/python/remove-assignments-to-parameters_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/remove-assignments-to-parameters_after.py -------------------------------------------------------------------------------- /simple/python/remove-assignments-to-parameters_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/remove-assignments-to-parameters_before.py -------------------------------------------------------------------------------- /simple/python/replace-array-with-object_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-array-with-object_after.py -------------------------------------------------------------------------------- /simple/python/replace-array-with-object_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-array-with-object_before.py -------------------------------------------------------------------------------- /simple/python/replace-conditional-with-polymorphism_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-conditional-with-polymorphism_after.py -------------------------------------------------------------------------------- /simple/python/replace-conditional-with-polymorphism_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-conditional-with-polymorphism_before.py -------------------------------------------------------------------------------- /simple/python/replace-error-code-with-exception_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-error-code-with-exception_after.py -------------------------------------------------------------------------------- /simple/python/replace-error-code-with-exception_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-error-code-with-exception_before.py -------------------------------------------------------------------------------- /simple/python/replace-exception-with-test_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-exception-with-test_after.py -------------------------------------------------------------------------------- /simple/python/replace-exception-with-test_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-exception-with-test_before.py -------------------------------------------------------------------------------- /simple/python/replace-magic-number-with-symbolic-constant_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-magic-number-with-symbolic-constant_after.py -------------------------------------------------------------------------------- /simple/python/replace-magic-number-with-symbolic-constant_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-magic-number-with-symbolic-constant_before.py -------------------------------------------------------------------------------- /simple/python/replace-method-with-method-object_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-method-with-method-object_after.py -------------------------------------------------------------------------------- /simple/python/replace-method-with-method-object_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-method-with-method-object_before.py -------------------------------------------------------------------------------- /simple/python/replace-nested-conditional-with-guard-clauses_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-nested-conditional-with-guard-clauses_after.py -------------------------------------------------------------------------------- /simple/python/replace-nested-conditional-with-guard-clauses_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-nested-conditional-with-guard-clauses_before.py -------------------------------------------------------------------------------- /simple/python/replace-parameter-with-explicit-methods_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-parameter-with-explicit-methods_after.py -------------------------------------------------------------------------------- /simple/python/replace-parameter-with-explicit-methods_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-parameter-with-explicit-methods_before.py -------------------------------------------------------------------------------- /simple/python/replace-parameter-with-method-call_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-parameter-with-method-call_after.py -------------------------------------------------------------------------------- /simple/python/replace-parameter-with-method-call_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-parameter-with-method-call_before.py -------------------------------------------------------------------------------- /simple/python/replace-temp-with-query_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-temp-with-query_after.py -------------------------------------------------------------------------------- /simple/python/replace-temp-with-query_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/replace-temp-with-query_before.py -------------------------------------------------------------------------------- /simple/python/split-temporary-variable_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/split-temporary-variable_after.py -------------------------------------------------------------------------------- /simple/python/split-temporary-variable_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/split-temporary-variable_before.py -------------------------------------------------------------------------------- /simple/python/substitute-algorithm_after.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/substitute-algorithm_after.py -------------------------------------------------------------------------------- /simple/python/substitute-algorithm_before.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/python/substitute-algorithm_before.py -------------------------------------------------------------------------------- /simple/typescript/consolidate-conditional-expression_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/consolidate-conditional-expression_after.ts -------------------------------------------------------------------------------- /simple/typescript/consolidate-conditional-expression_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/consolidate-conditional-expression_before.ts -------------------------------------------------------------------------------- /simple/typescript/consolidate-duplicate-conditional-fragments_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/consolidate-duplicate-conditional-fragments_after.ts -------------------------------------------------------------------------------- /simple/typescript/consolidate-duplicate-conditional-fragments_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/consolidate-duplicate-conditional-fragments_before.ts -------------------------------------------------------------------------------- /simple/typescript/decompose-conditional_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/decompose-conditional_after.ts -------------------------------------------------------------------------------- /simple/typescript/decompose-conditional_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/decompose-conditional_before.ts -------------------------------------------------------------------------------- /simple/typescript/encapsulate-field_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/encapsulate-field_after.ts -------------------------------------------------------------------------------- /simple/typescript/encapsulate-field_before.ts: -------------------------------------------------------------------------------- 1 | class Person { 2 | name: string; 3 | } -------------------------------------------------------------------------------- /simple/typescript/extract-class_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/extract-class_after.ts -------------------------------------------------------------------------------- /simple/typescript/extract-class_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/extract-class_before.ts -------------------------------------------------------------------------------- /simple/typescript/extract-method_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/extract-method_after.ts -------------------------------------------------------------------------------- /simple/typescript/extract-method_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/extract-method_before.ts -------------------------------------------------------------------------------- /simple/typescript/extract-method_decompose-loop_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/extract-method_decompose-loop_after.ts -------------------------------------------------------------------------------- /simple/typescript/extract-method_decompose-loop_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/extract-method_decompose-loop_before.ts -------------------------------------------------------------------------------- /simple/typescript/extract-method_isolate-switch_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/extract-method_isolate-switch_after.ts -------------------------------------------------------------------------------- /simple/typescript/extract-method_isolate-switch_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/extract-method_isolate-switch_before.ts -------------------------------------------------------------------------------- /simple/typescript/extract-variable_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/extract-variable_after.ts -------------------------------------------------------------------------------- /simple/typescript/extract-variable_after2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/extract-variable_after2.ts -------------------------------------------------------------------------------- /simple/typescript/extract-variable_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/extract-variable_before.ts -------------------------------------------------------------------------------- /simple/typescript/extract-variable_before2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/extract-variable_before2.ts -------------------------------------------------------------------------------- /simple/typescript/inline-method_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/inline-method_after.ts -------------------------------------------------------------------------------- /simple/typescript/inline-method_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/inline-method_before.ts -------------------------------------------------------------------------------- /simple/typescript/inline-temp_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/inline-temp_after.ts -------------------------------------------------------------------------------- /simple/typescript/inline-temp_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/inline-temp_before.ts -------------------------------------------------------------------------------- /simple/typescript/introduce-assertion_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/introduce-assertion_after.ts -------------------------------------------------------------------------------- /simple/typescript/introduce-assertion_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/introduce-assertion_before.ts -------------------------------------------------------------------------------- /simple/typescript/introduce-foreign-method_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/introduce-foreign-method_after.ts -------------------------------------------------------------------------------- /simple/typescript/introduce-foreign-method_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/introduce-foreign-method_before.ts -------------------------------------------------------------------------------- /simple/typescript/introduce-null-object_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/introduce-null-object_after.ts -------------------------------------------------------------------------------- /simple/typescript/introduce-null-object_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/introduce-null-object_before.ts -------------------------------------------------------------------------------- /simple/typescript/move-method_isolate-switch_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/move-method_isolate-switch_after.ts -------------------------------------------------------------------------------- /simple/typescript/move-method_isolate-switch_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/move-method_isolate-switch_before.ts -------------------------------------------------------------------------------- /simple/typescript/preserve-whole-object_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/preserve-whole-object_after.ts -------------------------------------------------------------------------------- /simple/typescript/preserve-whole-object_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/preserve-whole-object_before.ts -------------------------------------------------------------------------------- /simple/typescript/pull-up-constructor-body_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/pull-up-constructor-body_after.ts -------------------------------------------------------------------------------- /simple/typescript/pull-up-constructor-body_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/pull-up-constructor-body_before.ts -------------------------------------------------------------------------------- /simple/typescript/remove-assignments-to-parameters_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/remove-assignments-to-parameters_after.ts -------------------------------------------------------------------------------- /simple/typescript/remove-assignments-to-parameters_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/remove-assignments-to-parameters_before.ts -------------------------------------------------------------------------------- /simple/typescript/rename-mehod_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/rename-mehod_after.ts -------------------------------------------------------------------------------- /simple/typescript/rename-mehod_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/rename-mehod_before.ts -------------------------------------------------------------------------------- /simple/typescript/replace-array-with-object_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-array-with-object_after.ts -------------------------------------------------------------------------------- /simple/typescript/replace-array-with-object_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-array-with-object_before.ts -------------------------------------------------------------------------------- /simple/typescript/replace-conditional-with-polymorphism_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-conditional-with-polymorphism_after.ts -------------------------------------------------------------------------------- /simple/typescript/replace-conditional-with-polymorphism_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-conditional-with-polymorphism_before.ts -------------------------------------------------------------------------------- /simple/typescript/replace-constructor-with-factory-method_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-constructor-with-factory-method_after.ts -------------------------------------------------------------------------------- /simple/typescript/replace-constructor-with-factory-method_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-constructor-with-factory-method_before.ts -------------------------------------------------------------------------------- /simple/typescript/replace-error-code-with-exception_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-error-code-with-exception_after.ts -------------------------------------------------------------------------------- /simple/typescript/replace-error-code-with-exception_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-error-code-with-exception_before.ts -------------------------------------------------------------------------------- /simple/typescript/replace-exception-with-test_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-exception-with-test_after.ts -------------------------------------------------------------------------------- /simple/typescript/replace-exception-with-test_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-exception-with-test_before.ts -------------------------------------------------------------------------------- /simple/typescript/replace-magic-number-with-symbolic-constant_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-magic-number-with-symbolic-constant_after.ts -------------------------------------------------------------------------------- /simple/typescript/replace-magic-number-with-symbolic-constant_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-magic-number-with-symbolic-constant_before.ts -------------------------------------------------------------------------------- /simple/typescript/replace-method-with-method-object_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-method-with-method-object_after.ts -------------------------------------------------------------------------------- /simple/typescript/replace-method-with-method-object_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-method-with-method-object_before.ts -------------------------------------------------------------------------------- /simple/typescript/replace-nested-conditional-with-guard-clauses_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-nested-conditional-with-guard-clauses_after.ts -------------------------------------------------------------------------------- /simple/typescript/replace-nested-conditional-with-guard-clauses_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-nested-conditional-with-guard-clauses_before.ts -------------------------------------------------------------------------------- /simple/typescript/replace-parameter-with-explicit-methods_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-parameter-with-explicit-methods_after.ts -------------------------------------------------------------------------------- /simple/typescript/replace-parameter-with-explicit-methods_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-parameter-with-explicit-methods_before.ts -------------------------------------------------------------------------------- /simple/typescript/replace-parameter-with-method-call_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-parameter-with-method-call_after.ts -------------------------------------------------------------------------------- /simple/typescript/replace-parameter-with-method-call_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-parameter-with-method-call_before.ts -------------------------------------------------------------------------------- /simple/typescript/replace-temp-with-query_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-temp-with-query_after.ts -------------------------------------------------------------------------------- /simple/typescript/replace-temp-with-query_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/replace-temp-with-query_before.ts -------------------------------------------------------------------------------- /simple/typescript/self-encapsulate-field_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/self-encapsulate-field_after.ts -------------------------------------------------------------------------------- /simple/typescript/self-encapsulate-field_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/self-encapsulate-field_before.ts -------------------------------------------------------------------------------- /simple/typescript/split-temporary-variable_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/split-temporary-variable_after.ts -------------------------------------------------------------------------------- /simple/typescript/split-temporary-variable_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/split-temporary-variable_before.ts -------------------------------------------------------------------------------- /simple/typescript/substitute-algorithm_after.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/substitute-algorithm_after.ts -------------------------------------------------------------------------------- /simple/typescript/substitute-algorithm_before.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RefactoringGuru/refactoring-examples/HEAD/simple/typescript/substitute-algorithm_before.ts --------------------------------------------------------------------------------