Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override methods: toString #7

Open
estigma88 opened this issue May 30, 2020 · 2 comments
Open

Override methods: toString #7

estigma88 opened this issue May 30, 2020 · 2 comments
Assignees

Comments

@estigma88
Copy link
Collaborator

Ojo con imprimer informacion confidencial en el tostring
Defina que tantos datos deberian estar en el to string
Que orden se coloca
Tipos de formatos (JSON, String, XML)
System.out.println("Failed to connect to " + phoneNumber);

Uso de Lombok
Profundidad del to string? Que tantos hijos de los hijos de los hijos imprimir?

@HillmerCh HillmerCh changed the title Item 12: Always override toString Override methods: toString Jun 2, 2020
@LVSMix
Copy link
Collaborator

LVSMix commented Jun 15, 2020

Prueba de Issue

@estigma88
Copy link
Collaborator Author

Item 12: Always override toString, equals, hasCode
Ojo con imprimer información confidencial en el tostring
Defina qué tantos datos deberían estar en el to string
Que orden se coloca
Tipos de formatos (JSON, String, XML)
System.out.println("Failed to connect to " + phoneNumber);
Uso de Lombok
Profundidad del to string? Que tantos hijos de los hijos de los hijos imprimir?
Item 11: Always override hashCode when you override equals
Serialization, records, como crear el hasCode , CommonsLang

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

No branches or pull requests

3 participants