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

ServerEnvironment improvements #1336

Merged
merged 8 commits into from
Dec 1, 2020
Merged

ServerEnvironment improvements #1336

merged 8 commits into from
Dec 1, 2020

Conversation

alexander-yevsyukov
Copy link
Contributor

@alexander-yevsyukov alexander-yevsyukov commented Dec 1, 2020

This PR finishes addressing #1315. Notable changes:

  • Deprecated API in ServerEnvironment was removed.
  • Introduced shortcut method for obtaining current environment type from ServerEnvironment instance.

@alexander-yevsyukov alexander-yevsyukov self-assigned this Dec 1, 2020
@alexander-yevsyukov alexander-yevsyukov marked this pull request as ready for review December 1, 2020 16:09
Copy link
Contributor

@yuri-sergiichuk yuri-sergiichuk left a comment

Choose a reason for hiding this comment

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

@alexander-yevsyukov please consider the comments below. Also, I may be totally blind, but can you please pinpoint where is the mentioned shortcut method? I see no additions to the ServerEnvironment class at all.

.idea/codeStyles/Project.xml Outdated Show resolved Hide resolved
.idea/inspectionProfiles/Project_Default.xml Outdated Show resolved Hide resolved
.idea/misc.xml Outdated Show resolved Hide resolved
.idea/misc.xml Outdated Show resolved Hide resolved
pom.xml Show resolved Hide resolved
Copy link
Contributor

@yuri-sergiichuk yuri-sergiichuk left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented Dec 1, 2020

Codecov Report

Merging #1336 (4aaff46) into master (36f85df) will increase coverage by 0.07%.
The diff coverage is 25.00%.

@@             Coverage Diff              @@
##             master    #1336      +/-   ##
============================================
+ Coverage     90.91%   90.99%   +0.07%     
  Complexity     4771     4771              
============================================
  Files           614      614              
  Lines         15165    15143      -22     
  Branches        859      860       +1     
============================================
- Hits          13788    13780       -8     
+ Misses         1105     1088      -17     
- Partials        272      275       +3     

@alexander-yevsyukov alexander-yevsyukov merged commit 25fa0a2 into master Dec 1, 2020
@alexander-yevsyukov alexander-yevsyukov deleted the run-when branch December 1, 2020 17:40
@yuri-sergiichuk yuri-sergiichuk mentioned this pull request Dec 14, 2020
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