{"action":"created","comment":{"url":"https://api.github.com/repos/datacleaner/DataCleaner/pulls/comments/30220132","id":30220132,"diff_hunk":"@@ -204,6 +204,58 @@ public void testSortLexicographic() throws Exception {\n     }\n     \n     @Test\n+    public void testSortLexicographicCaseSensitivity() throws Exception {\n+        CreateCsvFileAnalyzer analyzer = new CreateCsvFileAnalyzer();\n+\n+        final InputColumn<String> sortColumn = new MockInputColumn<String>(\"SortColumn\");\n+        final InputColumn<String> someColumn = new MockInputColumn<String>(\"SomeColumn\", String.class);\n+\n+        analyzer.file = new File(\"target/csvtest-sortlexicographiccasesensitivity.csv\");\n+        analyzer.initTempFile();\n+        assertNotNull(analyzer.file);\n+        final String targetFilename = analyzer.file.getName();\n+\n+        analyzer.columns = new InputColumn<?>[2];\n+        analyzer.columns[0] = sortColumn;\n+        analyzer.columns[1] = someColumn;\n+\n+        analyzer.columnToBeSortedOn = sortColumn;\n+\n+        analyzer.init();\n+\n+        InputRow[] rows = new InputRow[8];\n+        rows[0] = new MockInputRow().put(sortColumn, \"Claudia\").put(someColumn, 1);\n+        rows[1] = new MockInputRow().put(sortColumn, \"Dennis\").put(someColumn, 2);\n+        rows[2] = new MockInputRow().put(sortColumn, \"Kasper\").put(someColumn, 3);\n+        rows[3] = new MockInputRow().put(sortColumn, \"Tomasz\").put(someColumn, 4);\n+        rows[4] = new MockInputRow().put(sortColumn, \"claudia\").put(someColumn, 5);\n+        rows[5] = new MockInputRow().put(sortColumn, \"dennis\").put(someColumn, 6);\n+        rows[6] = new MockInputRow().put(sortColumn, \"kasper\").put(someColumn, 7);\n+        rows[7] = new MockInputRow().put(sortColumn, \"tomasz\").put(someColumn, 8);\n+\n+        for (int i = 0; i < rows.length; i++) {\n+            analyzer.run(rows[i], i);\n+        }\n+\n+        analyzer.getResult();\n+\n+        final List<String> resultIds = new ArrayList<>(13);\n+        CsvDatastore outputDatastore = new CsvDatastore(\"csvtest-sortlexicographiccasesensitivity\", analyzer.file.getAbsolutePath());\n+        try (UpdateableDatastoreConnection outputDatastoreConnection = outputDatastore.openConnection()) {\n+            DataContext dataContext = outputDatastoreConnection.getDataContext();\n+            try (DataSet dataSet = dataContext.query().from(targetFilename).selectAll().execute()) {\n+                while (dataSet.next()) {\n+                    Row row = dataSet.getRow();\n+                    String idValue = (String) row.getValue(0);\n+                    resultIds.add(idValue);\n+                }\n+            }\n+        }\n+\n+        assertEquals(\"[Claudia, claudia, Dennis, dennis, Kasper, kasper, Tomasz, tomasz]\", resultIds.toString());","path":"components/writers/src/test/java/org/datacleaner/extension/output/CreateCsvFileAnalyzerTest.java","position":52,"original_position":52,"commit_id":"d1d927b8ba9d1e82613a72494bf53df1195583ba","original_commit_id":"d1d927b8ba9d1e82613a72494bf53df1195583ba","user":{"login":"LosD","id":1282832,"avatar_url":"https://avatars.githubusercontent.com/u/1282832?v=3","gravatar_id":"","url":"https://api.github.com/users/LosD","html_url":"https://github.com/LosD","followers_url":"https://api.github.com/users/LosD/followers","following_url":"https://api.github.com/users/LosD/following{/other_user}","gists_url":"https://api.github.com/users/LosD/gists{/gist_id}","starred_url":"https://api.github.com/users/LosD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LosD/subscriptions","organizations_url":"https://api.github.com/users/LosD/orgs","repos_url":"https://api.github.com/users/LosD/repos","events_url":"https://api.github.com/users/LosD/events{/privacy}","received_events_url":"https://api.github.com/users/LosD/received_events","type":"User","site_admin":false},"body":"Hehe, I like the use of us! :)","created_at":"2015-05-13T10:54:50Z","updated_at":"2015-05-13T10:54:50Z","html_url":"https://github.com/datacleaner/DataCleaner/pull/431#discussion_r30220132","pull_request_url":"https://api.github.com/repos/datacleaner/DataCleaner/pulls/431","_links":{"self":{"href":"https://api.github.com/repos/datacleaner/DataCleaner/pulls/comments/30220132"},"html":{"href":"https://github.com/datacleaner/DataCleaner/pull/431#discussion_r30220132"},"pull_request":{"href":"https://api.github.com/repos/datacleaner/DataCleaner/pulls/431"}}},"pull_request":{"url":"https://api.github.com/repos/datacleaner/DataCleaner/pulls/431","id":35309008,"html_url":"https://github.com/datacleaner/DataCleaner/pull/431","diff_url":"https://github.com/datacleaner/DataCleaner/pull/431.diff","patch_url":"https://github.com/datacleaner/DataCleaner/pull/431.patch","issue_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/431","number":431,"state":"open","locked":false,"title":"Bug/360 sort integers version 2","user":{"login":"tomaszguzialek","id":1483194,"avatar_url":"https://avatars.githubusercontent.com/u/1483194?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszguzialek","html_url":"https://github.com/tomaszguzialek","followers_url":"https://api.github.com/users/tomaszguzialek/followers","following_url":"https://api.github.com/users/tomaszguzialek/following{/other_user}","gists_url":"https://api.github.com/users/tomaszguzialek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszguzialek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszguzialek/subscriptions","organizations_url":"https://api.github.com/users/tomaszguzialek/orgs","repos_url":"https://api.github.com/users/tomaszguzialek/repos","events_url":"https://api.github.com/users/tomaszguzialek/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszguzialek/received_events","type":"User","site_admin":false},"body":"Fixes #360 \r\n\r\nFixes case-sensitivity while sorting lexicographically.","created_at":"2015-05-13T09:32:55Z","updated_at":"2015-05-13T10:54:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c16c718d49a3577605bbb739dd3ee556235c2e28","assignee":{"login":"tomaszguzialek","id":1483194,"avatar_url":"https://avatars.githubusercontent.com/u/1483194?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszguzialek","html_url":"https://github.com/tomaszguzialek","followers_url":"https://api.github.com/users/tomaszguzialek/followers","following_url":"https://api.github.com/users/tomaszguzialek/following{/other_user}","gists_url":"https://api.github.com/users/tomaszguzialek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszguzialek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszguzialek/subscriptions","organizations_url":"https://api.github.com/users/tomaszguzialek/orgs","repos_url":"https://api.github.com/users/tomaszguzialek/repos","events_url":"https://api.github.com/users/tomaszguzialek/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszguzialek/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/datacleaner/DataCleaner/pulls/431/commits","review_comments_url":"https://api.github.com/repos/datacleaner/DataCleaner/pulls/431/comments","review_comment_url":"https://api.github.com/repos/datacleaner/DataCleaner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/431/comments","statuses_url":"https://api.github.com/repos/datacleaner/DataCleaner/statuses/d1d927b8ba9d1e82613a72494bf53df1195583ba","head":{"label":"datacleaner:bug/360-sort-integers-version-2","ref":"bug/360-sort-integers-version-2","sha":"d1d927b8ba9d1e82613a72494bf53df1195583ba","user":{"login":"datacleaner","id":1665195,"avatar_url":"https://avatars.githubusercontent.com/u/1665195?v=3","gravatar_id":"","url":"https://api.github.com/users/datacleaner","html_url":"https://github.com/datacleaner","followers_url":"https://api.github.com/users/datacleaner/followers","following_url":"https://api.github.com/users/datacleaner/following{/other_user}","gists_url":"https://api.github.com/users/datacleaner/gists{/gist_id}","starred_url":"https://api.github.com/users/datacleaner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datacleaner/subscriptions","organizations_url":"https://api.github.com/users/datacleaner/orgs","repos_url":"https://api.github.com/users/datacleaner/repos","events_url":"https://api.github.com/users/datacleaner/events{/privacy}","received_events_url":"https://api.github.com/users/datacleaner/received_events","type":"Organization","site_admin":false},"repo":{"id":17034809,"name":"DataCleaner","full_name":"datacleaner/DataCleaner","owner":{"login":"datacleaner","id":1665195,"avatar_url":"https://avatars.githubusercontent.com/u/1665195?v=3","gravatar_id":"","url":"https://api.github.com/users/datacleaner","html_url":"https://github.com/datacleaner","followers_url":"https://api.github.com/users/datacleaner/followers","following_url":"https://api.github.com/users/datacleaner/following{/other_user}","gists_url":"https://api.github.com/users/datacleaner/gists{/gist_id}","starred_url":"https://api.github.com/users/datacleaner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datacleaner/subscriptions","organizations_url":"https://api.github.com/users/datacleaner/orgs","repos_url":"https://api.github.com/users/datacleaner/repos","events_url":"https://api.github.com/users/datacleaner/events{/privacy}","received_events_url":"https://api.github.com/users/datacleaner/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datacleaner/DataCleaner","description":"The premier open source Data Quality solution","fork":false,"url":"https://api.github.com/repos/datacleaner/DataCleaner","forks_url":"https://api.github.com/repos/datacleaner/DataCleaner/forks","keys_url":"https://api.github.com/repos/datacleaner/DataCleaner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datacleaner/DataCleaner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datacleaner/DataCleaner/teams","hooks_url":"https://api.github.com/repos/datacleaner/DataCleaner/hooks","issue_events_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/events{/number}","events_url":"https://api.github.com/repos/datacleaner/DataCleaner/events","assignees_url":"https://api.github.com/repos/datacleaner/DataCleaner/assignees{/user}","branches_url":"https://api.github.com/repos/datacleaner/DataCleaner/branches{/branch}","tags_url":"https://api.github.com/repos/datacleaner/DataCleaner/tags","blobs_url":"https://api.github.com/repos/datacleaner/DataCleaner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datacleaner/DataCleaner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datacleaner/DataCleaner/git/refs{/sha}","trees_url":"https://api.github.com/repos/datacleaner/DataCleaner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datacleaner/DataCleaner/statuses/{sha}","languages_url":"https://api.github.com/repos/datacleaner/DataCleaner/languages","stargazers_url":"https://api.github.com/repos/datacleaner/DataCleaner/stargazers","contributors_url":"https://api.github.com/repos/datacleaner/DataCleaner/contributors","subscribers_url":"https://api.github.com/repos/datacleaner/DataCleaner/subscribers","subscription_url":"https://api.github.com/repos/datacleaner/DataCleaner/subscription","commits_url":"https://api.github.com/repos/datacleaner/DataCleaner/commits{/sha}","git_commits_url":"https://api.github.com/repos/datacleaner/DataCleaner/git/commits{/sha}","comments_url":"https://api.github.com/repos/datacleaner/DataCleaner/comments{/number}","issue_comment_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/comments{/number}","contents_url":"https://api.github.com/repos/datacleaner/DataCleaner/contents/{+path}","compare_url":"https://api.github.com/repos/datacleaner/DataCleaner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datacleaner/DataCleaner/merges","archive_url":"https://api.github.com/repos/datacleaner/DataCleaner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datacleaner/DataCleaner/downloads","issues_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues{/number}","pulls_url":"https://api.github.com/repos/datacleaner/DataCleaner/pulls{/number}","milestones_url":"https://api.github.com/repos/datacleaner/DataCleaner/milestones{/number}","notifications_url":"https://api.github.com/repos/datacleaner/DataCleaner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datacleaner/DataCleaner/labels{/name}","releases_url":"https://api.github.com/repos/datacleaner/DataCleaner/releases{/id}","created_at":"2014-02-20T20:37:25Z","updated_at":"2015-05-13T08:37:01Z","pushed_at":"2015-05-13T09:32:55Z","git_url":"git://github.com/datacleaner/DataCleaner.git","ssh_url":"git@github.com:datacleaner/DataCleaner.git","clone_url":"https://github.com/datacleaner/DataCleaner.git","svn_url":"https://github.com/datacleaner/DataCleaner","homepage":null,"size":174261,"stargazers_count":26,"watchers_count":26,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":90,"forks":22,"open_issues":90,"watchers":26,"default_branch":"master"}},"base":{"label":"datacleaner:master","ref":"master","sha":"ce7cb1775503641b3cdfe3bd3d512e634e104067","user":{"login":"datacleaner","id":1665195,"avatar_url":"https://avatars.githubusercontent.com/u/1665195?v=3","gravatar_id":"","url":"https://api.github.com/users/datacleaner","html_url":"https://github.com/datacleaner","followers_url":"https://api.github.com/users/datacleaner/followers","following_url":"https://api.github.com/users/datacleaner/following{/other_user}","gists_url":"https://api.github.com/users/datacleaner/gists{/gist_id}","starred_url":"https://api.github.com/users/datacleaner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datacleaner/subscriptions","organizations_url":"https://api.github.com/users/datacleaner/orgs","repos_url":"https://api.github.com/users/datacleaner/repos","events_url":"https://api.github.com/users/datacleaner/events{/privacy}","received_events_url":"https://api.github.com/users/datacleaner/received_events","type":"Organization","site_admin":false},"repo":{"id":17034809,"name":"DataCleaner","full_name":"datacleaner/DataCleaner","owner":{"login":"datacleaner","id":1665195,"avatar_url":"https://avatars.githubusercontent.com/u/1665195?v=3","gravatar_id":"","url":"https://api.github.com/users/datacleaner","html_url":"https://github.com/datacleaner","followers_url":"https://api.github.com/users/datacleaner/followers","following_url":"https://api.github.com/users/datacleaner/following{/other_user}","gists_url":"https://api.github.com/users/datacleaner/gists{/gist_id}","starred_url":"https://api.github.com/users/datacleaner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datacleaner/subscriptions","organizations_url":"https://api.github.com/users/datacleaner/orgs","repos_url":"https://api.github.com/users/datacleaner/repos","events_url":"https://api.github.com/users/datacleaner/events{/privacy}","received_events_url":"https://api.github.com/users/datacleaner/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datacleaner/DataCleaner","description":"The premier open source Data Quality solution","fork":false,"url":"https://api.github.com/repos/datacleaner/DataCleaner","forks_url":"https://api.github.com/repos/datacleaner/DataCleaner/forks","keys_url":"https://api.github.com/repos/datacleaner/DataCleaner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datacleaner/DataCleaner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datacleaner/DataCleaner/teams","hooks_url":"https://api.github.com/repos/datacleaner/DataCleaner/hooks","issue_events_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/events{/number}","events_url":"https://api.github.com/repos/datacleaner/DataCleaner/events","assignees_url":"https://api.github.com/repos/datacleaner/DataCleaner/assignees{/user}","branches_url":"https://api.github.com/repos/datacleaner/DataCleaner/branches{/branch}","tags_url":"https://api.github.com/repos/datacleaner/DataCleaner/tags","blobs_url":"https://api.github.com/repos/datacleaner/DataCleaner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datacleaner/DataCleaner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datacleaner/DataCleaner/git/refs{/sha}","trees_url":"https://api.github.com/repos/datacleaner/DataCleaner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datacleaner/DataCleaner/statuses/{sha}","languages_url":"https://api.github.com/repos/datacleaner/DataCleaner/languages","stargazers_url":"https://api.github.com/repos/datacleaner/DataCleaner/stargazers","contributors_url":"https://api.github.com/repos/datacleaner/DataCleaner/contributors","subscribers_url":"https://api.github.com/repos/datacleaner/DataCleaner/subscribers","subscription_url":"https://api.github.com/repos/datacleaner/DataCleaner/subscription","commits_url":"https://api.github.com/repos/datacleaner/DataCleaner/commits{/sha}","git_commits_url":"https://api.github.com/repos/datacleaner/DataCleaner/git/commits{/sha}","comments_url":"https://api.github.com/repos/datacleaner/DataCleaner/comments{/number}","issue_comment_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues/comments{/number}","contents_url":"https://api.github.com/repos/datacleaner/DataCleaner/contents/{+path}","compare_url":"https://api.github.com/repos/datacleaner/DataCleaner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datacleaner/DataCleaner/merges","archive_url":"https://api.github.com/repos/datacleaner/DataCleaner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datacleaner/DataCleaner/downloads","issues_url":"https://api.github.com/repos/datacleaner/DataCleaner/issues{/number}","pulls_url":"https://api.github.com/repos/datacleaner/DataCleaner/pulls{/number}","milestones_url":"https://api.github.com/repos/datacleaner/DataCleaner/milestones{/number}","notifications_url":"https://api.github.com/repos/datacleaner/DataCleaner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datacleaner/DataCleaner/labels{/name}","releases_url":"https://api.github.com/repos/datacleaner/DataCleaner/releases{/id}","created_at":"2014-02-20T20:37:25Z","updated_at":"2015-05-13T08:37:01Z","pushed_at":"2015-05-13T09:32:55Z","git_url":"git://github.com/datacleaner/DataCleaner.git","ssh_url":"git@github.com:datacleaner/DataCleaner.git","clone_url":"https://github.com/datacleaner/DataCleaner.git","svn_url":"https://github.com/datacleaner/DataCleaner","homepage":null,"size":174261,"stargazers_count":26,"watchers_count":26,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":90,"forks":22,"open_issues":90,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/datacleaner/DataCleaner/pulls/431"},"html":{"href":"https://github.com/datacleaner/DataCleaner/pull/431"},"issue":{"href":"https://api.github.com/repos/datacleaner/DataCleaner/issues/431"},"comments":{"href":"https://api.github.com/repos/datacleaner/DataCleaner/issues/431/comments"},"review_comments":{"href":"https://api.github.com/repos/datacleaner/DataCleaner/pulls/431/comments"},"review_comment":{"href":"https://api.github.com/repos/datacleaner/DataCleaner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datacleaner/DataCleaner/pulls/431/commits"},"statuses":{"href":"https://api.github.com/repos/datacleaner/DataCleaner/statuses/d1d927b8ba9d1e82613a72494bf53df1195583ba"}}}}