Skip to content

Commit

Permalink
Removing SDK_PROPERTIES_COMMENT variable (#257)
Browse files Browse the repository at this point in the history
* SDK-321: Optimizing SDK Cache Management

Add the enableDataSaving parameter to the setup-sdk plugin. This parameter enables the data-saving mode. When using this mode, the SDK will reuse the existing cache folder rather than creating a new one.

In normal mode, SDK will remove the cache folder after running the setup.

* SDK-321: Optimizing SDK Cache Management

Add the enableDataSaving parameter to the setup-sdk plugin. This parameter enables the data-saving mode. When using this mode, the SDK will reuse the existing cache folder rather than creating a new one.

In normal mode, SDK will remove the cache folder after running the setup.

* SDK-321: Optimizing SDK Cache Management

* Removing SDK_PROPERTIES_COMMENT variable
  • Loading branch information
wikumChamith authored Oct 16, 2023
1 parent 2623cd9 commit 49f73c3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
public class PropertiesUtils {

private static final Logger log = LoggerFactory.getLogger(PropertiesUtils.class);
private static final String SDK_PROPERTIES_COMMENT = "SDK Properties file";

/**
* Loads properties from a given file
Expand Down Expand Up @@ -264,7 +263,7 @@ public static Properties getSdkProperties() throws MojoExecutionException {
public static void savePropertiesChangesToFile(Properties properties, File file)
throws MojoExecutionException {
try (OutputStream fos = new FileOutputStream(file)) {
properties.store(fos, SDK_PROPERTIES_COMMENT);
properties.store(fos, "SDK Properties file");
}
catch (IOException e) {
throw new MojoExecutionException(
Expand Down

0 comments on commit 49f73c3

Please sign in to comment.