From 16b26d14caa4410834347abef1340d8dd9c35490 Mon Sep 17 00:00:00 2001 From: "dbswlrla112@naver.com" Date: Thu, 17 Oct 2024 17:05:39 +0900 Subject: [PATCH] Correct typo from 'propeties' to 'properties' --- .../boot/launch/AbstractBootLaunchConfigurationDelegate.java | 4 ++-- .../vscode/boot/properties/PropertiesToYamlCommandTest.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eclipse-extensions/org.springframework.ide.eclipse.boot.launch/src/org/springframework/ide/eclipse/boot/launch/AbstractBootLaunchConfigurationDelegate.java b/eclipse-extensions/org.springframework.ide.eclipse.boot.launch/src/org/springframework/ide/eclipse/boot/launch/AbstractBootLaunchConfigurationDelegate.java index aaf3d797dd..a2c57ef7fe 100644 --- a/eclipse-extensions/org.springframework.ide.eclipse.boot.launch/src/org/springframework/ide/eclipse/boot/launch/AbstractBootLaunchConfigurationDelegate.java +++ b/eclipse-extensions/org.springframework.ide.eclipse.boot.launch/src/org/springframework/ide/eclipse/boot/launch/AbstractBootLaunchConfigurationDelegate.java @@ -242,10 +242,10 @@ public static void setRawApplicationProperties(ILaunchConfigurationWorkingCopy c } public static Properties getApplicationProperties(ILaunchConfiguration conf) { - String propetiesString = getRawApplicationProperties(conf); + String propertiesString = getRawApplicationProperties(conf); Properties properties = new Properties(); try { - properties.load(new ByteArrayInputStream(propetiesString.getBytes())); + properties.load(new ByteArrayInputStream(propertiesString.getBytes())); } catch (IOException e) { Log.log(e); } diff --git a/headless-services/spring-boot-language-server/src/test/java/org/springframework/ide/vscode/boot/properties/PropertiesToYamlCommandTest.java b/headless-services/spring-boot-language-server/src/test/java/org/springframework/ide/vscode/boot/properties/PropertiesToYamlCommandTest.java index e15c09107b..5b89b15273 100644 --- a/headless-services/spring-boot-language-server/src/test/java/org/springframework/ide/vscode/boot/properties/PropertiesToYamlCommandTest.java +++ b/headless-services/spring-boot-language-server/src/test/java/org/springframework/ide/vscode/boot/properties/PropertiesToYamlCommandTest.java @@ -91,7 +91,7 @@ void assertConversion(String propsContent, String yamlContent, boolean replace) Command cmd = new Command(); cmd.setCommand(PropertiesToYamlCommand.CMD_PROPS_TO_YAML); cmd.setArguments(List.of(propsFilePath.toUri().toASCIIString(), yamlFilePath.toUri().toASCIIString(), replace)); - cmd.setTitle("Convert .propeties to .yaml"); + cmd.setTitle("Convert .properties to .yaml"); ShowDocumentResult res = (ShowDocumentResult) harness.perform(cmd);