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

Write all field keys in lower case #560

Merged
merged 2 commits into from
Dec 22, 2015
Merged

Write all field keys in lower case #560

merged 2 commits into from
Dec 22, 2015

Conversation

koppor
Copy link
Member

@koppor koppor commented Dec 21, 2015

Write all field keys in lower case. No more camel casing of field names. E.g., title is written instead of Title, howpublished instead of HowPublished, and doi instead of DOI. The configuration option Use camel case for field names (e.g., "HowPublished" instead of "howpublished") is gone.

Refs #116

import java.util.HashMap;
import java.util.Map;

class CamelCaser {
Copy link
Member

Choose a reason for hiding this comment

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

That class might have been useful as a future formatter, but nevermind. We can rewrite it if needed.

Copy link
Member Author

Choose a reason for hiding this comment

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

I also found the class a good example for good code. However, we decided to remove unused code. :neckbeard:

@koppor
Copy link
Member Author

koppor commented Dec 22, 2015

Maybe, the UI also has to display lower case values or should it use the (currently removed) CamelCase functionality? I don't like the current EntryUtil.capitalizeFirst solution (found in MainTableColumn.java).

@lenhard
Copy link
Member

lenhard commented Dec 22, 2015

In my opinion, it should use lower case, since we are standardizing on that. I'd say you are free to implement what you find more beautiful :)

@simonharrer
Copy link
Contributor

👍 on lower case.

lenhard added a commit that referenced this pull request Dec 22, 2015
Write all field keys in lower case
@lenhard lenhard merged commit 59cd034 into master Dec 22, 2015
@simonharrer simonharrer deleted the fieldnames_lowercase branch December 23, 2015 10:27
MrMachiei added a commit to MrMachiei/jabref that referenced this pull request Jan 14, 2024
MrMachiei added a commit to MrMachiei/jabref that referenced this pull request Jan 16, 2024
MrMachiei added a commit to MrMachiei/jabref that referenced this pull request Jan 16, 2024
MrMachiei added a commit to MrMachiei/jabref that referenced this pull request Jan 16, 2024
MrMachiei added a commit to MrMachiei/jabref that referenced this pull request Jan 20, 2024
MrMachiei added a commit to MrMachiei/jabref that referenced this pull request Jan 22, 2024
MrMachiei added a commit to MrMachiei/jabref that referenced this pull request Jan 22, 2024
MrMachiei added a commit to MrMachiei/jabref that referenced this pull request Jan 24, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jan 25, 2024
* BibTeX information in web search import screen. (#560)

* BibTeX information in web search import screen - add toggle button (#560)

* fixing style issues

* fixing some repo issues (#560)

* move logic to viewModel (#560)

* changing headers (#560)

* fix typo (#560)

* further changes... (#560)

* Refine text

---------

Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
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