Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Oct 25, 2018

Drops the deprecationLogger from AbstractComponent, moving it to
places where we need it. This saves us from building a bunch of
DeprecationLoggers that we don't need.

Relates to #34488

Drops the `deprecationLogger` from `AbstractComponent`, moving it to
places where we need it. This saves us from building a bunch of
`DeprecationLogger`s that we don't need.

Relates to elastic#34488
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Member

@jaymode jaymode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a nit about casing. LGTM

* </dl>
*/
class S3Repository extends BlobStoreRepository {
private static final Logger logger = LogManager.getLogger(S3Repository.class);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a nit but typically static finals should be all uppercase (LOGGER and DEPRECATION_LOGGER)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tend to stick to the google style for things like this. These things aren't constants so I use the normal case.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great to have a standard across the team for this; I've been asked to use all uppercase before so I adopted it, but I get the point of the google style too. Anyway, this shouldn't block your change

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@colings86 colings86 added v6.6.0 and removed v6.5.0 labels Oct 25, 2018
@nik9000 nik9000 merged commit 9f87fdc into elastic:master Oct 26, 2018
nik9000 added a commit that referenced this pull request Oct 27, 2018
Drops the `deprecationLogger` from `AbstractComponent`, moving it to
places where we need it. This saves us from building a bunch of
`DeprecationLogger`s that we don't need.

Relates to #34488
@nik9000
Copy link
Member Author

nik9000 commented Oct 27, 2018

Merged and backported. Thanks @rjernst and @jaymode!

kcm pushed a commit that referenced this pull request Oct 30, 2018
Drops the `deprecationLogger` from `AbstractComponent`, moving it to
places where we need it. This saves us from building a bunch of
`DeprecationLogger`s that we don't need.

Relates to #34488
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants