From 255d8506dc09386230940220fcfb938b940b9f39 Mon Sep 17 00:00:00 2001 From: Nadeeshan96 Date: Mon, 23 Oct 2023 10:13:17 +0530 Subject: [PATCH] Remove unneeded comments --- .../src/main/java/io/ballerina/projects/JBallerinaBackend.java | 1 - .../src/main/java/io/ballerina/projects/ModuleContext.java | 1 - 2 files changed, 2 deletions(-) diff --git a/compiler/ballerina-lang/src/main/java/io/ballerina/projects/JBallerinaBackend.java b/compiler/ballerina-lang/src/main/java/io/ballerina/projects/JBallerinaBackend.java index b0e32539af3b..4798f05042f1 100644 --- a/compiler/ballerina-lang/src/main/java/io/ballerina/projects/JBallerinaBackend.java +++ b/compiler/ballerina-lang/src/main/java/io/ballerina/projects/JBallerinaBackend.java @@ -177,7 +177,6 @@ private void performCodeGen() { new PackageDiagnostic(diagnostic, moduleContext.descriptor(), moduleContext.project())); } - //TODO: remove this once ballerina-lang#41407 is fixed ModuleContext.shrinkDocuments(moduleContext); if (moduleContext.project().kind() == ProjectKind.BALA_PROJECT) { moduleContext.cleanBLangPackage(); diff --git a/compiler/ballerina-lang/src/main/java/io/ballerina/projects/ModuleContext.java b/compiler/ballerina-lang/src/main/java/io/ballerina/projects/ModuleContext.java index 17755fa467ed..4c5f3159c77f 100644 --- a/compiler/ballerina-lang/src/main/java/io/ballerina/projects/ModuleContext.java +++ b/compiler/ballerina-lang/src/main/java/io/ballerina/projects/ModuleContext.java @@ -556,7 +556,6 @@ static void loadPlatformSpecificCodeInternal(ModuleContext moduleContext, Compil // TODO implement } - //TODO: should be removed once we properly fix ballerina-lang#41407 static void shrinkDocuments(ModuleContext moduleContext) { moduleContext.srcDocContextMap.values().forEach(DocumentContext::shrink); }