File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/github/_1c_syntax/bsl/languageserver/context Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ public DocumentContext addDocument(TextDocumentItem textDocumentItem) {
166
166
}
167
167
168
168
public void removeDocument (URI uri ) {
169
- URI absoluteURI = Absolute .uri (uri );
169
+ var absoluteURI = Absolute .uri (uri );
170
170
removeDocumentMdoRefByUri (absoluteURI );
171
171
documents .remove (absoluteURI );
172
172
}
@@ -184,12 +184,12 @@ public Configuration getConfiguration() {
184
184
185
185
@ SneakyThrows
186
186
private DocumentContext createDocumentContext (File file ) {
187
- String content = FileUtils .readFileToString (file , StandardCharsets .UTF_8 );
187
+ var content = FileUtils .readFileToString (file , StandardCharsets .UTF_8 );
188
188
return createDocumentContext (file .toURI (), content , 0 );
189
189
}
190
190
191
191
private DocumentContext createDocumentContext (URI uri , String content , int version ) {
192
- URI absoluteURI = Absolute .uri (uri );
192
+ var absoluteURI = Absolute .uri (uri );
193
193
194
194
var documentContext = documentContextProvider .getObject (absoluteURI );
195
195
documentContext .rebuild (content , version );
You can’t perform that action at this time.
0 commit comments