Project

General

Profile

« Previous | Next » 

Revision 40a41f9f

Added by Andreas Müller almost 4 years ago

cleanup

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/security/AuthenticationSourceProvider.java
22 22
 * variable {@code eu.etaxonomy.taxeditor.security.userRoles}
23 23
 *
24 24
 * @author a.kohlbecker
25
 *
26 25
 */
27 26
public class AuthenticationSourceProvider extends AbstractSourceProvider implements Observer {
28 27

  
......
68 67
		return stateMap;
69 68
	}
70 69

  
71
	/**
72
     * @return
73
     */
74 70
    private String getCurrentAutheticationName() {
75 71
        Authentication authentication = CdmStore.getCurrentAuthentiation();
76 72
        if (authentication != null) {
......
96 92
	 */
97 93
	private List<Role> getCurrentAuthenticationsRoles() {
98 94

  
99
		List<Role> roles = new ArrayList<Role>();
95
		List<Role> roles = new ArrayList<>();
100 96
		Authentication authentication = CdmStore.getCurrentAuthentiation();
101 97
		if (authentication == null) {
102 98
			return roles;

Also available in: Unified diff