Skip to content

Commit 8c77f3e

Browse files
authored
Remove unused supportsSamBuild function from RuntimeGroup (#2743)
1 parent 9fa437f commit 8c77f3e

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

jetbrains-core/src/software/aws/toolkits/jetbrains/services/lambda/RuntimeGroup.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ abstract class RuntimeGroup {
5454
open fun getModuleType(): ModuleType<*>? = null
5555
open fun getIdeSdkType(): SdkType? = null
5656

57-
open fun supportsSamBuild(): Boolean = true
58-
5957
// This only works with Zip and is only called on that path since image is based on what debugger EPs we have
6058
fun validateSamVersionForZipDebugging(runtime: Runtime, samVersion: SemVer) {
6159
val minVersion = supportedRuntimes.first { it.toSdkRuntime() == runtime }.minSamDebuggingVersion()

jetbrains-core/src/software/aws/toolkits/jetbrains/services/lambda/java/JavaRuntimeGroup.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,4 @@ class JavaRuntimeGroup : SdkBasedRuntimeGroup() {
4343
override fun getModuleType(): ModuleType<*> = JavaModuleType.getModuleType()
4444

4545
override fun getIdeSdkType(): SdkType = JavaSdk.getInstance()
46-
47-
override fun supportsSamBuild(): Boolean = true
4846
}

jetbrains-core/src/software/aws/toolkits/jetbrains/services/lambda/python/PythonRuntimeGroup.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,4 @@ class PythonRuntimeGroup : SdkBasedRuntimeGroup() {
3737
override fun getModuleType(): ModuleType<*> = PythonModuleTypeBase.getInstance()
3838

3939
override fun getIdeSdkType(): SdkType = PythonSdkType.getInstance()
40-
41-
override fun supportsSamBuild(): Boolean = true
4240
}

jetbrains-ultimate/src/software/aws/toolkits/jetbrains/services/lambda/nodejs/NodeJsRuntimeGroup.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,4 @@ class NodeJsRuntimeGroup : SdkBasedRuntimeGroup() {
4747
override fun runtimeForSdk(sdk: Sdk): LambdaRuntime? = null
4848

4949
override fun getModuleType(): ModuleType<*> = WebModuleTypeBase.getInstance()
50-
51-
override fun supportsSamBuild(): Boolean = true
5250
}

0 commit comments

Comments
 (0)