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

Refactor methods to correct behavior and add constructor #94

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nathaliafab
Copy link

Este PR corrige os métodos normalizeWhiteSpace(), removeDuplicateWords() e cleanText(). Também adiciona um novo construtor à classe DFPBaseSample que aceita um parâmetro String text.

@@ -6,15 +6,18 @@
public class DFPBaseSample {
private String text;

public DFPBaseSample(String text){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tem que executar os testes que usam esse arquivo como entrada. Principalmente porque os números das linhas foram alterados. Verificar se o teste continua passando e alterar as linhas.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@galilasmb podes fazer isso? Nathalia é da parte de testes, só está ajudando a gente de estática com esses ajustes.

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.

4 participants