Skip to content

Conversation

@StevenMPhillips
Copy link
Contributor

No description provided.

Copy link
Member

@BryanCutler BryanCutler left a comment

Choose a reason for hiding this comment

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

Just one small question, otherwise LGTM


@Override
public Field getField() {
if (getDataVector() == ZeroVector.INSTANCE) {
Copy link
Member

Choose a reason for hiding this comment

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

I know that the vector is initialized to ZeroVector.INSTANCE right now, but would this be a little better as if (getDataVector() instanceof ZeroVector)?

Copy link
Contributor

Choose a reason for hiding this comment

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

What was the previous field name?

Copy link
Member

Choose a reason for hiding this comment

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

I believe it was the ZeroVector.name which is "[DEFAULT]"

@wesm
Copy link
Member

wesm commented Sep 19, 2017

Can this be merged?

@jacques-n
Copy link
Contributor

LGTM +1.

@BryanCutler
Copy link
Member

Wouldn't it be better to use instanceof? I could change that and add a test for this if @StevenMPhillips is busy

@StevenMPhillips
Copy link
Contributor Author

Thanks, @BryanCutler, if you want to go ahead and post your suggested change, I can merge it.

@wesm
Copy link
Member

wesm commented Oct 5, 2017

@StevenMPhillips can you close this stale PR?

@wesm wesm closed this Oct 23, 2017
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

Successfully merging this pull request may close these issues.

4 participants