mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-26 15:06:28 +01:00
Internalize
- Make *Programs#setInstance package private
This commit is contained in:
parent
31f4ffe354
commit
53c732c3f6
2 changed files with 2 additions and 6 deletions
|
@ -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 a new issue