mirror of https://github.com/apache/druid.git
Merge pull request #1090 from metamx/alphanum-attribution
update code attribution
This commit is contained in:
commit
42e902b6e3
8
NOTICE
8
NOTICE
|
@ -1,2 +1,10 @@
|
||||||
Druid - a distributed column store.
|
Druid - a distributed column store.
|
||||||
Copyright 2012-2015 Metamarkets Group Inc.
|
Copyright 2012-2015 Metamarkets Group Inc.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
This product contains a modified version of Andrew Duffy's java-alphanum library
|
||||||
|
* LICENSE:
|
||||||
|
* https://github.com/amjjd/java-alphanum/blob/5c036e2e492cc7f3b7bcdebd46b8f9e2a87927e5/LICENSE.txt (Apache License, Version 2.0)
|
||||||
|
* HOMEPAGE:
|
||||||
|
* https://github.com/amjjd/java-alphanum
|
||||||
|
|
|
@ -33,7 +33,7 @@ public class AlphaNumericTopNMetricSpec extends LexicographicTopNMetricSpec
|
||||||
|
|
||||||
protected static Comparator<String> comparator = new Comparator<String>()
|
protected static Comparator<String> comparator = new Comparator<String>()
|
||||||
{
|
{
|
||||||
// This code is based on the Apache 2.0 licensed java-alphanum library (https://github.com/amjjd/java-alphanum)
|
// This code is based on https://github.com/amjjd/java-alphanum, see NOTICE file for more information
|
||||||
public int compare(String str1, String str2)
|
public int compare(String str1, String str2)
|
||||||
{
|
{
|
||||||
int[] pos = {0, 0};
|
int[] pos = {0, 0};
|
||||||
|
|
Loading…
Reference in New Issue