Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tomcat
/ addRole
Method
addRole
java/org/apache/catalina/users/GenericUser.java:121–126 ·
view source on GitHub ↗
(Role role)
Source
from the content-addressed store, hash-verified
119
120
121
@Override
122
public
void
addRole(Role role) {
123
if
(roles.addIfAbsent(role)) {
124
database.modifiedUser(this);
125
}
126
}
127
128
129
@Override
Callers
nothing calls this directly
Calls
1
modifiedUser
Method · 0.65
Tested by
no test coverage detected