Skip to content
Snippets Groups Projects
Commit 98cc7556 authored by felmer's avatar felmer
Browse files

LMS-2146 bug fixed

SVN: 20441
parent b9a063b9
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ public class DisplaySettings implements ISerializable ...@@ -70,7 +70,7 @@ public class DisplaySettings implements ISerializable
private Map<String, Integer> panelSizeSettings = new HashMap<String, Integer>(); private Map<String, Integer> panelSizeSettings = new HashMap<String, Integer>();
private List<EntityVisit> visits = new ArrayList<EntityVisit>(); private List<EntityVisit> visits;
/** @deprecated Should be used only by DisplaySettingsManager. */ /** @deprecated Should be used only by DisplaySettingsManager. */
@Deprecated @Deprecated
...@@ -262,13 +262,17 @@ public class DisplaySettings implements ISerializable ...@@ -262,13 +262,17 @@ public class DisplaySettings implements ISerializable
@Deprecated @Deprecated
public void addEntityVisit(EntityVisit entityVisit) public void addEntityVisit(EntityVisit entityVisit)
{ {
visits.add(entityVisit); getVisits().add(entityVisit);
} }
/** @deprecated Should be used only by DisplaySettingsManager. */ /** @deprecated Should be used only by DisplaySettingsManager. */
@Deprecated @Deprecated
public List<EntityVisit> getVisits() public List<EntityVisit> getVisits()
{ {
if (visits == null)
{
visits = new ArrayList<EntityVisit>();
}
return visits; return visits;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment