beanshell / beanshell

Beanshell scripting language
Apache License 2.0
815 stars 183 forks source link

Fix string constants compare #714

Closed nickl- closed 1 year ago

nickl- commented 1 year ago

Fixes #343 also intern string concatenation if internStrings flag is set.

codecov[bot] commented 1 year ago

Codecov Report

Merging #714 (f345606) into master (7a5f878) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #714      +/-   ##
============================================
+ Coverage     73.43%   73.44%   +0.01%     
- Complexity     2969     2970       +1     
============================================
  Files           108      108              
  Lines          9297     9298       +1     
  Branches       1827     1828       +1     
============================================
+ Hits           6827     6829       +2     
+ Misses         2118     2117       -1     
  Partials        352      352              
Flag Coverage Δ
unittests 73.44% <100.00%> (+0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/main/java/bsh/Operators.java 95.08% <100.00%> (+0.01%) :arrow_up:
src/main/java/bsh/classpath/BshClassLoader.java 82.05% <0.00%> (+2.56%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more