mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
avoided lazy inialization
This commit is contained in:
parent
6a580994fb
commit
892d5cee20
@ -41,16 +41,13 @@ import java.util.List;
|
||||
public class Profiles {
|
||||
|
||||
@XmlElement(name = "Profile")
|
||||
protected List<String> profile;
|
||||
protected List<String> profile = new ArrayList<String>();;
|
||||
|
||||
/**
|
||||
* Gets the value of the profile property.
|
||||
*
|
||||
*/
|
||||
public List<String> getProfile() {
|
||||
if (profile == null) {
|
||||
profile = new ArrayList<String>();
|
||||
}
|
||||
return this.profile;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user