Skip to content

Small fixes and improvements.#257

Open
gosella wants to merge 1 commit intoBaccayarro:masterfrom
gosella:small-things
Open

Small fixes and improvements.#257
gosella wants to merge 1 commit intoBaccayarro:masterfrom
gosella:small-things

Conversation

@gosella
Copy link
Copy Markdown

@gosella gosella commented May 14, 2017

  • Simplify MovecraftLocation hash calculation. Integer.hashcode() just
    returns the value of the wrapped it so instead of 6 method calls and 3
    Integer objects lookups (with its potential object creations), it's just
    a simple math operation.

  • Add toString() method to MovecraftLocation (simplifies debugging).

  • Add current repo for Vault. The old repo wasn't working anymore.

- Simplify MovecraftLocation hash calculation. Integer.hashcode() just
returns the value of the wrapped it so instead of 6 method calls and 3
Integer objects lookups (with its potential object creations), it's just
a simple math operation.

- Add toString() method to MovecraftLocation (simplifies debugging).

- Add current repo for Vault. The old repo wasn't working anymore.
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.

1 participant