Skip to content

David Peñasco, Ibai Moya, Nicolas Pérez#11

Open
David52PG wants to merge 20 commits intoclopezno:masterfrom
ibaimoya:master
Open

David Peñasco, Ibai Moya, Nicolas Pérez#11
David52PG wants to merge 20 commits intoclopezno:masterfrom
ibaimoya:master

Conversation

@David52PG
Copy link

No description provided.

ibaimoya and others added 20 commits May 15, 2025 17:36
Extract method 'private double amountFor(Rental aRental)' from 'ubu.gii.dass.refactoring.Customer.statement()' to 'ubu.gii.dass.refactoring.Customer'
- Original project: 'refactoring-fowler-example'
- Method name: 'amountFor'
- Destination type: 'ubu.gii.dass.refactoring.Customer'
- Declared visibility: 'private'
Revertido commit anterior debido a un error al referirse al issue correspondiente.
Extract method 'private double amountFor(Rental aRental)' from 'ubu.gii.dass.refactoring.Customer.statement()' to 'ubu.gii.dass.refactoring.Customer'
- Original project: 'refactoring-fowler-example'
- Method name: 'amountFor'
- Destination type: 'ubu.gii.dass.refactoring.Customer'
- Declared visibility: 'private'
…enterPoints()

Extract method 'private int incrementFrequentRenterPoints(int frequentRenterPoints, Rental each)' from 'ubu.gii.dass.refactoring.Customer.statement()' to 'ubu.gii.dass.refactoring.Customer'
- Original project: 'refactor_buena'
- Method name: 'incrementFrequentRenterPoints'
- Destination type: 'ubu.gii.dass.refactoring.Customer'
- Declared visibility: 'private'
Move method 'ubu.gii.dass.refactoring.Customer.amountFor(...)' to 'ubu.gii.dass.refactoring.Customer.amountFor(...).aRental'
- Original project: 'refactoring-fowler-example'
- Original element: 'ubu.gii.dass.refactoring.Customer.amountFor(...)'
- Moved method: N/A
- Target element: 'ubu.gii.dass.refactoring.Customer.amountFor(...).aRental'
- Method name: 'amountFor'
…RenterPoints, Rental each)' to 'updatePoints(int frequentRenterPoints, Rental each)'

Change method 'private int ubu.gii.dass.refactoring.Customer.incrementFrequentRenterPoints(int frequentRenterPoints, Rental each)' to 'private int updatePoints(int frequentRenterPoints, Rental each)'
- Original project: 'refactoring-fowler-example'
- Original element: 'ubu.gii.dass.refactoring.Customer.incrementFrequentRenterPoints(...)'
- New name: 'updatePoints'
Change method 'double ubu.gii.dass.refactoring.Rental.amountFor()' to 'public double getCharge()'
- Original project: 'refactoring-fowler-example'
- Original element: 'ubu.gii.dass.refactoring.Rental.amountFor()'
- New name: 'getCharge'
- New visibility: 'public'
cada clase que herede precio sera un tipo de precio de peliculas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants