From 0fbc6071c9ddeac4bb3ab498133551acafdcb3db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20L=C3=A9aut=C3=A9?= Date: Wed, 4 Feb 2015 15:28:44 -0800 Subject: [PATCH] update code attribution --- NOTICE | 8 ++++++++ .../io/druid/query/topn/AlphaNumericTopNMetricSpec.java | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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};