Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static NLPDecoder.getComponent(InputStream) #4

Closed
reckart opened this issue Mar 5, 2016 · 1 comment
Closed

Static NLPDecoder.getComponent(InputStream) #4

reckart opened this issue Mar 5, 2016 · 1 comment

Comments

@reckart
Copy link

reckart commented Mar 5, 2016

The method NLPDecoder.getComponent(InputStream) could be static. It somehow feels like doing something wrong when first having to create an NLPDecoder instance without any configuration just in order to load a serialized component:

                NLPDecoder decoder = new NLPDecoder();
                OnlineComponent<POSState> component = (OnlineComponent<POSState>) 
                        decoder.getComponent(aStream);
@jdchoi77
Copy link
Member

jdchoi77 commented Mar 8, 2016

Done :) Will be included in the following version.

@jdchoi77 jdchoi77 closed this as completed Mar 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants