Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Fix a few IDEA inspections #93

Merged
merged 1 commit into from
Aug 16, 2017
Merged

Fix a few IDEA inspections #93

merged 1 commit into from
Aug 16, 2017

Conversation

c-w
Copy link
Contributor

@c-w c-w commented Aug 16, 2017

No functional change.

@@ -21,8 +21,8 @@ class TransformContextProvider(configManager: ConfigurationManager, featureServi

// Do not serialize these values. The transformContext would otherwise contain stale Broadcast
// instances, so we rebuild it on recovery from checkpoint.
@volatile @transient private var transformContext: TransformContext = null
@volatile @transient private var queueClient: QueueClient = null
@volatile @transient private var transformContext: TransformContext = _
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO, null is more explicit, since we're expecting this to be exactly null (i.e. line 48), though I understand this likely fixes a style warning.

@c-w c-w merged commit 5c3296f into master Aug 16, 2017
@c-w c-w deleted the fix-inspections branch August 16, 2017 15:32
@c-w c-w removed the in progress label Aug 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants