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
[BEAM-4453] Add convenience methods for pojo and javabean schema registration. #6114
[BEAM-4453] Add convenience methods for pojo and javabean schema registration. #6114
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -67,8 +68,40 @@ | |||
private final Map<TypeDescriptor, SchemaEntry> entries = Maps.newHashMap(); | |||
private final ArrayDeque<SchemaProvider> providers; | |||
|
|||
class PerTypeRegisteredProvider implements SchemaProvider { | |||
private Map<TypeDescriptor, SchemaProvider> providers = Maps.newHashMap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
} | ||
} | ||
|
||
private PerTypeRegisteredProvider perTypeRegisteredProviders = new PerTypeRegisteredProvider(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -67,8 +68,40 @@ | |||
private final Map<TypeDescriptor, SchemaEntry> entries = Maps.newHashMap(); | |||
private final ArrayDeque<SchemaProvider> providers; | |||
|
|||
class PerTypeRegisteredProvider implements SchemaProvider { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Run Java PreCommit |
No description provided.