diff --git a/NOTICE b/NOTICE index 15ee7014be2..220db0838b1 100644 --- a/NOTICE +++ b/NOTICE @@ -1,2 +1,10 @@ Druid - a distributed column store. 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 diff --git a/processing/src/main/java/io/druid/query/topn/AlphaNumericTopNMetricSpec.java b/processing/src/main/java/io/druid/query/topn/AlphaNumericTopNMetricSpec.java index cc31fa0fe5f..45dee3403dd 100644 --- a/processing/src/main/java/io/druid/query/topn/AlphaNumericTopNMetricSpec.java +++ b/processing/src/main/java/io/druid/query/topn/AlphaNumericTopNMetricSpec.java @@ -33,7 +33,7 @@ public class AlphaNumericTopNMetricSpec extends LexicographicTopNMetricSpec protected static Comparator comparator = new Comparator() { - // 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) { int[] pos = {0, 0};