Skip to content

Commit

Permalink
fix: avoid name change for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sielenk-yara committed Feb 5, 2025
1 parent 38562ec commit 696228d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/main/java/software/amazon/nio/spi/s3/S3FileSystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,22 @@ public S3NioSpiConfiguration getConfiguration() {
return configuration;
}

/**
* Returns the configuration object passed in the constructor or created
* by default.
*
* @return the configuration object for this file system
*
* @deprecated This method is deprecated and may be removed in a future release.
* Use {@link #getConfiguration()} instead to retrieve the configuration object,
* as it provides the same functionality with better naming conventions that
* align with standard practices.
*/
@Deprecated
public S3NioSpiConfiguration configuration() {
return getConfiguration();
}

/**
* Returns the client provider used to build aws clients
*
Expand Down

0 comments on commit 696228d

Please sign in to comment.