{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments/133576518","pull_request_review_id":56775154,"id":133576518,"diff_hunk":"@@ -43,30 +44,96 @@ protected void logProperty(String s, String s1) {\n   }\n \n   public static void main(String[] args) {\n+    Boolean checkResult = check();\n+    if (checkResult != null && !checkResult) {\n+      System.exit(1);\n+    }\n+  }\n+\n+  public static Boolean check() {\n     Properties osProperties = new Properties();\n     new OsDetector().detect(osProperties, Lists.<String>newArrayList());\n+\n+    String bitMode = System.getProperty(\"sun.arch.data.model\");\n+\n+    boolean openSslIsAvailable = OpenSsl.isAvailable();\n+    boolean openSslAlpnIsSupported = OpenSsl.isAlpnSupported();\n+    String javaVersion = Runtime.class.getPackage().getImplementationVersion();\n+    String javaSpecificationVersion = System.getProperty(\"java.specification.version\");\n+\n     System.out.println(\"OS details:\");\n     System.out.println(\"  \" + Detector.DETECTED_NAME + \": \" + osProperties.get(Detector.DETECTED_NAME));\n     System.out.println(\"  \" + Detector.DETECTED_ARCH + \": \" + osProperties.get(Detector.DETECTED_ARCH));\n     System.out.println(\"  \" + Detector.DETECTED_CLASSIFIER + \": \" + osProperties.get(Detector.DETECTED_CLASSIFIER));\n     System.out.println(\"  \" + Detector.DETECTED_RELEASE + \": \" + osProperties.get(Detector.DETECTED_RELEASE));\n     System.out.println(\"  \" + Detector.DETECTED_RELEASE_VERSION + \": \" + osProperties.get(Detector.DETECTED_RELEASE_VERSION));\n+    System.out.println(\"JVM details:\");\n+    System.out.println(\"  Java version: \" + javaVersion);\n+    System.out.println(\"  Java specification version: \" + javaSpecificationVersion);\n+    System.out.println(\"  JVM bit mode: \" + bitMode);\n+    System.out.println(\"OpenSSL details:\");\n+    System.out.println(\"  open ssl is available: \" + openSslIsAvailable);","path":"google-cloud-util/google-cloud-compat-checker/src/main/java/com/google/cloud/compatchecker/GoogleCloudCompatChecker.java","position":40,"original_position":40,"commit_id":"fdc860c5690499e0d607c62b48acd1b19e422c14","original_commit_id":"fdc860c5690499e0d607c62b48acd1b19e422c14","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [System.out.println is used](https://www.codacy.com/app/mziccard/google-cloud-java/pullRequest?prid=846976)","created_at":"2017-08-16T21:51:50Z","updated_at":"2017-08-16T21:51:50Z","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/2347#discussion_r133576518","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/2347","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments/133576518"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/2347#discussion_r133576518"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/2347"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/2347","id":136128940,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/2347","diff_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/2347.diff","patch_url":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/2347.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/2347","number":2347,"state":"open","locked":false,"title":"Checking more things in google-cloud-compat-checker","user":{"login":"garrettjonesgoogle","id":13341017,"avatar_url":"https://avatars2.githubusercontent.com/u/13341017?v=4","gravatar_id":"","url":"https://api.github.com/users/garrettjonesgoogle","html_url":"https://github.com/garrettjonesgoogle","followers_url":"https://api.github.com/users/garrettjonesgoogle/followers","following_url":"https://api.github.com/users/garrettjonesgoogle/following{/other_user}","gists_url":"https://api.github.com/users/garrettjonesgoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/garrettjonesgoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrettjonesgoogle/subscriptions","organizations_url":"https://api.github.com/users/garrettjonesgoogle/orgs","repos_url":"https://api.github.com/users/garrettjonesgoogle/repos","events_url":"https://api.github.com/users/garrettjonesgoogle/events{/privacy}","received_events_url":"https://api.github.com/users/garrettjonesgoogle/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-16T21:39:53Z","updated_at":"2017-08-16T21:51:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c874ff1f2d5609ba3d1683d4bea9032b5eda374d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"vam-google","id":25311427,"avatar_url":"https://avatars3.githubusercontent.com/u/25311427?v=4","gravatar_id":"","url":"https://api.github.com/users/vam-google","html_url":"https://github.com/vam-google","followers_url":"https://api.github.com/users/vam-google/followers","following_url":"https://api.github.com/users/vam-google/following{/other_user}","gists_url":"https://api.github.com/users/vam-google/gists{/gist_id}","starred_url":"https://api.github.com/users/vam-google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vam-google/subscriptions","organizations_url":"https://api.github.com/users/vam-google/orgs","repos_url":"https://api.github.com/users/vam-google/repos","events_url":"https://api.github.com/users/vam-google/events{/privacy}","received_events_url":"https://api.github.com/users/vam-google/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/2347/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/2347/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/2347/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/fdc860c5690499e0d607c62b48acd1b19e422c14","head":{"label":"garrettjonesgoogle:alt","ref":"alt","sha":"fdc860c5690499e0d607c62b48acd1b19e422c14","user":{"login":"garrettjonesgoogle","id":13341017,"avatar_url":"https://avatars2.githubusercontent.com/u/13341017?v=4","gravatar_id":"","url":"https://api.github.com/users/garrettjonesgoogle","html_url":"https://github.com/garrettjonesgoogle","followers_url":"https://api.github.com/users/garrettjonesgoogle/followers","following_url":"https://api.github.com/users/garrettjonesgoogle/following{/other_user}","gists_url":"https://api.github.com/users/garrettjonesgoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/garrettjonesgoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrettjonesgoogle/subscriptions","organizations_url":"https://api.github.com/users/garrettjonesgoogle/orgs","repos_url":"https://api.github.com/users/garrettjonesgoogle/repos","events_url":"https://api.github.com/users/garrettjonesgoogle/events{/privacy}","received_events_url":"https://api.github.com/users/garrettjonesgoogle/received_events","type":"User","site_admin":false},"repo":{"id":41181033,"name":"gcloud-java","full_name":"garrettjonesgoogle/gcloud-java","owner":{"login":"garrettjonesgoogle","id":13341017,"avatar_url":"https://avatars2.githubusercontent.com/u/13341017?v=4","gravatar_id":"","url":"https://api.github.com/users/garrettjonesgoogle","html_url":"https://github.com/garrettjonesgoogle","followers_url":"https://api.github.com/users/garrettjonesgoogle/followers","following_url":"https://api.github.com/users/garrettjonesgoogle/following{/other_user}","gists_url":"https://api.github.com/users/garrettjonesgoogle/gists{/gist_id}","starred_url":"https://api.github.com/users/garrettjonesgoogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrettjonesgoogle/subscriptions","organizations_url":"https://api.github.com/users/garrettjonesgoogle/orgs","repos_url":"https://api.github.com/users/garrettjonesgoogle/repos","events_url":"https://api.github.com/users/garrettjonesgoogle/events{/privacy}","received_events_url":"https://api.github.com/users/garrettjonesgoogle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/garrettjonesgoogle/gcloud-java","description":"Google Cloud Client Library for Java","fork":true,"url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java","forks_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/forks","keys_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/teams","hooks_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/hooks","issue_events_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/events","assignees_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/tags","blobs_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/languages","stargazers_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/stargazers","contributors_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/contributors","subscribers_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/subscribers","subscription_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/subscription","commits_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/merges","archive_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/downloads","issues_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/labels{/name}","releases_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/garrettjonesgoogle/gcloud-java/deployments","created_at":"2015-08-21T23:00:59Z","updated_at":"2016-02-23T23:27:33Z","pushed_at":"2017-08-16T21:48:11Z","git_url":"git://github.com/garrettjonesgoogle/gcloud-java.git","ssh_url":"git@github.com:garrettjonesgoogle/gcloud-java.git","clone_url":"https://github.com/garrettjonesgoogle/gcloud-java.git","svn_url":"https://github.com/garrettjonesgoogle/gcloud-java","homepage":"http://googlecloudplatform.github.io/gcloud-java/site/0.0.6/","size":25943,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"a890d77413d560e6d722acd0de9ec9515aad00ae","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":26181278,"name":"google-cloud-java","full_name":"GoogleCloudPlatform/google-cloud-java","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars0.githubusercontent.com/u/2810941?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/google-cloud-java","description":"Google Cloud Client Library for Java","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/deployments","created_at":"2014-11-04T17:57:16Z","updated_at":"2017-08-16T20:53:53Z","pushed_at":"2017-08-16T21:48:12Z","git_url":"git://github.com/GoogleCloudPlatform/google-cloud-java.git","ssh_url":"git@github.com:GoogleCloudPlatform/google-cloud-java.git","clone_url":"https://github.com/GoogleCloudPlatform/google-cloud-java.git","svn_url":"https://github.com/GoogleCloudPlatform/google-cloud-java","homepage":"https://googlecloudplatform.github.io/google-cloud-java/","size":190384,"stargazers_count":394,"watchers_count":394,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":258,"mirror_url":null,"open_issues_count":106,"forks":258,"open_issues":106,"watchers":394,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/2347"},"html":{"href":"https://github.com/GoogleCloudPlatform/google-cloud-java/pull/2347"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/2347"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/issues/2347/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/2347/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/pulls/2347/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-java/statuses/fdc860c5690499e0d607c62b48acd1b19e422c14"}}}}
{"actor":{"display_login":"codacy-bot"}}