{"action":"created","issue":{"url":"https://api.github.com/repos/stkent/amplify/issues/67","labels_url":"https://api.github.com/repos/stkent/amplify/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/stkent/amplify/issues/67/comments","events_url":"https://api.github.com/repos/stkent/amplify/issues/67/events","html_url":"https://github.com/stkent/amplify/pull/67","id":120020657,"number":67,"title":"Fake violations DO NOT MERGE","user":{"login":"btkelly","id":826036,"avatar_url":"https://avatars.githubusercontent.com/u/826036?v=3","gravatar_id":"","url":"https://api.github.com/users/btkelly","html_url":"https://github.com/btkelly","followers_url":"https://api.github.com/users/btkelly/followers","following_url":"https://api.github.com/users/btkelly/following{/other_user}","gists_url":"https://api.github.com/users/btkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/btkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btkelly/subscriptions","organizations_url":"https://api.github.com/users/btkelly/orgs","repos_url":"https://api.github.com/users/btkelly/repos","events_url":"https://api.github.com/users/btkelly/events{/privacy}","received_events_url":"https://api.github.com/users/btkelly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T19:44:36Z","updated_at":"2015-12-03T21:16:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stkent/amplify/pulls/67","html_url":"https://github.com/stkent/amplify/pull/67","diff_url":"https://github.com/stkent/amplify/pull/67.diff","patch_url":"https://github.com/stkent/amplify/pull/67.patch"},"body":"Added violations to the code so it will fail to pass the check task"},"comment":{"url":"https://api.github.com/repos/stkent/amplify/issues/comments/161787193","html_url":"https://github.com/stkent/amplify/pull/67#issuecomment-161787193","issue_url":"https://api.github.com/repos/stkent/amplify/issues/67","id":161787193,"user":{"login":"btkelly","id":826036,"avatar_url":"https://avatars.githubusercontent.com/u/826036?v=3","gravatar_id":"","url":"https://api.github.com/users/btkelly","html_url":"https://github.com/btkelly","followers_url":"https://api.github.com/users/btkelly/followers","following_url":"https://api.github.com/users/btkelly/following{/other_user}","gists_url":"https://api.github.com/users/btkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/btkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btkelly/subscriptions","organizations_url":"https://api.github.com/users/btkelly/orgs","repos_url":"https://api.github.com/users/btkelly/repos","events_url":"https://api.github.com/users/btkelly/events{/privacy}","received_events_url":"https://api.github.com/users/btkelly/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T21:16:45Z","updated_at":"2015-12-03T21:16:45Z","body":"FindBugs Reporter Violations:\n----------------------------------\n<b>Violation: </b> EQ_ALWAYS_TRUE\n<b>Class: </b>com.github.stkent.amplify.utils.ActivityStateUtil -  <b>Line: </b>61\nequals method always returns true\n\n<b>Violation: </b> HE_EQUALS_USE_HASHCODE\n<b>Class: </b>com.github.stkent.amplify.utils.ActivityStateUtil -  <b>Line: </b>61\nClass defines equals() and uses Object.hashCode()\n\n<b>Violation: </b> EQ_ALWAYS_TRUE\n<b>Class: </b>com.github.stkent.amplify.utils.time.SystemTimeUtil -  <b>Line: </b>45\nequals method always returns true\n\n<b>Violation: </b> HE_EQUALS_USE_HASHCODE\n<b>Class: </b>com.github.stkent.amplify.utils.time.SystemTimeUtil -  <b>Line: </b>45\nClass defines equals() and uses Object.hashCode()\n\n\n\nPMD Reporter Violations:\n----------------------------------\n<b>Violation: </b> FinalizeDoesNotCallSuperFinalize\n<b>Help: </b> http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/finalizers.html#FinalizeDoesNotCallSuperFinalize\n<b>Class: </b>com.github.stkent.amplify.utils.ActivityStateUtil.java -  <b>Line: </b>32\nLast statement in finalize method should be a call to super.finalize()\n\n\n<b>Violation: </b> AvoidCatchingGenericException\n<b>Help: </b> http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/strictexception.html#AvoidCatchingGenericException\n<b>Class: </b>com.github.stkent.amplify.utils.ActivityStateUtil.java -  <b>Line: </b>41\nAvoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block\n\n\n<b>Violation: </b> EmptyCatchBlock\n<b>Help: </b> http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/empty.html#EmptyCatchBlock\n<b>Class: </b>com.github.stkent.amplify.utils.ActivityStateUtil.java -  <b>Line: </b>41\nAvoid empty catch blocks\n\n\n<b>Violation: </b> OverrideBothEqualsAndHashcode\n<b>Help: </b> http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/basic.html#OverrideBothEqualsAndHashcode\n<b>Class: </b>com.github.stkent.amplify.utils.ActivityStateUtil.java -  <b>Line: </b>60\nEnsure you override both equals() and hashCode()\n\n\n<b>Violation: </b> UnusedImports\n<b>Help: </b> http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/imports.html#UnusedImports\n<b>Class: </b>com.github.stkent.amplify.utils.time.SystemTimeUtil.java -  <b>Line: </b>23\nAvoid unused imports such as 'com.github.stkent.amplify.tracking.AmplifyStateTracker'\n\n\n<b>Violation: </b> NonThreadSafeSingleton\n<b>Help: </b> http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/design.html#NonThreadSafeSingleton\n<b>Class: </b>com.github.stkent.amplify.utils.time.SystemTimeUtil.java -  <b>Line: </b>31\nSingleton is not thread safe\n\n\n<b>Violation: </b> OverrideBothEqualsAndHashcode\n<b>Help: </b> http://pmd.sourceforge.net/snapshot/pmd-java/rules/java/basic.html#OverrideBothEqualsAndHashcode\n<b>Class: </b>com.github.stkent.amplify.utils.time.SystemTimeUtil.java -  <b>Line: </b>44\nEnsure you override both equals() and hashCode()\n\n\n\n\nCheckstyle Reporter Violations:\n----------------------------------\n<b>Violation: </b> com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck\n<b>Class: </b>com.github.stkent.amplify.utils.ActivityStateUtil.java -  <b>Line: </b>25\n'{' is not preceded with whitespace.\n\n<b>Violation: </b> com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck\n<b>Class: </b>com.github.stkent.amplify.utils.ActivityStateUtil.java -  <b>Line: </b>27\n'{' is not preceded with whitespace.\n\n<b>Violation: </b> com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck\n<b>Class: </b>com.github.stkent.amplify.utils.ActivityStateUtil.java -  <b>Line: </b>59\nDefinition of 'equals()' without corresponding definition of 'hashCode()'.\n\n<b>Violation: </b> com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck\n<b>Class: </b>com.github.stkent.amplify.utils.time.SystemTimeUtil.java -  <b>Line: </b>23\nUnused import - com.github.stkent.amplify.tracking.AmplifyStateTracker.\n\n<b>Violation: </b> com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck\n<b>Class: </b>com.github.stkent.amplify.utils.time.SystemTimeUtil.java -  <b>Line: </b>30\n'public' modifier out of order with the JLS suggestions.\n\n<b>Violation: </b> com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck\n<b>Class: </b>com.github.stkent.amplify.utils.time.SystemTimeUtil.java -  <b>Line: </b>43\nDefinition of 'equals()' without corresponding definition of 'hashCode()'.\n\n"}}