{"action":"reopened","issue":{"url":"https://api.github.com/repos/yegor256/s3auth/issues/257","labels_url":"https://api.github.com/repos/yegor256/s3auth/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/yegor256/s3auth/issues/257/comments","events_url":"https://api.github.com/repos/yegor256/s3auth/issues/257/events","html_url":"https://github.com/yegor256/s3auth/issues/257","id":54319727,"number":257,"title":"Incomplete documentation: LocalHost.isIt()","user":{"login":"darkled","id":3275813,"avatar_url":"https://avatars.githubusercontent.com/u/3275813?v=3","gravatar_id":"","url":"https://api.github.com/users/darkled","html_url":"https://github.com/darkled","followers_url":"https://api.github.com/users/darkled/followers","following_url":"https://api.github.com/users/darkled/following{/other_user}","gists_url":"https://api.github.com/users/darkled/gists{/gist_id}","starred_url":"https://api.github.com/users/darkled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkled/subscriptions","organizations_url":"https://api.github.com/users/darkled/orgs","repos_url":"https://api.github.com/users/darkled/repos","events_url":"https://api.github.com/users/darkled/events{/privacy}","received_events_url":"https://api.github.com/users/darkled/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yegor256/s3auth/labels/30%20mins","name":"30 mins","color":"eb6421"},{"url":"https://api.github.com/repos/yegor256/s3auth/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/yegor256/s3auth/labels/DEV","name":"DEV","color":"bfd4f3"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/yegor256/s3auth/milestones/1","html_url":"https://github.com/yegor256/s3auth/milestones/1.0","labels_url":"https://api.github.com/repos/yegor256/s3auth/milestones/1/labels","id":188741,"number":1,"title":"1.0","description":"first stable version","creator":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":17,"state":"open","created_at":"2012-10-03T11:15:34Z","updated_at":"2015-09-30T09:02:10Z","due_on":"2012-12-20T08:00:00Z","closed_at":null},"comments":10,"created_at":"2015-01-14T13:06:06Z","updated_at":"2015-09-30T09:02:10Z","closed_at":null,"body":"For the moment method `com.s3auth.relay.LocalHost.isIt(String)` with its documentation looks pretty confusing:\r\n```java\r\n/**\r\n * Is it your name?\r\n * @param name The name of host, provided in \"Host\" HTTP header\r\n * @return TRUE if this is a localhost\r\n */\r\npublic static boolean isIt(@NotNull final String name) {\r\n    return \"relay.s3auth.com\".equals(name);\r\n}\r\n```\r\n\r\nInstinctively, it should compare `name`against `\"localhost:...\"`. Therefore it looks like something in the javadoc missed. What is the real purpose to have such method and what is `\"relay.s3auth.com\"`?"}}