Skip to content
Unverified Commit 8cb33513 authored by Oleg Nenashev's avatar Oleg Nenashev Committed by GitHub
Browse files

[JENKINS-47718] - Deprecate User#getUser(String) (#3114)

* [JENKINS-47718] - Deprecate User#getUser(String)

`User#getUser(String)` method causes lots of confusion for plugin developers. It implicitly creates a user if it cannot be found, and in many cases this is actually a not-expected behavior. This change deprecates the method and to creates a new `User#getOrCreate()` which is more explicit

* [JENKINS-47718] - Address comments from @jglick
parent d688c154
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment