You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the ExternalOfficeManager it throws an exception when trying to convert from an InputStream to an OutputStream.
An office manager must implements the TemporaryFileMaker interface in order to be able to convert to OutputStream.
I can't really see why the ExternalOfficeManager couldn't implement that interface too as AbstractOfficeManagerPool does, since it is only doing local connections.
Maybe there could be another method on the ExternalOfficeManagerBuilder for providing what TemporaryFileMaker to use instead of relying on casting to another interface?
When using the ExternalOfficeManager it throws an exception when trying to convert from an InputStream to an OutputStream.
I can't really see why the ExternalOfficeManager couldn't implement that interface too as AbstractOfficeManagerPool does, since it is only doing local connections.
Maybe there could be another method on the ExternalOfficeManagerBuilder for providing what TemporaryFileMaker to use instead of relying on casting to another interface?
I've wrapped the ExternalOfficeManager and implemented TemporaryFileMaker on it and it seems to be working fine as a workaround.
The text was updated successfully, but these errors were encountered: