{"action":"closed","issue":{"url":"https://api.github.com/repos/typetools/checker-framework/issues/850","repository_url":"https://api.github.com/repos/typetools/checker-framework","labels_url":"https://api.github.com/repos/typetools/checker-framework/issues/850/labels{/name}","comments_url":"https://api.github.com/repos/typetools/checker-framework/issues/850/comments","events_url":"https://api.github.com/repos/typetools/checker-framework/issues/850/events","html_url":"https://github.com/typetools/checker-framework/issues/850","id":166413499,"number":850,"title":"Improper formatting when doing git commit","user":{"login":"CharlesZ-Chen","id":7701109,"avatar_url":"https://avatars.githubusercontent.com/u/7701109?v=3","gravatar_id":"","url":"https://api.github.com/users/CharlesZ-Chen","html_url":"https://github.com/CharlesZ-Chen","followers_url":"https://api.github.com/users/CharlesZ-Chen/followers","following_url":"https://api.github.com/users/CharlesZ-Chen/following{/other_user}","gists_url":"https://api.github.com/users/CharlesZ-Chen/gists{/gist_id}","starred_url":"https://api.github.com/users/CharlesZ-Chen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CharlesZ-Chen/subscriptions","organizations_url":"https://api.github.com/users/CharlesZ-Chen/orgs","repos_url":"https://api.github.com/users/CharlesZ-Chen/repos","events_url":"https://api.github.com/users/CharlesZ-Chen/events{/privacy}","received_events_url":"https://api.github.com/users/CharlesZ-Chen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"smillst","id":13260174,"avatar_url":"https://avatars.githubusercontent.com/u/13260174?v=3","gravatar_id":"","url":"https://api.github.com/users/smillst","html_url":"https://github.com/smillst","followers_url":"https://api.github.com/users/smillst/followers","following_url":"https://api.github.com/users/smillst/following{/other_user}","gists_url":"https://api.github.com/users/smillst/gists{/gist_id}","starred_url":"https://api.github.com/users/smillst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smillst/subscriptions","organizations_url":"https://api.github.com/users/smillst/orgs","repos_url":"https://api.github.com/users/smillst/repos","events_url":"https://api.github.com/users/smillst/events{/privacy}","received_events_url":"https://api.github.com/users/smillst/received_events","type":"User","site_admin":false},"assignees":[{"login":"smillst","id":13260174,"avatar_url":"https://avatars.githubusercontent.com/u/13260174?v=3","gravatar_id":"","url":"https://api.github.com/users/smillst","html_url":"https://github.com/smillst","followers_url":"https://api.github.com/users/smillst/followers","following_url":"https://api.github.com/users/smillst/following{/other_user}","gists_url":"https://api.github.com/users/smillst/gists{/gist_id}","starred_url":"https://api.github.com/users/smillst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smillst/subscriptions","organizations_url":"https://api.github.com/users/smillst/orgs","repos_url":"https://api.github.com/users/smillst/repos","events_url":"https://api.github.com/users/smillst/events{/privacy}","received_events_url":"https://api.github.com/users/smillst/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-07-19T19:25:43Z","updated_at":"2016-07-21T06:09:53Z","closed_at":"2016-07-21T06:09:53Z","body":"I tried commit some changes on my local clone of Checker Framework.\r\n\r\nBut I get `Improper formatting: framework/src/org/checkerframework/framework/type/AnnotatedTypeMirror.java` error when try to commit my local changes.\r\n\r\nI'm sure I don't mis-introduce tab indentations, and also other formatting looks good:\r\n\r\n```java\r\n-            AnnotationMirror anno = qualHier.findCorrespondingAnnotation(aliased, annotations);\r\n+\r\n+            AnnotationMirror anno = null;\r\n+            if (this.getKind() == TypeKind.INTERSECTION) {\r\n+                anno = qualHier.findCorrespondingAnnotation(aliased, this.directSuperTypes().get(0).getAnnotations());\r\n+            } else {\r\n+                anno = qualHier.findCorrespondingAnnotation(aliased, annotations);\r\n+            }\r\n+\r\n```\r\n\r\nDoes anyone know how to solve this problem? What format exactly checker framework would check before committing changes?\r\n\r\nThanks a lot!"}}
{"actor":{"display_login":"mernst"}}