Skip to content

Commit 5267639

Browse files
committed
Remove unused SomSupport.
1 parent 469b9d2 commit 5267639

File tree

2 files changed

+2
-15
lines changed
  • truffle/src
    • com.oracle.truffle.api.staticobject/src/com/oracle/truffle/api/staticobject
    • com.oracle.truffle.api/src/com/oracle/truffle/api/impl

2 files changed

+2
-15
lines changed

truffle/src/com.oracle.truffle.api.staticobject/src/com/oracle/truffle/api/staticobject/SomAccessor.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2021, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -44,12 +44,9 @@
4444

4545
final class SomAccessor extends Accessor {
4646

47-
@SuppressWarnings("unused") static final SomAccessor ACCESSOR = new SomAccessor();
47+
static final SomAccessor ACCESSOR = new SomAccessor();
4848
static final RuntimeSupport RUNTIME = ACCESSOR.runtimeSupport();
4949
static final LanguageSupport LANGUAGE = ACCESSOR.languageSupport();
5050
static final EngineSupport ENGINE = ACCESSOR.engineSupport();
5151

52-
static final class SomImpl extends SomSupport {
53-
54-
}
5552
}

truffle/src/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/Accessor.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,16 +1153,6 @@ protected IOSupport() {
11531153
public abstract TruffleProcessBuilder createProcessBuilder(Object polylgotLanguageContext, FileSystem fileSystem, List<String> command);
11541154
}
11551155

1156-
public abstract static class SomSupport extends Support {
1157-
1158-
static final String IMPL_CLASS_NAME = "com.oracle.truffle.api.staticobject.SomAccessor";
1159-
1160-
protected SomSupport() {
1161-
super(IMPL_CLASS_NAME);
1162-
}
1163-
1164-
}
1165-
11661156
public abstract static class RuntimeSupport {
11671157

11681158
static final Object PERMISSION = new Object();

0 commit comments

Comments
 (0)