Removed external dependency in logic#1934
Conversation
0f7652f to
55dae56
Compare
| JDialog diag = new JDialog(ImportInspectionDialog.this, true); | ||
| JabRefExecutorService.INSTANCE.execute( | ||
| net.sf.jabref.external.AutoSetLinks.autoSetLinks(entry, localModel, bibDatabaseContext, e -> { | ||
| net.sf.jabref.gui.externalfiles.AutoSetLinks.autoSetLinks(entry, localModel, bibDatabaseContext, e -> { |
There was a problem hiding this comment.
There was a local class with the same name. I renamed that.
|
LGTM 👍 |
|
LGTM as well! And I am in favor of the separation. Just for clarification before merging: Do you still intend to move Both ways would be fine in a sense. If those classes are exclusively used in gui, it is fine to keep them there, even if they are could be refactored in a gui-independent fashion. Before merging the build has to succeed of course. |
|
The plan is to keep it as is as it solves the problem. One may indeed think of different solutions regarding the amount of packages and there is no clear border, especially considering Regarding the builds: clearly I picked the wrong field in |
|
Correct field. Bad at reading... |
96d7b36 to
91367b5
Compare
91367b5 to
8d89bfa
Compare
|
Not sure why the Circle CI-tests are not executed, but the things are fixed now anyway. |
|
I closed and reopened the PR to give travis another chance to build the branch. |
|
Good idea and it worked! The build succeeded, so we can merge it. |
* master: Remove obsolete wrapper task Added error dialog when setting invalid main file directory (#1921) Add filteringCharset = 'UTF-8' (#1945) Include https://github.com/grimes2 Searchbar across all bib files instead each having its own (#1549) Some OO/LO cleanups (#1927) Update link Removed external dependency in logic (#1934)
* master: Remove obsolete wrapper task Added error dialog when setting invalid main file directory (JabRef#1921) Add filteringCharset = 'UTF-8' (JabRef#1945) Include https://github.com/grimes2 Searchbar across all bib files instead each having its own (JabRef#1549) Some OO/LO cleanups (JabRef#1927) Update link Removed external dependency in logic (JabRef#1934)
* Removed external dependency in logic * Fixed comments and move one class
An alternative to #1924 : hard coded
PSandPDFas file type names.Still some methods that can be removed in
ExternalFileType(the original thing done in #1924 .I created three
guipackages:externalfiletypesfor things related toExternalFileTypeexternalfilesfor things (primarily) related to the actual filesfilelistfor things related toFileList