Просмотр исходного кода

style: add original copyright header

Stefan Strigler 2 лет назад
Родитель
Сommit
92ca2f66f5

+ 2 - 2
apps/emqx_utils/src/emqx_utils_binary.erl

@@ -1,4 +1,6 @@
 %%--------------------------------------------------------------------
+%% Original file taken from https://github.com/arcusfelis/binary2
+%% Copyright (c) 2016 Michael Uvarov
 %% Copyright (c) 2020-2023 EMQ Technologies Co., Ltd. All Rights Reserved.
 %%
 %% Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,8 +18,6 @@
 
 -module(emqx_utils_binary).
 
-%% copied from https://github.com/arcusfelis/binary2
-
 %% Bytes
 -export([
     reverse/1,

+ 5 - 0
apps/emqx_utils/test/emqx_utils_binary_tests.erl

@@ -1,3 +1,8 @@
+%%--------------------------------------------------------------------
+%% Original file taken from https://github.com/arcusfelis/binary2
+%% Copyright (c) 2016 Michael Uvarov
+%% Copyright (c) 2023 EMQ Technologies Co., Ltd. All Rights Reserved.
+%%
 -module(emqx_utils_binary_tests).
 
 -import(emqx_utils_binary, [