diff options
author | onefang | 2019-05-19 21:24:15 +1000 |
---|---|---|
committer | onefang | 2019-05-19 21:24:15 +1000 |
commit | 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb (patch) | |
tree | a9fbc62df9eb2d1d9ba2698d8552eae71eca20d8 /OpenSim/Framework/MapAndArray.cs | |
parent | Add a build script. (diff) | |
download | opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.zip opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.gz opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.bz2 opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.xz |
Dump OpenSim 0.9.0.1 into it's own branch.
Diffstat (limited to 'OpenSim/Framework/MapAndArray.cs')
-rw-r--r-- | OpenSim/Framework/MapAndArray.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Framework/MapAndArray.cs b/OpenSim/Framework/MapAndArray.cs index c98d3cc..32d6978 100644 --- a/OpenSim/Framework/MapAndArray.cs +++ b/OpenSim/Framework/MapAndArray.cs | |||
@@ -45,9 +45,9 @@ namespace OpenSim.Framework | |||
45 | 45 | ||
46 | /// <summary>Number of values currently stored in the collection</summary> | 46 | /// <summary>Number of values currently stored in the collection</summary> |
47 | public int Count { get { return m_array.Length; } } | 47 | public int Count { get { return m_array.Length; } } |
48 | /// <summary>NOTE: This collection is thread safe. You do not need to | 48 | /// <summary>NOTE: This collection is thread safe. You do not need to |
49 | /// acquire a lock to add, remove, or enumerate entries. This | 49 | /// acquire a lock to add, remove, or enumerate entries. This |
50 | /// synchronization object should only be locked for larger | 50 | /// synchronization object should only be locked for larger |
51 | /// transactions</summary> | 51 | /// transactions</summary> |
52 | public object SyncRoot { get { return m_syncRoot; } } | 52 | public object SyncRoot { get { return m_syncRoot; } } |
53 | 53 | ||
@@ -92,7 +92,7 @@ namespace OpenSim.Framework | |||
92 | } | 92 | } |
93 | 93 | ||
94 | /// <summary> | 94 | /// <summary> |
95 | /// Adds a key/value pair to the collection. This will throw an | 95 | /// Adds a key/value pair to the collection. This will throw an |
96 | /// exception if the key is already present in the collection | 96 | /// exception if the key is already present in the collection |
97 | /// </summary> | 97 | /// </summary> |
98 | /// <param name="key">Key to add or update</param> | 98 | /// <param name="key">Key to add or update</param> |
@@ -166,7 +166,7 @@ namespace OpenSim.Framework | |||
166 | /// Gets a reference to the immutable array of values stored in this | 166 | /// Gets a reference to the immutable array of values stored in this |
167 | /// collection. This array is thread safe for iteration | 167 | /// collection. This array is thread safe for iteration |
168 | /// </summary> | 168 | /// </summary> |
169 | /// <returns>A thread safe reference ton an array of all of the stored | 169 | /// <returns>A thread safe reference ton an array of all of the stored |
170 | /// values</returns> | 170 | /// values</returns> |
171 | public TValue[] GetArray() | 171 | public TValue[] GetArray() |
172 | { | 172 | { |
@@ -175,7 +175,7 @@ namespace OpenSim.Framework | |||
175 | 175 | ||
176 | private void CreateArray() | 176 | private void CreateArray() |
177 | { | 177 | { |
178 | // Rebuild the array from the dictionary. This method must be | 178 | // Rebuild the array from the dictionary. This method must be |
179 | // called from inside a lock | 179 | // called from inside a lock |
180 | TValue[] array = new TValue[m_dict.Count]; | 180 | TValue[] array = new TValue[m_dict.Count]; |
181 | int i = 0; | 181 | int i = 0; |