Skip to content

Commit 5fe8988

Browse files
Address code review feedback: fix comment and remove console.log
Co-authored-by: unknowIfGuestInDream <57802425+unknowIfGuestInDream@users.noreply.github.com>
1 parent 7bed483 commit 5fe8988

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/extension.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function getSortingOptions(): SortingOptions {
2323
}
2424

2525
/**
26-
* Check if the Red Hat Java extension is installed and active
26+
* Check if the Red Hat Java extension is installed
2727
*/
2828
function isRedHatJavaExtensionAvailable(): boolean {
2929
const extension = vscode.extensions.getExtension(REDHAT_JAVA_EXTENSION_ID);
@@ -43,7 +43,6 @@ async function formatDocumentWithRedHatJava(): Promise<void> {
4343
await vscode.commands.executeCommand('editor.action.formatDocument');
4444
} catch {
4545
// Silently ignore formatting errors - the sorting is complete
46-
console.log('Failed to format document with Red Hat Java extension');
4746
}
4847
}
4948

0 commit comments

Comments
 (0)