Skip to content

Commit

Permalink
fix(objectionary#3057): HeapsTest
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Apr 6, 2024
1 parent 4f58d47 commit 1bd121a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eo-runtime/src/main/java/EOorg/EOeolang/Heaps.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ final class Heaps {
/**
* Heaps.
*/
static final ThreadLocal<Heaps> INSTANCE = ThreadLocal.withInitial(Heaps::new);
static final Heaps INSTANCE = new Heaps();

/**
* All.
Expand Down
2 changes: 1 addition & 1 deletion eo-runtime/src/test/java/EOorg/EOeolang/HeapsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public final class HeapsTest {
/**
* Heaps.
*/
private static final Heaps HEAPS = Heaps.INSTANCE.get();
private static final Heaps HEAPS = Heaps.INSTANCE;

@Test
void allocatesMemory() {
Expand Down

0 comments on commit 1bd121a

Please sign in to comment.