Xuanwo commented on code in PR #5718:
URL: https://github.com/apache/opendal/pull/5718#discussion_r2002305204
##########
core/src/layers/mod.rs:
##########
@@ -24,7 +24,7 @@ mod error_context;
pub(crate) use error_context::ErrorContextLayer;
mod complete;
-pub(crate) use complete::CompleteLayer;
+pub use complete::CompleteLayer;
Review Comment:
`CompleteLayer` is applied by default. We don't need to apply it again.
##########
bindings/java/src/main/java/org/apache/opendal/Operator.java:
##########
@@ -53,7 +54,7 @@ public static Operator of(ServiceConfig config) {
*/
public static Operator of(String scheme, Map<String, String> map) {
try (final AsyncOperator operator = AsyncOperator.of(scheme, map)) {
- return operator.blocking();
+ return operator.layer(new CompleteLayer()).blocking();
Review Comment:
We don't need this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]