{"action":"created","issue":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/710","labels_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/710/comments","events_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/710/events","html_url":"https://github.com/SpongePowered/SpongeAPI/issues/710","id":83452656,"number":710,"title":"Possible ways to compare Cataloged Types?","user":{"login":"saladoc","id":7555130,"avatar_url":"https://avatars.githubusercontent.com/u/7555130?v=3","gravatar_id":"","url":"https://api.github.com/users/saladoc","html_url":"https://github.com/saladoc","followers_url":"https://api.github.com/users/saladoc/followers","following_url":"https://api.github.com/users/saladoc/following{/other_user}","gists_url":"https://api.github.com/users/saladoc/gists{/gist_id}","starred_url":"https://api.github.com/users/saladoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saladoc/subscriptions","organizations_url":"https://api.github.com/users/saladoc/orgs","repos_url":"https://api.github.com/users/saladoc/repos","events_url":"https://api.github.com/users/saladoc/events{/privacy}","received_events_url":"https://api.github.com/users/saladoc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/labels/question","name":"question","color":"035E15"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-06-01T11:43:35Z","updated_at":"2015-08-19T14:59:11Z","closed_at":"2015-08-19T14:59:11Z","body":"Please note that this is *not* a best practice question. This is to clarify if plugins will horribly break if the wrong comparison method is used / people have a choice to use what they deem more readable.\r\n\r\nIs it guaranteed that the identity check (`someBlock.getType() == BlockTypes.STONE`) will return the same as the equality check (`someBlock.getType().equals(BlockTypes.STONE)`) for cataloged types? \r\n\r\nWhen I asked this question on IRC a couple of weeks ago specifically aimed at `BlockType`s, the answer was 'yes'. Now I'm asking to clarify that this shall be true for all cataloged types over all implementations, so that the docs may accurately represent that stance."},"comment":{"url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/comments/132629951","html_url":"https://github.com/SpongePowered/SpongeAPI/issues/710#issuecomment-132629951","issue_url":"https://api.github.com/repos/SpongePowered/SpongeAPI/issues/710","id":132629951,"user":{"login":"Zidane","id":744482,"avatar_url":"https://avatars.githubusercontent.com/u/744482?v=3","gravatar_id":"","url":"https://api.github.com/users/Zidane","html_url":"https://github.com/Zidane","followers_url":"https://api.github.com/users/Zidane/followers","following_url":"https://api.github.com/users/Zidane/following{/other_user}","gists_url":"https://api.github.com/users/Zidane/gists{/gist_id}","starred_url":"https://api.github.com/users/Zidane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zidane/subscriptions","organizations_url":"https://api.github.com/users/Zidane/orgs","repos_url":"https://api.github.com/users/Zidane/repos","events_url":"https://api.github.com/users/Zidane/events{/privacy}","received_events_url":"https://api.github.com/users/Zidane/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T14:59:10Z","updated_at":"2015-08-19T14:59:10Z","body":"@bloodmc made it where it would match case in-sensitive."}}