Skip to content

refactoring: drop java code#1937

Merged
alexsavulescu merged 2 commits into
masterfrom
nrnjava
Jul 31, 2022
Merged

refactoring: drop java code#1937
alexsavulescu merged 2 commits into
masterfrom
nrnjava

Conversation

@alexsavulescu

Copy link
Copy Markdown
Member

This is more of a question, shall we drop java support? Also curious about coverage.

@alexsavulescu alexsavulescu requested a review from nrnhines July 30, 2022 09:02
@azure-pipelines

Copy link
Copy Markdown

✔️ b885c56 -> Azure artifacts URL

@codecov-commenter

codecov-commenter commented Jul 30, 2022

Copy link
Copy Markdown

Codecov Report

Merging #1937 (5ef0db8) into master (5a67957) will increase coverage by 0.13%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1937      +/-   ##
==========================================
+ Coverage   47.19%   47.33%   +0.13%     
==========================================
  Files         543      543              
  Lines      112939   112603     -336     
==========================================
- Hits        53307    53306       -1     
+ Misses      59632    59297     -335     
Impacted Files Coverage Δ
src/ivoc/apwindow.h 0.00% <ø> (ø)
src/ivoc/ivocmain.cpp 74.28% <ø> (ø)
src/ivoc/pwman.cpp 2.47% <0.00%> (+0.26%) ⬆️
src/oc/fileio.cpp 77.73% <ø> (+1.14%) ⬆️
src/oc/hoc_init.cpp 91.86% <ø> (ø)
src/oc/hoc_oop.cpp 74.35% <ø> (+7.16%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@nrnhines nrnhines left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't see any reason not to approve. It will remain in the attic. This isn't the last candidate for removal in the same way. The last substantive change was

commit 324b821a0a8dfef1da8d56748d6ae043e329eb0b
Author: Michael Hines <michael.hines@yale.edu>
Date:   Thu Oct 22 11:07:01 2015 -0400

    Resurrect Java support for linux and mac using configure option --with-nrnjava
    Note that LD_LIBRARY_PATH will likely be necessary to find libjvm and
    that path can be determined by searching for -ljvm in config.log

and I never implemented configuration with cmake.

There is some mention of the "Java catacomb channel builder tool" in docs/hoc/modelspec/programmatic/kschan.rst of which KSChan is a slight generalization. But I don't think it is worth the bother of editing.

@nrnhines

Copy link
Copy Markdown
Member

Also curious about coverage.

Looks like 336 executable lines were removed (and no files). I guess some old code was surrounded by #if JAVA2NRN

@azure-pipelines

Copy link
Copy Markdown

✔️ 5ef0db8 -> Azure artifacts URL

@alexsavulescu alexsavulescu merged commit 5a8821b into master Jul 31, 2022
@alkino alkino deleted the nrnjava branch August 1, 2022 14:16
iomaganaris pushed a commit that referenced this pull request Nov 9, 2022
* refactoring: drop java code

* Update removed_features.rst
nrnhines added a commit that referenced this pull request Nov 9, 2022
* refactoring: drop java code (#1937)

* Update removed_features.rst

* Fine tune clang-format and fix CI (#2041)

* Delete return statement to avoid ASan error.

* CVode.poolshrink(1) deletes unused mechanism pools. (#2033)

* Pin bokeh<3, don't pin matplotlib (#2048)

* Add list(...) for new matplotlib.

Co-authored-by: Alexandru Săvulescu <alexandru.savulescu@epfl.ch>
Co-authored-by: Olli Lupton <oliver.lupton@epfl.ch>
Co-authored-by: nrnhines <michael.hines@yale.edu>
alexsavulescu added a commit that referenced this pull request Dec 15, 2022
* refactoring: drop java code (#1937)

* Update removed_features.rst

* Fine tune clang-format and fix CI (#2041)

* Delete return statement to avoid ASan error.

* CVode.poolshrink(1) deletes unused mechanism pools. (#2033)

* Pin bokeh<3, don't pin matplotlib (#2048)

* Add list(...) for new matplotlib.

Co-authored-by: Alexandru Săvulescu <alexandru.savulescu@epfl.ch>
Co-authored-by: Olli Lupton <oliver.lupton@epfl.ch>
Co-authored-by: nrnhines <michael.hines@yale.edu>
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