Cleanup (deprecated StreamUtil usages)

GitOrigin-RevId: 0657baa69d7828818e638edb989baa6bc38172ab
This commit is contained in:
Roman Shevchenko
2020-07-30 23:35:42 +02:00
committed by intellij-monorepo-bot
parent b21e1010b9
commit cbe2674593
37 changed files with 232 additions and 398 deletions

View File

@@ -1,3 +1,4 @@
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.javaFX.sceneBuilder;// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
import com.intellij.openapi.application.ReadAction;
@@ -416,7 +417,7 @@ public class SceneBuilderImpl implements SceneBuilder {
@Override
public void newProcessingInstruction(String target, Reader reader) throws Exception {
if ("import".equals(target)) {
final String imported = StreamUtil.readTextFrom(reader);
final String imported = StreamUtil.readText(reader);
imports.add(imported);
}
}