mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[Gradle|Sync] cleanup: removed unused ToolingStreamUtils
GitOrigin-RevId: a33de4d6e024cca438749b2fc41f62faa6db6543
This commit is contained in:
committed by
intellij-monorepo-bot
parent
aea3307a18
commit
d5f82c6433
@@ -206,7 +206,7 @@ public final class ExternalProjectSerializationService implements SerializationS
|
||||
writer.stepOut();
|
||||
}
|
||||
|
||||
static void writeDependency(
|
||||
private static void writeDependency(
|
||||
IonWriter writer,
|
||||
WriteContext context,
|
||||
ExternalDependency dependency
|
||||
@@ -592,7 +592,7 @@ public final class ExternalProjectSerializationService implements SerializationS
|
||||
return dependencies;
|
||||
}
|
||||
|
||||
static ExternalDependency readDependency(final IonReader reader, final ReadContext context) {
|
||||
private static ExternalDependency readDependency(final IonReader reader, final ReadContext context) {
|
||||
if (reader.next() == null) return null;
|
||||
reader.stepIn();
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import java.io.IOException;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.ConcurrentMap;
|
||||
|
||||
public class ToolingStreamApiUtils {
|
||||
public final class ToolingStreamApiUtils {
|
||||
public static final String OBJECT_ID_FIELD = "objectID";
|
||||
|
||||
// todo what about PooledBlockAllocatorProvider?
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
// 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.gradle.tooling.serialization;
|
||||
|
||||
import com.amazon.ion.IonReader;
|
||||
import com.amazon.ion.IonWriter;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.plugins.gradle.model.ExternalDependency;
|
||||
import org.jetbrains.plugins.gradle.tooling.serialization.ExternalProjectSerializationService.ReadContext;
|
||||
import org.jetbrains.plugins.gradle.tooling.serialization.ExternalProjectSerializationService.WriteContext;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* @author Vladislav.Soroka
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public final class ToolingStreamUtils extends ToolingStreamApiUtils {
|
||||
public static ExternalDependency readDependency(@NotNull IonReader reader, @NotNull ReadContext context) {
|
||||
return ExternalProjectSerializationService.readDependency(reader, context);
|
||||
}
|
||||
|
||||
public static void writeDependency(@NotNull IonWriter writer,
|
||||
@NotNull WriteContext context,
|
||||
@NotNull ExternalDependency dependency) throws IOException {
|
||||
ExternalProjectSerializationService.writeDependency(writer, context, dependency);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user