Skip to content

Conversation

@fredj
Copy link
Member

@fredj fredj commented Feb 14, 2018

No description provided.

return (
/** @type {number} */ this.get(_ol_layer_TileProperty_.PRELOAD)
);
return (/** @type {number} */ this.get(TileProperty.PRELOAD));
Copy link
Member

Choose a reason for hiding this comment

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

These parens might have gotten messed up by the initial code transform. Shouldn't this be like:

return /** @type {number} */ (this.get(TileProperty.PRELOAD));

(I'll be happy when we get rid of these typecasts altogether.)

Copy link
Member Author

Choose a reason for hiding this comment

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

in a8f4348

return (
/** @type {boolean} */ this.get(_ol_layer_TileProperty_.USE_INTERIM_TILES_ON_ERROR)
);
return (/** @type {boolean} */ this.get(TileProperty.USE_INTERIM_TILES_ON_ERROR));
Copy link
Member

Choose a reason for hiding this comment

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

Same here regarding the grouping.

return (
/** @type {boolean} */ this.get(_ol_layer_TileProperty_.USE_INTERIM_TILES_ON_ERROR)
);
return (/** @type {boolean} */ this.get(TileProperty.USE_INTERIM_TILES_ON_ERROR));
Copy link
Member

Choose a reason for hiding this comment

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

Grouping.

@fredj fredj merged commit 0ec4f30 into openlayers:master Feb 15, 2018
@fredj fredj deleted the indent branch February 15, 2018 08:13
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.

2 participants