From 9be30316b101ba38d8a8dc0a0f4ccfacc42fa91a Mon Sep 17 00:00:00 2001 From: mibo Date: Sat, 26 Feb 2022 08:38:51 +0100 Subject: [PATCH] [OLINGO-1413] Comment on thread-safty of ODataHandlerImpl --- .../java/org/apache/olingo/server/core/ODataHandlerImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/server-core/src/main/java/org/apache/olingo/server/core/ODataHandlerImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/ODataHandlerImpl.java index e704fddf8..875c31dae 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/server/core/ODataHandlerImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/ODataHandlerImpl.java @@ -56,6 +56,10 @@ import org.apache.olingo.server.core.uri.queryoption.FormatOptionImpl; import org.apache.olingo.server.core.uri.validator.UriValidationException; import org.apache.olingo.server.core.uri.validator.UriValidator; +/** + * This class is not thread-safe. + * Whenever used create a new instance per thread and not reuse the created instance. + */ public class ODataHandlerImpl implements ODataHandler { private final OData odata;