We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1003c19 commit ce491b4Copy full SHA for ce491b4
src/Nest/CommonAbstractions/Infer/Field/FieldResolver.cs
@@ -19,13 +19,7 @@ public class FieldResolver : ExpressionVisitor
19
private readonly ConcurrentDictionary<Field, string> Fields = new ConcurrentDictionary<Field, string>();
20
private readonly ConcurrentDictionary<PropertyName, string> Properties = new ConcurrentDictionary<PropertyName, string>();
21
22
- private object _lock = new object();
23
- private Stack<string> _stack;
24
- protected Stack<string> Stack
25
- {
26
- get { lock(_lock) { return _stack; } }
27
- set { lock(_lock) { _stack = value; } }
28
- }
+ protected Stack<string> Stack { get; set;}
29
30
public FieldResolver(IConnectionSettingsValues settings)
31
{
0 commit comments