mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 12:34:11 +01:00
Internalize
- Make *Programs#setInstance package private
This commit is contained in:
parent
31f4ffe354
commit
53c732c3f6
@ -3,7 +3,6 @@ package com.jozufozu.flywheel.backend.compile;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
@ -103,8 +102,7 @@ public class IndirectPrograms extends AbstractPrograms {
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
public static void setInstance(@Nullable IndirectPrograms newInstance) {
|
||||
static void setInstance(@Nullable IndirectPrograms newInstance) {
|
||||
if (instance != null) {
|
||||
instance.release();
|
||||
}
|
||||
|
@ -3,7 +3,6 @@ package com.jozufozu.flywheel.backend.compile;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
@ -43,8 +42,7 @@ public class InstancingPrograms extends AbstractPrograms {
|
||||
setInstance(newInstance);
|
||||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
public static void setInstance(@Nullable InstancingPrograms newInstance) {
|
||||
static void setInstance(@Nullable InstancingPrograms newInstance) {
|
||||
if (instance != null) {
|
||||
instance.release();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user