-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 for issue 8198, 8133 #8229
Fix for issue 8198, 8133 #8229
Conversation
"Update SaveOrderConfig.java" is about #8133 Kopper's comment about WARN in #8133 gave me a clue. OrderType enum has three things. SPECIFIED, ORIGINAL, TABLE. So I attach 'toUpperCase' method to parameter of valueof function. |
Sorry @koppor . Request for you is my mistake. :( |
Now the preferences variable 'EXPORT_IN_ORIGINAL_ORDER` is ignored.
Also: the default values need to be changed in the toUppercase may sound right, although i thought that valueof is case insensitive... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please adress my remarks.
If 'fromBoolean' method is defined as your suggestion, I think that default value of EXPORT_IN_ORIGINAL_ORDER set 'TRUE' according to your comment. Because default value of EXPORT_IN_ORIGINAL_ORDER and EXPORT_IN_SPECIFIED_ORDER is all 'FALSE', // export order
// defaults.put(EXPORT_IN_ORIGINAL_ORDER, Boolean.FALSE);
defaults.put(EXPORT_IN_ORIGINAL_ORDER, Boolean.TRUE);
defaults.put(EXPORT_IN_SPECIFIED_ORDER, Boolean.FALSE); Is it okay? |
Yes, that sound right. Thanks. |
@calixtus I did it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks. Looking forward to see more PRs. 😄
Thanks for accepting my PR!! |
* upstream/main: (181 commits) Add of ADRs 22 and 23 (#8256) [Bot] Update CSL styles (#8245) Replace styfle/cancel-workflow-action@0.9.1 by GitHub's "concurrency" feature (#8243) Bump gittools/actions from 0.9.10 to 0.9.11 (#8248) Bump commons-cli from 1.4 to 1.5.0 (#8250) Bump byte-buddy-parent from 1.12.0 to 1.12.1 (#8249) Bump antlr4 from 4.9.2 to 4.9.3 (#8251) Bump archunit-junit5-api from 0.21.0 to 0.22.0 (#8252) Fix search: NOT binds more than AND (#8241) New Crowdin updates (#8240) Make PdfGrobiImporterTest as FetcherTest Oobranch g : add actions (#7792) Fix mixed CRLF / CR (#8238) Fix "Library has changed externally" with CRLF markers (#8239) Fix for issue 8198, 8133 (#8229) Added more unit tests in AuthorTest (#8214) Add confirmation dialog for empty entries in JabRef (#8218) Fix entry editor column visibility (#8232) Use regexp to remove non-ASCII characters from DOI and inform user when data for valid DOI does not exist #8127 (#8228) Fix exception for search flags (#8237) ...
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)I saw the frombooleans method.
'frombooleans' method has 2 parameters.
First parameter needs to be given 'boolean SpecifiedOrder'.
Second parameter needs to be given 'boolean TableOrder'.
Second parameter of previous code was given 'boolean OrigianlOrder'.
So I changed that part.
Fixes #8198
About "JabRefPreferences.java", there is no variable about 'TABLE OrderType'.
So I make it.
Update SaveOrderConfig.java to fix #8133