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

Fix issue 9068 - Fixing letter capitalization after hyphen or dash between 2 terms. #9100

Closed
wants to merge 3 commits into from

Conversation

Luan-Cavalcante
Copy link

@Luan-Cavalcante Luan-Cavalcante commented Aug 28, 2022

What :
I implemented a change in the Word.java file so that I can capitalize titles, with the capitalize function, that have a hyphen or a dash inside two terms. Like enzyme-catalyzed.

Why :
To solve the issue [#9068].

Context:
I am currently studying tests in University and the Professor proposed a TDD application in JabRef.

  • Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

@calixtus
Copy link
Member

Hi @Luan-Cavalcante , thanks for your interest in jabref and your PR. On first look are some issues with your code.

  • please try to match our code style requirements, so we can keep our codebase consistent. We provide configs for Checkstyle and intellij idea. Please follow the instructions on setting up your workspace for jabref programming in our dev docs.
  • you deleted several lines in our changelog for no reason.
  • it seems like you hardcoded in some very few cases. Maybe there is another easy way to make this more generic?

Also I noticed that you and your colleagues from programming class all tried to solve the same issue. This is a bit sad, since this leads to a lot of lost work, as we will only include one solution in the final merge. Also it will put a lot of work on us, the maintainers, to review all the PRs. We love teaching open source programming, but we do this all in our spare time along our day jobs.
Please ask your professor to contact us, so we can talk about best practices that work with us and other programming classes for next time.

Thanks!

@Luan-Cavalcante
Copy link
Author

Luan-Cavalcante commented Sep 2, 2022 via email

@calixtus
Copy link
Member

calixtus commented Sep 2, 2022

Ok, thanks. No big deal.
JabRef is not just a simple open source java project, but is also dedicated to support teaching java and open source. See https://devdocs.jabref.org/teaching.html

Good luck with your studies!

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.

2 participants