File tree 2 files changed +0
-6
lines changed
DotJEM.Json.Index2/Storage
DotJEM.Json.Index2.Management
2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ public async Task ResetIndexAsync()
111
111
{
112
112
index . Storage . Delete ( ) ;
113
113
await jsonDocumentSource . ResetAsync ( ) . ConfigureAwait ( false ) ;
114
-
115
114
}
116
115
117
116
private void CaptureChange ( IJsonDocumentSourceEvent sourceEvent )
@@ -132,8 +131,6 @@ private void CaptureChange(IJsonDocumentSourceEvent sourceEvent)
132
131
case JsonDocumentUpdated updated :
133
132
writer . Update ( updated . Document ) ;
134
133
break ;
135
- default :
136
- throw new ArgumentOutOfRangeException ( nameof ( sourceEvent ) ) ;
137
134
}
138
135
139
136
changesStream . Publish ( sourceEvent ) ;
Original file line number Diff line number Diff line change @@ -74,9 +74,6 @@ public void Delete()
74
74
Unlock ( ) ;
75
75
foreach ( string file in Directory . ListAll ( ) )
76
76
Directory . DeleteFile ( file ) ;
77
- //Directory.Dispose();
78
- //Directory = null;
79
-
80
77
provider . Delete ( ) ;
81
78
}
82
79
}
You can’t perform that action at this time.
0 commit comments