David Janicek created BEAM-10292:
------------------------------------
Summary: DefaultFilenamePolicy.ParamsCoder looses information
whether Params's resource ID is file/directory
Key: BEAM-10292
URL: https://issues.apache.org/jira/browse/BEAM-10292
Project: Beam
Issue Type: Bug
Components: sdk-java-core
Reporter: David Janicek
*DefaultFilenamePolicy.ParamsCoder* uses simple *StringUtf8Coder* for
encoding/decoding *DefaultFilenamePolicy.Params*'s *baseFilename* and therefore
looses information whether *Params.baseFilename* resource ID is file or
directory.
Solution is easy - use *ResourceIdCoder* for encoding/decoding.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)