Skip to content

Commit

Permalink
refactor: remove unneeded variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
jgribonvald committed Oct 12, 2022
1 parent 60611e2 commit 4bcf963
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,9 @@ public List<String> getRestrictedDrivesGroupsContext(PortletRequest request) {


public void initializeServices(SharedUserPortletParameters userParameters) {

Map<String, FsAccess> rServers = this.restrictedServers;

if(userParameters.getDriveNames() != null) {
for(String driveName : userParameters.getDriveNames()) {
rServers.put(driveName, this.servers.get(driveName));
this.restrictedServers.put(driveName, this.servers.get(driveName));
}
}
isInitialized = true;
Expand Down

0 comments on commit 4bcf963

Please sign in to comment.