+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.common; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/config/ConsumerConfig.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/config/ConsumerConfig.java index a8e4539d2db..81d9a5eb735 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/config/ConsumerConfig.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/config/ConsumerConfig.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.config; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/config/TubeClientConfig.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/config/TubeClientConfig.java index f030ac8b6e8..244a06b2a3c 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/config/TubeClientConfig.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/config/TubeClientConfig.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.config; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/config/TubeClientConfigUtils.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/config/TubeClientConfigUtils.java index 03f91aec67e..a431b1d1b6a 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/config/TubeClientConfigUtils.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/config/TubeClientConfigUtils.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.config; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/BaseMessageConsumer.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/BaseMessageConsumer.java index 6d5d6a8949f..521995cfafe 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/BaseMessageConsumer.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/BaseMessageConsumer.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ClientSubInfo.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ClientSubInfo.java index b0b1de10226..d8bc79b93f0 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ClientSubInfo.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ClientSubInfo.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ConsumeOffsetInfo.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ConsumeOffsetInfo.java index fd205ce7b6d..ebd0c7aaf7d 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ConsumeOffsetInfo.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ConsumeOffsetInfo.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ConsumerResult.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ConsumerResult.java index 271ea4d01f0..c61175689d5 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ConsumerResult.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ConsumerResult.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ConsumerSamplePrint.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ConsumerSamplePrint.java index 7e34bbc8ecc..6d43e6e0857 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ConsumerSamplePrint.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/ConsumerSamplePrint.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/FetchContext.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/FetchContext.java index d9fc4e48ce3..a518147ba82 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/FetchContext.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/FetchContext.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/MessageConsumer.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/MessageConsumer.java index 7d38ff62b02..392677e58ae 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/MessageConsumer.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/MessageConsumer.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/MessageFetchManager.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/MessageFetchManager.java index 4865974339b..0d8fb9ce68a 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/MessageFetchManager.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/MessageFetchManager.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/MessageListener.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/MessageListener.java index 87218f57e83..4a0da469e21 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/MessageListener.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/MessageListener.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PartitionExt.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PartitionExt.java index 6191b57d848..c00fafdd25a 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PartitionExt.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PartitionExt.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PartitionSelectResult.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PartitionSelectResult.java index 5694f476af3..871c24d2ae5 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PartitionSelectResult.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PartitionSelectResult.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PullMessageConsumer.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PullMessageConsumer.java index 42f1c520bf1..4acca1a10af 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PullMessageConsumer.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PullMessageConsumer.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PushMessageConsumer.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PushMessageConsumer.java index 0ef8e7ca63a..221a577599b 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PushMessageConsumer.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/PushMessageConsumer.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/RmtDataCache.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/RmtDataCache.java index 0ebfc237b62..1ea500d0117 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/RmtDataCache.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/RmtDataCache.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/SimplePullMessageConsumer.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/SimplePullMessageConsumer.java index b311a5f6625..23085162830 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/SimplePullMessageConsumer.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/SimplePullMessageConsumer.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/SimplePushMessageConsumer.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/SimplePushMessageConsumer.java index a1eaae641d0..2ccd4c81f42 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/SimplePushMessageConsumer.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/SimplePushMessageConsumer.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/TopicProcessor.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/TopicProcessor.java index 590ae101aa4..19462148500 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/TopicProcessor.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/consumer/TopicProcessor.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/exception/TubeClientException.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/exception/TubeClientException.java index bcf8f4e09a5..a58861c28f2 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/exception/TubeClientException.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/exception/TubeClientException.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.exception; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/InnerSessionFactory.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/InnerSessionFactory.java index 8fcaa841f19..6544c577ddb 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/InnerSessionFactory.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/InnerSessionFactory.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.factory; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/MessageSessionFactory.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/MessageSessionFactory.java index 37cc5bbb6dc..d8200e53ac4 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/MessageSessionFactory.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/MessageSessionFactory.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.factory; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/TubeBaseSessionFactory.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/TubeBaseSessionFactory.java index 577548aa03b..21d399e5250 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/TubeBaseSessionFactory.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/TubeBaseSessionFactory.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.factory; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/TubeMultiSessionFactory.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/TubeMultiSessionFactory.java index d58712dfe3d..d58a2c5d6c1 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/TubeMultiSessionFactory.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/TubeMultiSessionFactory.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.factory; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/TubeSingleSessionFactory.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/TubeSingleSessionFactory.java index b252f32433f..551edbf1418 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/TubeSingleSessionFactory.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/factory/TubeSingleSessionFactory.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.factory; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/MessageProducer.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/MessageProducer.java index 17a43bd9de8..29318c28406 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/MessageProducer.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/MessageProducer.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.producer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/MessageSentCallback.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/MessageSentCallback.java index 12dae1448f2..fa29b5e28f9 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/MessageSentCallback.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/MessageSentCallback.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.producer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/MessageSentResult.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/MessageSentResult.java index a4fb10d422b..d3ea204825d 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/MessageSentResult.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/MessageSentResult.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.producer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/PartitionRouter.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/PartitionRouter.java index a1e2fe13747..90af446cbcf 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/PartitionRouter.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/PartitionRouter.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.producer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/ProducerManager.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/ProducerManager.java index f978505ec51..b4079f496e3 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/ProducerManager.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/ProducerManager.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.producer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/RoundRobinPartitionRouter.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/RoundRobinPartitionRouter.java index 72182a62c2a..fb47d2d9a38 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/RoundRobinPartitionRouter.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/RoundRobinPartitionRouter.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.producer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/SimpleMessageProducer.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/SimpleMessageProducer.java index 7690cab4317..fa8a052c1bc 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/SimpleMessageProducer.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/SimpleMessageProducer.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.producer; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/BrokerRcvQltyStats.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/BrokerRcvQltyStats.java index 2d211c014c6..96bc4cfabe8 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/BrokerRcvQltyStats.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/BrokerRcvQltyStats.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.producer.qltystats; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/BrokerStatsDltTuple.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/BrokerStatsDltTuple.java index d1a3b5588be..eba4f62b69a 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/BrokerStatsDltTuple.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/BrokerStatsDltTuple.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.producer.qltystats; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/BrokerStatsItemSet.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/BrokerStatsItemSet.java index 97f693ee2db..0a7434b58ee 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/BrokerStatsItemSet.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/BrokerStatsItemSet.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.producer.qltystats; diff --git a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/DefaultBrokerRcvQltyStats.java b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/DefaultBrokerRcvQltyStats.java index f16a8cae6ef..021851fe566 100644 --- a/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/DefaultBrokerRcvQltyStats.java +++ b/tubemq-client/src/main/java/com/tencent/tubemq/client/producer/qltystats/DefaultBrokerRcvQltyStats.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.producer.qltystats; diff --git a/tubemq-client/src/saveClientVersion.cmd b/tubemq-client/src/saveClientVersion.cmd index db3a36d1788..a613e70733d 100755 --- a/tubemq-client/src/saveClientVersion.cmd +++ b/tubemq-client/src/saveClientVersion.cmd @@ -1,17 +1,18 @@ -@rem Tencent is pleased to support the open source community by making TubeMQ available. @rem -@rem Copyright (C) 2012-2019 Tencent. All Rights Reserved. +@rem Licensed to the Apache Software Foundation (ASF) under one or more +@rem contributor license agreements. See the NOTICE file distributed with +@rem this work for additional information regarding copyright ownership. +@rem The ASF licenses this file to You under the Apache License, Version 2.0 +@rem (the "License"); you may not use this file except in compliance with +@rem the License. You may obtain a copy of the License at @rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); you may not use -@rem this file except in compliance with the License. You may obtain a copy of the -@rem License at -@rem -@rem https://opensource.org/licenses/Apache-2.0 +@rem http://www.apache.org/licenses/LICENSE-2.0 @rem @rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -@rem WARRANTIES OF ANY KIND, either express or implied. See the License for the -@rem specific language governing permissions and limitations under the License. +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. @rem @echo off diff --git a/tubemq-client/src/saveClientVersion.sh b/tubemq-client/src/saveClientVersion.sh index c1e58492cc2..eeb29bdd750 100755 --- a/tubemq-client/src/saveClientVersion.sh +++ b/tubemq-client/src/saveClientVersion.sh @@ -1,19 +1,21 @@ #!/usr/bin/env bash -# Tencent is pleased to support the open source community by making TubeMQ available. # -# Copyright (C) 2012-2019 Tencent. All Rights Reserved. +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); you may not use -# this file except in compliance with the License. You may obtain a copy of the -# License at -# -# https://opensource.org/licenses/Apache-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OF ANY KIND, either express or implied. See the License for the -# specific language governing permissions and limitations under the License. +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# unset LANG unset LC_CTYPE diff --git a/tubemq-client/src/test/java/com/tencent/tubemq/client/consumer/MessageFetchManagerTest.java b/tubemq-client/src/test/java/com/tencent/tubemq/client/consumer/MessageFetchManagerTest.java index 0511a233832..dd754f8e7d7 100644 --- a/tubemq-client/src/test/java/com/tencent/tubemq/client/consumer/MessageFetchManagerTest.java +++ b/tubemq-client/src/test/java/com/tencent/tubemq/client/consumer/MessageFetchManagerTest.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/test/java/com/tencent/tubemq/client/consumer/PartitionExtTest.java b/tubemq-client/src/test/java/com/tencent/tubemq/client/consumer/PartitionExtTest.java index b520e1d089f..a41af023c00 100644 --- a/tubemq-client/src/test/java/com/tencent/tubemq/client/consumer/PartitionExtTest.java +++ b/tubemq-client/src/test/java/com/tencent/tubemq/client/consumer/PartitionExtTest.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/test/java/com/tencent/tubemq/client/consumer/RmtDataCacheTest.java b/tubemq-client/src/test/java/com/tencent/tubemq/client/consumer/RmtDataCacheTest.java index 8913da40956..3e28bf6b7ef 100644 --- a/tubemq-client/src/test/java/com/tencent/tubemq/client/consumer/RmtDataCacheTest.java +++ b/tubemq-client/src/test/java/com/tencent/tubemq/client/consumer/RmtDataCacheTest.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.consumer; diff --git a/tubemq-client/src/test/java/com/tencent/tubemq/client/factory/TubeBaseSessionFactoryTest.java b/tubemq-client/src/test/java/com/tencent/tubemq/client/factory/TubeBaseSessionFactoryTest.java index 5a8ed35ebf3..52e34308388 100644 --- a/tubemq-client/src/test/java/com/tencent/tubemq/client/factory/TubeBaseSessionFactoryTest.java +++ b/tubemq-client/src/test/java/com/tencent/tubemq/client/factory/TubeBaseSessionFactoryTest.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.factory; diff --git a/tubemq-client/src/test/java/com/tencent/tubemq/client/factory/TubeMultiSessionFactoryTest.java b/tubemq-client/src/test/java/com/tencent/tubemq/client/factory/TubeMultiSessionFactoryTest.java index db4af1f3411..6a067a77f5b 100644 --- a/tubemq-client/src/test/java/com/tencent/tubemq/client/factory/TubeMultiSessionFactoryTest.java +++ b/tubemq-client/src/test/java/com/tencent/tubemq/client/factory/TubeMultiSessionFactoryTest.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.factory; diff --git a/tubemq-client/src/test/java/com/tencent/tubemq/client/factory/TubeSingleSessionFactoryTest.java b/tubemq-client/src/test/java/com/tencent/tubemq/client/factory/TubeSingleSessionFactoryTest.java index efe1066e33b..49762604104 100644 --- a/tubemq-client/src/test/java/com/tencent/tubemq/client/factory/TubeSingleSessionFactoryTest.java +++ b/tubemq-client/src/test/java/com/tencent/tubemq/client/factory/TubeSingleSessionFactoryTest.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.factory; diff --git a/tubemq-client/src/test/java/com/tencent/tubemq/client/producer/RoundRobinPartitionRouterTest.java b/tubemq-client/src/test/java/com/tencent/tubemq/client/producer/RoundRobinPartitionRouterTest.java index 8a3110ce026..5e7cb01453e 100644 --- a/tubemq-client/src/test/java/com/tencent/tubemq/client/producer/RoundRobinPartitionRouterTest.java +++ b/tubemq-client/src/test/java/com/tencent/tubemq/client/producer/RoundRobinPartitionRouterTest.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ package com.tencent.tubemq.client.producer; diff --git a/tubemq-client/src/test/java/com/tencent/tubemq/client/producer/qltystats/DefaultBrokerRcvQltyStatsTest.java b/tubemq-client/src/test/java/com/tencent/tubemq/client/producer/qltystats/DefaultBrokerRcvQltyStatsTest.java index c1ba5d2d368..5559369bdb6 100644 --- a/tubemq-client/src/test/java/com/tencent/tubemq/client/producer/qltystats/DefaultBrokerRcvQltyStatsTest.java +++ b/tubemq-client/src/test/java/com/tencent/tubemq/client/producer/qltystats/DefaultBrokerRcvQltyStatsTest.java @@ -1,18 +1,18 @@ -/* - * Tencent is pleased to support the open source community by making TubeMQ available. - * - * Copyright (C) 2012-2019 Tencent. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use - * this file except in compliance with the License. You may obtain a copy of the - * License at - * - * https://opensource.org/licenses/Apache-2.0 - * +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + *
+ * http://www.apache.org/licenses/LICENSE-2.0 + *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.client.producer.qltystats;
diff --git a/tubemq-core/pom.xml b/tubemq-core/pom.xml
index 6a9fc00a87a..c74e237d4ca 100644
--- a/tubemq-core/pom.xml
+++ b/tubemq-core/pom.xml
@@ -1,20 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+-->
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/MessageExt.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/MessageExt.java
index dc07174e647..b2846911eac 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/MessageExt.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/MessageExt.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/Shutdownable.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/Shutdownable.java
index 197887b0452..cd7ceb6d214 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/Shutdownable.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/Shutdownable.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/TBaseConstants.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/TBaseConstants.java
index 6f5e9f9fcfa..b7b967b478f 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/TBaseConstants.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/TBaseConstants.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/TErrCodeConstants.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/TErrCodeConstants.java
index 3a6002af803..e9a79e224d8 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/TErrCodeConstants.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/TErrCodeConstants.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/TokenConstants.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/TokenConstants.java
index 6f5824a7075..040d7c0029b 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/TokenConstants.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/TokenConstants.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/aaaclient/ClientAuthenticateHandler.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/aaaclient/ClientAuthenticateHandler.java
index 2eea19b3342..6a5382a712f 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/aaaclient/ClientAuthenticateHandler.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/aaaclient/ClientAuthenticateHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.aaaclient;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/aaaclient/SimpleClientAuthenticateHandler.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/aaaclient/SimpleClientAuthenticateHandler.java
index 371dd78b099..5a06c9ae0c4 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/aaaclient/SimpleClientAuthenticateHandler.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/aaaclient/SimpleClientAuthenticateHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.aaaclient;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/balance/ConsumerEvent.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/balance/ConsumerEvent.java
index a2957ab0cbe..33a5cf173c2 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/balance/ConsumerEvent.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/balance/ConsumerEvent.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.balance;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/balance/EventStatus.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/balance/EventStatus.java
index 767010374f8..18c202c7499 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/balance/EventStatus.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/balance/EventStatus.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.balance;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/balance/EventType.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/balance/EventType.java
index a04147518b4..42f42311e83 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/balance/EventType.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/balance/EventType.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.balance;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/BrokerInfo.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/BrokerInfo.java
index fa281c201c9..e086eef353e 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/BrokerInfo.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/BrokerInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.cluster;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/ConsumerInfo.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/ConsumerInfo.java
index 358c6a7222f..59b881aec58 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/ConsumerInfo.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/ConsumerInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.cluster;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/MasterInfo.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/MasterInfo.java
index 3bc40a0513c..1aabfdaca2f 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/MasterInfo.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/MasterInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.cluster;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/NodeAddrInfo.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/NodeAddrInfo.java
index 1903fc14e29..286773443b3 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/NodeAddrInfo.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/NodeAddrInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.cluster;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/Partition.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/Partition.java
index 2b35a279dfe..19de380b033 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/Partition.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/Partition.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.cluster;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/ProducerInfo.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/ProducerInfo.java
index 972e569193f..88466d5e8e9 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/ProducerInfo.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/ProducerInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.cluster;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/SubscribeInfo.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/SubscribeInfo.java
index 993c26d4b45..9778ba28fc8 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/SubscribeInfo.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/SubscribeInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.cluster;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/TopicInfo.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/TopicInfo.java
index 8a09434b8e0..e46be63c048 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/TopicInfo.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/cluster/TopicInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.cluster;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/config/TLSConfig.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/config/TLSConfig.java
index eb122e4578c..c32c900339e 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/config/TLSConfig.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/config/TLSConfig.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.config;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/daemon/AbstractDaemonService.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/daemon/AbstractDaemonService.java
index b8f3cf1755f..ca3a92a743e 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/daemon/AbstractDaemonService.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/daemon/AbstractDaemonService.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.daemon;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/daemon/Service.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/daemon/Service.java
index f127c511f35..de2db37f420 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/daemon/Service.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/daemon/Service.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.daemon;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/FlowCtrlItem.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/FlowCtrlItem.java
index e01e7de5e58..cd64c3cdbd3 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/FlowCtrlItem.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/FlowCtrlItem.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.policies;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/FlowCtrlResult.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/FlowCtrlResult.java
index 7db10e09b9f..2d269d15ca2 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/FlowCtrlResult.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/FlowCtrlResult.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.policies;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/FlowCtrlRuleHandler.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/FlowCtrlRuleHandler.java
index 14404e1d33b..ace26014015 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/FlowCtrlRuleHandler.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/FlowCtrlRuleHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.policies;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/SSDCtrlResult.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/SSDCtrlResult.java
index 0519295af9f..11870bcdb00 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/SSDCtrlResult.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/policies/SSDCtrlResult.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.policies;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/AbstractSamplePrint.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/AbstractSamplePrint.java
index abb4c7985f2..82c3bb46ced 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/AbstractSamplePrint.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/AbstractSamplePrint.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.utils;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/AddressUtils.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/AddressUtils.java
index 64275c9a98c..db6c9203880 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/AddressUtils.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/AddressUtils.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.utils;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/CheckSum.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/CheckSum.java
index 283f86bad9c..b0997d5cfaa 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/CheckSum.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/CheckSum.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.utils;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/ConcurrentHashSet.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/ConcurrentHashSet.java
index 90e06351b96..1a19ad687d4 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/ConcurrentHashSet.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/ConcurrentHashSet.java
@@ -1,25 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.utils;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/DataConverterUtil.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/DataConverterUtil.java
index 964f8d91917..c0f11645258 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/DataConverterUtil.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/DataConverterUtil.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.utils;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/MapBackedSet.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/MapBackedSet.java
index 8e060161894..9f027671060 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/MapBackedSet.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/MapBackedSet.java
@@ -1,25 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.utils;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/MessageFlagUtils.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/MessageFlagUtils.java
index fa535c6f834..7e6ef6fcda5 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/MessageFlagUtils.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/MessageFlagUtils.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.utils;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/ServiceStatusHolder.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/ServiceStatusHolder.java
index 512ff8d3c4f..476a997c2e8 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/ServiceStatusHolder.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/ServiceStatusHolder.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.utils;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/TStringUtils.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/TStringUtils.java
index b99d41ea723..a656fda4187 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/TStringUtils.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/TStringUtils.java
@@ -1,18 +1,13 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/ThreadUtils.java b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/ThreadUtils.java
index 2001f34f32a..5f5a8ba72e4 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/ThreadUtils.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corebase/utils/ThreadUtils.java
@@ -1,18 +1,13 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/AbstractServiceInvoker.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/AbstractServiceInvoker.java
index 894548bf560..f38e55b76d4 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/AbstractServiceInvoker.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/AbstractServiceInvoker.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RemoteConErrStats.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RemoteConErrStats.java
index c11ab32c7ae..121b6a3c23b 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RemoteConErrStats.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RemoteConErrStats.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RequestWrapper.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RequestWrapper.java
index 75f33e47baf..4209fb40a97 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RequestWrapper.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RequestWrapper.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/ResponseWrapper.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/ResponseWrapper.java
index ed1f508c4b2..329c8802595 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/ResponseWrapper.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/ResponseWrapper.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcConfig.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcConfig.java
index 6ed4d05bcf1..e0054156be4 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcConfig.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcConfig.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcConstants.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcConstants.java
index 12a05c7e617..12c56c1c4d3 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcConstants.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcConstants.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcDataPack.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcDataPack.java
index a6594c3709d..b1d11be83fc 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcDataPack.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcDataPack.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcServiceFactory.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcServiceFactory.java
index 9ea04cfd5b3..d9d83c4e6e4 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcServiceFactory.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcServiceFactory.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcServiceFailoverInvoker.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcServiceFailoverInvoker.java
index b0d3b33cdd1..5766f41deed 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcServiceFailoverInvoker.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcServiceFailoverInvoker.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcServiceInvoker.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcServiceInvoker.java
index 6e86294fc20..82f31631e12 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcServiceInvoker.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/RpcServiceInvoker.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/DefaultSimpleService.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/DefaultSimpleService.java
index 26de3638a40..c613da2077b 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/DefaultSimpleService.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/DefaultSimpleService.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.benchemark;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/RcpService4BenchmarkClient.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/RcpService4BenchmarkClient.java
index 48dfc5e9721..fc65f39a95e 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/RcpService4BenchmarkClient.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/RcpService4BenchmarkClient.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.benchemark;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/RpcService4BenchmarkServer.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/RpcService4BenchmarkServer.java
index d51f725828e..4eeda78b28d 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/RpcService4BenchmarkServer.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/RpcService4BenchmarkServer.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.benchemark;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/SimpleService.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/SimpleService.java
index df08eb30314..92031337aad 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/SimpleService.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/benchemark/SimpleService.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.benchemark;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/CallFuture.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/CallFuture.java
index 455c308a9cc..db3f5b9a4f1 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/CallFuture.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/CallFuture.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/Callback.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/Callback.java
index 4c4621bc467..cb9c010ba01 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/Callback.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/Callback.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/Client.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/Client.java
index c2972d36cc4..97954c8e9b1 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/Client.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/Client.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.client;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/ClientFactory.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/ClientFactory.java
index c21ea761702..55cc8499957 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/ClientFactory.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/client/ClientFactory.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.client;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/codec/PbEnDecoder.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/codec/PbEnDecoder.java
index b6d3e19c12e..27a31c26e4c 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/codec/PbEnDecoder.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/codec/PbEnDecoder.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.codec;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/codec/Protocol.txt b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/codec/Protocol.txt
index 9bdf724a267..34db29ae347 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/codec/Protocol.txt
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/codec/Protocol.txt
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.exception;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/LocalConnException.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/LocalConnException.java
index e62969b00dd..b4eecab0e54 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/LocalConnException.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/LocalConnException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.exception;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/NetworkException.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/NetworkException.java
index bdb9114dfd8..4a241e8b55c 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/NetworkException.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/NetworkException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.exception;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/OverflowException.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/OverflowException.java
index 89cec5d287b..acc2109600f 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/OverflowException.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/OverflowException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.exception;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/RemoteException.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/RemoteException.java
index b6f5439335e..e9f60bad7f1 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/RemoteException.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/RemoteException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.exception;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/ServerNotReadyException.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/ServerNotReadyException.java
index cd3f774eb80..90356c2a83f 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/ServerNotReadyException.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/ServerNotReadyException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.exception;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/ServiceStoppingException.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/ServiceStoppingException.java
index 180bf4997d4..8f477b09c67 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/ServiceStoppingException.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/ServiceStoppingException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.exception;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/StandbyException.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/StandbyException.java
index 129e5f98c5d..a3ff327a010 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/StandbyException.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/StandbyException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.exception;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/UnknownProtocolException.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/UnknownProtocolException.java
index 531ba8e4218..fd4281f7e0b 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/UnknownProtocolException.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/exception/UnknownProtocolException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.exception;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/ByteBufferInputStream.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/ByteBufferInputStream.java
index 3063a126105..f14d56627f0 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/ByteBufferInputStream.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/ByteBufferInputStream.java
@@ -1,20 +1,18 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
- * agreements. See the NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License. You may obtain a
- * copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.netty;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/ByteBufferOutputStream.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/ByteBufferOutputStream.java
index 5d9886faa34..063aed853dd 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/ByteBufferOutputStream.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/ByteBufferOutputStream.java
@@ -1,20 +1,18 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
- * agreements. See the NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License. You may obtain a
- * copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.netty;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyClient.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyClient.java
index e9e407a0b5f..e4ac6ba9a2e 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyClient.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyClient.java
@@ -1,15 +1,10 @@
/**
- * * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyClientFactory.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyClientFactory.java
index 7e760d6aff5..ad70a36c4e3 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyClientFactory.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyClientFactory.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.netty;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyProtocolDecoder.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyProtocolDecoder.java
index 747c13c6a99..6341fa836cb 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyProtocolDecoder.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyProtocolDecoder.java
@@ -1,18 +1,13 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyProtocolEncoder.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyProtocolEncoder.java
index 98e1e1455d3..46bdecfe09c 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyProtocolEncoder.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyProtocolEncoder.java
@@ -1,18 +1,13 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyRequestContext.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyRequestContext.java
index 03dda8db7b8..b7985c90231 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyRequestContext.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyRequestContext.java
@@ -1,18 +1,13 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyRpcServer.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyRpcServer.java
index 6f08e8d28d8..eab0d6f59e5 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyRpcServer.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/NettyRpcServer.java
@@ -1,18 +1,13 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/ReadTimeoutHandler.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/ReadTimeoutHandler.java
index 1a035545cd8..b99aeabb185 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/ReadTimeoutHandler.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/netty/ReadTimeoutHandler.java
@@ -1,18 +1,13 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/protocol/Protocol.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/protocol/Protocol.java
index 3826cc06334..a3ab451136a 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/protocol/Protocol.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/protocol/Protocol.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.protocol;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/protocol/ProtocolFactory.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/protocol/ProtocolFactory.java
index 91fcbd5103c..9e9e5dc9845 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/protocol/ProtocolFactory.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/protocol/ProtocolFactory.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.protocol;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/protocol/RpcProtocol.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/protocol/RpcProtocol.java
index a7a02af7a6e..e75b5c819b8 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/protocol/RpcProtocol.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/protocol/RpcProtocol.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.protocol;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/server/RequestContext.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/server/RequestContext.java
index 34bd756623e..5b1ca199b45 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/server/RequestContext.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/server/RequestContext.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.server;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/server/RpcServer.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/server/RpcServer.java
index 03c233b4fe3..8c5707e852e 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/server/RpcServer.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/server/RpcServer.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.server;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/server/ServiceRpcServer.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/server/ServiceRpcServer.java
index 32e9eb6fb19..7d1a9ae9db0 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/server/ServiceRpcServer.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/server/ServiceRpcServer.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.server;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/service/BrokerReadService.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/service/BrokerReadService.java
index f9079f0e4b6..316e86b0332 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/service/BrokerReadService.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/service/BrokerReadService.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.service;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/service/BrokerWriteService.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/service/BrokerWriteService.java
index 35653052df5..010b906e0ab 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/service/BrokerWriteService.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/service/BrokerWriteService.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.service;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/service/MasterService.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/service/MasterService.java
index 23acfdbd90e..ea53e17e69e 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/service/MasterService.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/service/MasterService.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.service;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/utils/MixUtils.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/utils/MixUtils.java
index fc2ad8c6543..03695a509cd 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/utils/MixUtils.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/utils/MixUtils.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.utils;
diff --git a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/utils/TSSLEngineUtil.java b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/utils/TSSLEngineUtil.java
index d55f8a279d1..55e35def1ad 100644
--- a/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/utils/TSSLEngineUtil.java
+++ b/tubemq-core/src/main/java/com/tencent/tubemq/corerpc/utils/TSSLEngineUtil.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.utils;
diff --git a/tubemq-core/src/main/protobuf/BrokerService.proto b/tubemq-core/src/main/protobuf/BrokerService.proto
index d22e7e054d6..5e98e5d352e 100644
--- a/tubemq-core/src/main/protobuf/BrokerService.proto
+++ b/tubemq-core/src/main/protobuf/BrokerService.proto
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
option java_package = "com.tencent.tubemq.corebase.protobuf.generated";
diff --git a/tubemq-core/src/main/protobuf/MasterService.proto b/tubemq-core/src/main/protobuf/MasterService.proto
index 6bd1a8e49a5..bdf4e8c4275 100644
--- a/tubemq-core/src/main/protobuf/MasterService.proto
+++ b/tubemq-core/src/main/protobuf/MasterService.proto
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
option java_package = "com.tencent.tubemq.corebase.protobuf.generated";
diff --git a/tubemq-core/src/main/protobuf/RPC.proto b/tubemq-core/src/main/protobuf/RPC.proto
index a87895fa8c1..c9960b5dae6 100644
--- a/tubemq-core/src/main/protobuf/RPC.proto
+++ b/tubemq-core/src/main/protobuf/RPC.proto
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
option java_package = "com.tencent.tubemq.corebase.protobuf.generated";
diff --git a/tubemq-core/src/test/java/com/tencent/tubemq/corebase/policies/TestFlowCtrlRuleHandler.java b/tubemq-core/src/test/java/com/tencent/tubemq/corebase/policies/TestFlowCtrlRuleHandler.java
index 022c5e57f5b..33b765830c6 100644
--- a/tubemq-core/src/test/java/com/tencent/tubemq/corebase/policies/TestFlowCtrlRuleHandler.java
+++ b/tubemq-core/src/test/java/com/tencent/tubemq/corebase/policies/TestFlowCtrlRuleHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corebase.policies;
diff --git a/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/codec/DataConverterUtilTest.java b/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/codec/DataConverterUtilTest.java
index c3c9145688c..0fe52b756c4 100644
--- a/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/codec/DataConverterUtilTest.java
+++ b/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/codec/DataConverterUtilTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.codec;
diff --git a/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/codec/PbEnDecoderTest.java b/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/codec/PbEnDecoderTest.java
index 5cf31ac1a7b..593d3eb4ccf 100644
--- a/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/codec/PbEnDecoderTest.java
+++ b/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/codec/PbEnDecoderTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.codec;
diff --git a/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/netty/NettyProtocolEncoderTest.java b/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/netty/NettyProtocolEncoderTest.java
index 644ee720897..547ba1a7f0d 100644
--- a/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/netty/NettyProtocolEncoderTest.java
+++ b/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/netty/NettyProtocolEncoderTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.netty;
diff --git a/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/utils/TSSLEngineUtilTest.java b/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/utils/TSSLEngineUtilTest.java
index 49679966e0f..b025b23e310 100644
--- a/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/utils/TSSLEngineUtilTest.java
+++ b/tubemq-core/src/test/java/com/tencent/tubemq/corerpc/utils/TSSLEngineUtilTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.corerpc.utils;
diff --git a/tubemq-example/pom.xml b/tubemq-example/pom.xml
index 63263a31401..cc6c1d6ba8a 100644
--- a/tubemq-example/pom.xml
+++ b/tubemq-example/pom.xml
@@ -1,20 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+-->
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.example;
diff --git a/tubemq-example/src/main/java/com/tencent/tubemq/example/MessageConsumerExample.java b/tubemq-example/src/main/java/com/tencent/tubemq/example/MessageConsumerExample.java
index 130d09be622..5721480b2a7 100644
--- a/tubemq-example/src/main/java/com/tencent/tubemq/example/MessageConsumerExample.java
+++ b/tubemq-example/src/main/java/com/tencent/tubemq/example/MessageConsumerExample.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.example;
diff --git a/tubemq-example/src/main/java/com/tencent/tubemq/example/MessageProducerExample.java b/tubemq-example/src/main/java/com/tencent/tubemq/example/MessageProducerExample.java
index 0915fe5acbd..4e1b1e9df4f 100644
--- a/tubemq-example/src/main/java/com/tencent/tubemq/example/MessageProducerExample.java
+++ b/tubemq-example/src/main/java/com/tencent/tubemq/example/MessageProducerExample.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.example;
diff --git a/tubemq-example/src/main/java/com/tencent/tubemq/example/MessagePullConsumerExample.java b/tubemq-example/src/main/java/com/tencent/tubemq/example/MessagePullConsumerExample.java
index 685ebe09c66..1d9a2513cf2 100644
--- a/tubemq-example/src/main/java/com/tencent/tubemq/example/MessagePullConsumerExample.java
+++ b/tubemq-example/src/main/java/com/tencent/tubemq/example/MessagePullConsumerExample.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.example;
diff --git a/tubemq-example/src/main/java/com/tencent/tubemq/example/MessagePullSetConsumerExample.java b/tubemq-example/src/main/java/com/tencent/tubemq/example/MessagePullSetConsumerExample.java
index 25eb90ee4a8..ddaff04a8cc 100644
--- a/tubemq-example/src/main/java/com/tencent/tubemq/example/MessagePullSetConsumerExample.java
+++ b/tubemq-example/src/main/java/com/tencent/tubemq/example/MessagePullSetConsumerExample.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.example;
diff --git a/tubemq-example/src/main/java/com/tencent/tubemq/example/MsgRecvStats.java b/tubemq-example/src/main/java/com/tencent/tubemq/example/MsgRecvStats.java
index 26a2f5bcc22..60b9b69b282 100644
--- a/tubemq-example/src/main/java/com/tencent/tubemq/example/MsgRecvStats.java
+++ b/tubemq-example/src/main/java/com/tencent/tubemq/example/MsgRecvStats.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.example;
diff --git a/tubemq-server/pom.xml b/tubemq-server/pom.xml
index d494a0f545e..9a24f110631 100644
--- a/tubemq-server/pom.xml
+++ b/tubemq-server/pom.xml
@@ -1,20 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+-->
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/Stoppable.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/Stoppable.java
index a3dd3096844..faa9ceb905f 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/Stoppable.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/Stoppable.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/BrokerConfig.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/BrokerConfig.java
index 93ebbbdea13..63962de9cf7 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/BrokerConfig.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/BrokerConfig.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/BrokerServiceServer.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/BrokerServiceServer.java
index e92256e4e0f..4f1986b0385 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/BrokerServiceServer.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/BrokerServiceServer.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/TubeBroker.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/TubeBroker.java
index fabcf689447..02f38dce663 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/TubeBroker.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/TubeBroker.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/exception/OffsetStoreException.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/exception/OffsetStoreException.java
index dcc1eb900a6..fdf1affaabe 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/exception/OffsetStoreException.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/exception/OffsetStoreException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.exception;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/exception/StartupException.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/exception/StartupException.java
index 7d8ebbb9ae5..8596ca4081d 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/exception/StartupException.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/exception/StartupException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.exception;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/BrokerDefMetadata.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/BrokerDefMetadata.java
index fb5ce834cf5..43d5f087e54 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/BrokerDefMetadata.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/BrokerDefMetadata.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.metadata;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/BrokerMetadataManage.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/BrokerMetadataManage.java
index d8aca706788..ee63ecd4dcd 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/BrokerMetadataManage.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/BrokerMetadataManage.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.metadata;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/MetadataManage.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/MetadataManage.java
index 875efb22269..c13b7651f05 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/MetadataManage.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/MetadataManage.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.metadata;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/TopicMetadata.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/TopicMetadata.java
index aeea170d3c9..079a61454c8 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/TopicMetadata.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/metadata/TopicMetadata.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.metadata;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/MessageStore.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/MessageStore.java
index a3ab4113bae..ad57a9d9b18 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/MessageStore.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/MessageStore.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/MessageStoreManager.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/MessageStoreManager.java
index 15f69a22d4d..74b5dca6a56 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/MessageStoreManager.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/MessageStoreManager.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/StoreService.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/StoreService.java
index 038cc206f77..c165aa946cf 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/StoreService.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/StoreService.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/FileReadView.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/FileReadView.java
index c11caea551f..796df92e8a0 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/FileReadView.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/FileReadView.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegment.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegment.java
index 2a93678665c..e2356cdb1a8 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegment.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegment.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegmentList.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegmentList.java
index 6cf97d07e65..11b89e456b3 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegmentList.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegmentList.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/GetMessageResult.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/GetMessageResult.java
index 86194187b4e..67e4d51146c 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/GetMessageResult.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/GetMessageResult.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/MsgFileStatisInfo.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/MsgFileStatisInfo.java
index 9f773e9f288..a9febeb2c13 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/MsgFileStatisInfo.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/MsgFileStatisInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/MsgFileStore.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/MsgFileStore.java
index 0ce80d407be..b083347d54d 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/MsgFileStore.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/MsgFileStore.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/RecordView.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/RecordView.java
index 0a1b72bbf6e..21e879bc7ee 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/RecordView.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/RecordView.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/Segment.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/Segment.java
index ce1345958ab..7d857ebb37b 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/Segment.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/Segment.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/SegmentList.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/SegmentList.java
index f9b7c7980f5..c8a9cd1984a 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/SegmentList.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/SegmentList.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/SegmentType.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/SegmentType.java
index 9f000829108..ca33b408001 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/SegmentType.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/disk/SegmentType.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/mem/GetCacheMsgResult.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/mem/GetCacheMsgResult.java
index 723a609fa7c..3300a7788dc 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/mem/GetCacheMsgResult.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/mem/GetCacheMsgResult.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.mem;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/mem/MsgMemStatisInfo.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/mem/MsgMemStatisInfo.java
index 017ba6d2242..77a263c58af 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/mem/MsgMemStatisInfo.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/mem/MsgMemStatisInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.mem;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/mem/MsgMemStore.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/mem/MsgMemStore.java
index 676083cf66c..7d2f167f7c0 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/mem/MsgMemStore.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/mem/MsgMemStore.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.mem;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/MsgSSDSegment.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/MsgSSDSegment.java
index 60c8c7d275b..d73f2396f74 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/MsgSSDSegment.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/MsgSSDSegment.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.ssd;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/MsgSSDStoreManager.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/MsgSSDStoreManager.java
index 4ac98622307..49a783ba773 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/MsgSSDStoreManager.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/MsgSSDStoreManager.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.ssd;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDSegEvent.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDSegEvent.java
index 517ec3b777e..fcbac4d3784 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDSegEvent.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDSegEvent.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.ssd;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDSegFound.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDSegFound.java
index fbb479e9f71..9e4cc696408 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDSegFound.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDSegFound.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.ssd;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDSegIndex.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDSegIndex.java
index f0270e826b5..21d4911932e 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDSegIndex.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDSegIndex.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.ssd;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDVisitInfo.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDVisitInfo.java
index 7849a6b9ab5..e789bb39354 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDVisitInfo.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/msgstore/ssd/SSDVisitInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.ssd;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/nodeinfo/ConsumerNodeInfo.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/nodeinfo/ConsumerNodeInfo.java
index 584229abf39..bd9a3f14427 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/nodeinfo/ConsumerNodeInfo.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/nodeinfo/ConsumerNodeInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.nodeinfo;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/offset/DefaultOffsetManager.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/offset/DefaultOffsetManager.java
index cc86a1aa902..04bb0ac701a 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/offset/DefaultOffsetManager.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/offset/DefaultOffsetManager.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.offset;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/offset/OffsetService.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/offset/OffsetService.java
index 629b1057f8c..fcc543f68ac 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/offset/OffsetService.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/offset/OffsetService.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.offset;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/stats/CountItem.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/stats/CountItem.java
index 343245394b2..3a04d71b26f 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/stats/CountItem.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/stats/CountItem.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.stats;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/stats/CountService.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/stats/CountService.java
index 115e9ec9cc2..3a591de243f 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/stats/CountService.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/stats/CountService.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.stats;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/stats/GroupCountService.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/stats/GroupCountService.java
index 5fcfe971aae..d68be8a3e7b 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/stats/GroupCountService.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/stats/GroupCountService.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.stats;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/utils/BrokerSamplePrint.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/utils/BrokerSamplePrint.java
index 11007eea919..d17d98a6731 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/utils/BrokerSamplePrint.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/utils/BrokerSamplePrint.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.utils;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/utils/DataStoreUtils.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/utils/DataStoreUtils.java
index 30b6e9cfaee..bcf6cc1de14 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/utils/DataStoreUtils.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/utils/DataStoreUtils.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.utils;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/utils/DiskSamplePrint.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/utils/DiskSamplePrint.java
index 2c4a4f44dd1..d0f10f273b0 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/utils/DiskSamplePrint.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/utils/DiskSamplePrint.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.utils;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/web/BrokerAdminServlet.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/web/BrokerAdminServlet.java
index 968ff08b085..137087b0f23 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/web/BrokerAdminServlet.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/web/BrokerAdminServlet.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.web;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/web/WebServer.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/web/WebServer.java
index d55e343edbf..b482ab64c50 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/web/WebServer.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/broker/web/WebServer.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.web;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/TServerConstants.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/TServerConstants.java
index bfdabfb8534..7a795270581 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/TServerConstants.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/TServerConstants.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/TStatusConstants.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/TStatusConstants.java
index a55d94b7381..a455e1876a8 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/TStatusConstants.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/TStatusConstants.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/CertificateBrokerHandler.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/CertificateBrokerHandler.java
index a623cbb0e15..9a78991dfe5 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/CertificateBrokerHandler.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/CertificateBrokerHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.aaaserver;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/CertificateMasterHandler.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/CertificateMasterHandler.java
index 156cecce2b5..c44d24165a5 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/CertificateMasterHandler.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/CertificateMasterHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.aaaserver;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/CertifiedResult.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/CertifiedResult.java
index faaa50df7c8..2c7255d87c0 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/CertifiedResult.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/CertifiedResult.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.aaaserver;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/SimpleCertificateBrokerHandler.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/SimpleCertificateBrokerHandler.java
index 3caa4b09977..c89cf09606f 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/SimpleCertificateBrokerHandler.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/SimpleCertificateBrokerHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.aaaserver;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/SimpleCertificateMasterHandler.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/SimpleCertificateMasterHandler.java
index 82f3f403f0e..09b28ea9188 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/SimpleCertificateMasterHandler.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/aaaserver/SimpleCertificateMasterHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.aaaserver;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/exception/HeartbeatException.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/exception/HeartbeatException.java
index 4a9a93ead33..27897bc8454 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/exception/HeartbeatException.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/exception/HeartbeatException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.exception;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/exception/IllegalConfigException.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/exception/IllegalConfigException.java
index b3492a877c7..596194e3300 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/exception/IllegalConfigException.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/exception/IllegalConfigException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.exception;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/fileconfig/AbstractFileConfig.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/fileconfig/AbstractFileConfig.java
index dbaf00b6889..5e1dff78911 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/fileconfig/AbstractFileConfig.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/fileconfig/AbstractFileConfig.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.fileconfig;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/fileconfig/BDBConfig.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/fileconfig/BDBConfig.java
index 60603ad5367..0075aee6dab 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/fileconfig/BDBConfig.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/fileconfig/BDBConfig.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.fileconfig;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/fileconfig/ZKConfig.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/fileconfig/ZKConfig.java
index 5681ee03302..e3fe1af0405 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/fileconfig/ZKConfig.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/fileconfig/ZKConfig.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.fileconfig;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/heartbeat/HeartbeatManager.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/heartbeat/HeartbeatManager.java
index c4bf9dde811..a6675bfe2e0 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/heartbeat/HeartbeatManager.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/heartbeat/HeartbeatManager.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.heartbeat;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/heartbeat/TimeoutInfo.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/heartbeat/TimeoutInfo.java
index a35376083fb..7b74d159c25 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/heartbeat/TimeoutInfo.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/heartbeat/TimeoutInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.heartbeat;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/heartbeat/TimeoutListener.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/heartbeat/TimeoutListener.java
index e2af8030404..2859fd60af5 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/heartbeat/TimeoutListener.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/heartbeat/TimeoutListener.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.heartbeat;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/OffsetStorage.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/OffsetStorage.java
index b2a903787de..e8db2ac4d12 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/OffsetStorage.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/OffsetStorage.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.offsetstorage;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/OffsetStorageInfo.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/OffsetStorageInfo.java
index f95f7f57295..c8ff7a651cf 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/OffsetStorageInfo.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/OffsetStorageInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.offsetstorage;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/ZkOffsetStorage.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/ZkOffsetStorage.java
index 4b37ad07b65..9dad7cc4781 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/ZkOffsetStorage.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/ZkOffsetStorage.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.offsetstorage;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/Abortable.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/Abortable.java
index ab0109abe97..5e0c129d3d9 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/Abortable.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/Abortable.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/RecoverableZooKeeper.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/RecoverableZooKeeper.java
index d702107bee0..60d79fcae4f 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/RecoverableZooKeeper.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/RecoverableZooKeeper.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/RetryCounter.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/RetryCounter.java
index 5a0cebb25fe..3393396a852 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/RetryCounter.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/RetryCounter.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/RetryCounterFactory.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/RetryCounterFactory.java
index 30248311f51..46a36324b80 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/RetryCounterFactory.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/RetryCounterFactory.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZKUtil.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZKUtil.java
index 10a52df7d56..20f70fbad64 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZKUtil.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZKUtil.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZooKeeperConnectionException.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZooKeeperConnectionException.java
index ccf2f9c5830..8bb63a45ae1 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZooKeeperConnectionException.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZooKeeperConnectionException.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZooKeeperListener.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZooKeeperListener.java
index de94957bb87..a7bdd529909 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZooKeeperListener.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZooKeeperListener.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZooKeeperWatcher.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZooKeeperWatcher.java
index 9ee8134ade9..f4f28e10a5e 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZooKeeperWatcher.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/offsetstorage/zookeeper/ZooKeeperWatcher.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/paramcheck/PBParameterUtils.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/paramcheck/PBParameterUtils.java
index 135be1c2164..6c9dad08cc6 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/paramcheck/PBParameterUtils.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/paramcheck/PBParameterUtils.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.paramcheck;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/paramcheck/ParamCheckResult.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/paramcheck/ParamCheckResult.java
index 8d13a3ca0bf..0c3c653e0f3 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/paramcheck/ParamCheckResult.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/paramcheck/ParamCheckResult.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.paramcheck;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/Bytes.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/Bytes.java
index d19e9c368b7..493c3186ae3 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/Bytes.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/Bytes.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/FileUtil.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/FileUtil.java
index db97b510c52..461a9ab36ac 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/FileUtil.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/FileUtil.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.utils;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/HasThread.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/HasThread.java
index f55d1d6d504..eb8598afb7b 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/HasThread.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/HasThread.java
@@ -1,20 +1,18 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
- * agreements. See the NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License. You may obtain a
- * copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.utils;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/HashedBytes.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/HashedBytes.java
index 0a0867b38f5..bf458b1abb9 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/HashedBytes.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/HashedBytes.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/IdWorker.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/IdWorker.java
index d277ad05af2..603ee24d952 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/IdWorker.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/IdWorker.java
@@ -1,18 +1,18 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.utils;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/JVMClusterUtil.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/JVMClusterUtil.java
index 6412a5843e9..20cdd22e8f7 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/JVMClusterUtil.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/JVMClusterUtil.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/RowLock.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/RowLock.java
index ec156b099ab..f0b8ad82e31 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/RowLock.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/RowLock.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/Sleeper.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/Sleeper.java
index fd3539111f5..074bc6727cd 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/Sleeper.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/Sleeper.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/WebParameterUtils.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/WebParameterUtils.java
index e417cdf526c..303cb0459f7 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/WebParameterUtils.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/WebParameterUtils.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common.utils;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/WritableComparator.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/WritableComparator.java
index 1d9ae11c0ea..662cbb6052b 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/WritableComparator.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/common/utils/WritableComparator.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/MasterConfig.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/MasterConfig.java
index 6f49d9a5999..2cf6980d114 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/MasterConfig.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/MasterConfig.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/TMaster.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/TMaster.java
index cf204b50cbf..dcc0cb26c60 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/TMaster.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/TMaster.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/balance/DefaultLoadBalancer.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/balance/DefaultLoadBalancer.java
index c0253c02d36..955feea0a23 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/balance/DefaultLoadBalancer.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/balance/DefaultLoadBalancer.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.balance;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/balance/LoadBalancer.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/balance/LoadBalancer.java
index 1b0845cd6e6..51fe2660165 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/balance/LoadBalancer.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/balance/LoadBalancer.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.balance;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/BdbStoreService.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/BdbStoreService.java
index f5d12e18a16..6c6d7e68765 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/BdbStoreService.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/BdbStoreService.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.bdbstore;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/DefaultBdbStoreService.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/DefaultBdbStoreService.java
index 7de409e451d..372031ae0f7 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/DefaultBdbStoreService.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/DefaultBdbStoreService.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.bdbstore;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/MasterGroupStatus.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/MasterGroupStatus.java
index fca8d5297dd..3d2caeba88a 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/MasterGroupStatus.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/MasterGroupStatus.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.bdbstore;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/MasterNodeInfo.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/MasterNodeInfo.java
index 417f1a730b0..9f5accc3717 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/MasterNodeInfo.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/MasterNodeInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.bdbstore;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbBlackGroupEntity.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbBlackGroupEntity.java
index a35b246042d..3dc77e84958 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbBlackGroupEntity.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbBlackGroupEntity.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.bdbstore.bdbentitys;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbBrokerConfEntity.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbBrokerConfEntity.java
index 0041f51a950..ec2fd0a3b24 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbBrokerConfEntity.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbBrokerConfEntity.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.bdbstore.bdbentitys;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbConsumeGroupSettingEntity.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbConsumeGroupSettingEntity.java
index 995f5136bb7..69c0d7babe5 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbConsumeGroupSettingEntity.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbConsumeGroupSettingEntity.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.bdbstore.bdbentitys;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbConsumerGroupEntity.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbConsumerGroupEntity.java
index e64ad3e45e4..8ae39eaeabd 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbConsumerGroupEntity.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbConsumerGroupEntity.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.bdbstore.bdbentitys;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbGroupFilterCondEntity.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbGroupFilterCondEntity.java
index d77019de156..60947457011 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbGroupFilterCondEntity.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbGroupFilterCondEntity.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.bdbstore.bdbentitys;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbGroupFlowCtrlEntity.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbGroupFlowCtrlEntity.java
index a3ce3d2fbd5..2bc70386187 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbGroupFlowCtrlEntity.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbGroupFlowCtrlEntity.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.bdbstore.bdbentitys;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbTopicAuthControlEntity.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbTopicAuthControlEntity.java
index 7b39817a9b3..61f303ced33 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbTopicAuthControlEntity.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbTopicAuthControlEntity.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.bdbstore.bdbentitys;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbTopicConfEntity.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbTopicConfEntity.java
index b72270c528a..553c0e32e1f 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbTopicConfEntity.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/bdbstore/bdbentitys/BdbTopicConfEntity.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.bdbstore.bdbentitys;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerConfManage.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerConfManage.java
index 2f4216dce3f..8a0456e4e9f 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerConfManage.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerConfManage.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodebroker;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerInfoHolder.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerInfoHolder.java
index 7ef1dba42e2..0f8354788a4 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerInfoHolder.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerInfoHolder.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodebroker;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerSyncStatusInfo.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerSyncStatusInfo.java
index 6e1ac5bf66c..894f71f61a3 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerSyncStatusInfo.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerSyncStatusInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodebroker;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/TargetValidResult.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/TargetValidResult.java
index a4db3f12114..1494777a33b 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/TargetValidResult.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/TargetValidResult.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodebroker;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/TopicPSInfoManager.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/TopicPSInfoManager.java
index c290e7a4f6a..7ee4e99fa3b 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/TopicPSInfoManager.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/TopicPSInfoManager.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodebroker;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerBandInfo.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerBandInfo.java
index 7569e5b88ad..fe8a5382a06 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerBandInfo.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerBandInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodeconsumer;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerEventManager.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerEventManager.java
index 0a7fffc54d6..7d865f51927 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerEventManager.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerEventManager.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodeconsumer;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerInfoHolder.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerInfoHolder.java
index 320fbc54457..af33cf97cc8 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerInfoHolder.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerInfoHolder.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodeconsumer;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/NodeRebInfo.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/NodeRebInfo.java
index a57ec72c1fe..68bff8d882d 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/NodeRebInfo.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/NodeRebInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodeconsumer;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/RebProcessInfo.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/RebProcessInfo.java
index 08ab518e3dd..3782bcdd4be 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/RebProcessInfo.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/RebProcessInfo.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodeconsumer;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeproducer/ProducerInfoHolder.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeproducer/ProducerInfoHolder.java
index a1bad67d6bc..5b3936da86f 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeproducer/ProducerInfoHolder.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/nodemanage/nodeproducer/ProducerInfoHolder.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodeproducer;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/utils/BdbStoreSamplePrint.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/utils/BdbStoreSamplePrint.java
index 98da7a7e665..cb2191616cf 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/utils/BdbStoreSamplePrint.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/utils/BdbStoreSamplePrint.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.utils;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/utils/Chore.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/utils/Chore.java
index 1951786c53e..bf1cd37236c 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/utils/Chore.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/utils/Chore.java
@@ -1,15 +1,10 @@
/**
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/utils/SimpleVisitTokenManage.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/utils/SimpleVisitTokenManage.java
index 7b72a0751c6..4d826ae08bf 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/utils/SimpleVisitTokenManage.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/utils/SimpleVisitTokenManage.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.utils;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/MasterStatusCheckFilter.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/MasterStatusCheckFilter.java
index 382541b998a..72902a70e0b 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/MasterStatusCheckFilter.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/MasterStatusCheckFilter.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/UserAuthFilter.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/UserAuthFilter.java
index 926a6fb9b1e..989cb2bda96 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/UserAuthFilter.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/UserAuthFilter.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/WebServer.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/WebServer.java
index 4d4aa838617..0d2ffd3082b 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/WebServer.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/WebServer.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/layout/Default.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/layout/Default.java
index 8efede77481..868a70473d6 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/layout/Default.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/layout/Default.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.action.layout;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/Master.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/Master.java
index ea804241889..92e193824f7 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/Master.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/Master.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.action.screen;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/Tubeweb.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/Tubeweb.java
index c789b552e7f..9f206b51508 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/Tubeweb.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/Tubeweb.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.action.screen;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/Webapi.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/Webapi.java
index a3047b1a48c..8dbe0c9dd71 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/Webapi.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/Webapi.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.action.screen;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/cluster/ClusterManage.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/cluster/ClusterManage.java
index 16298a8ccb5..2d9487f074b 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/cluster/ClusterManage.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/cluster/ClusterManage.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.action.screen.cluster;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/BrokerDetail.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/BrokerDetail.java
index f8efc9476e7..117f59b3c3a 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/BrokerDetail.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/BrokerDetail.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.action.screen.config;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/BrokerList.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/BrokerList.java
index 4e399a979fb..b0d0dc1a52c 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/BrokerList.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/BrokerList.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.action.screen.config;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/TopicDetail.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/TopicDetail.java
index 48d3000aae8..e54f3eda956 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/TopicDetail.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/TopicDetail.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.action.screen.config;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/TopicList.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/TopicList.java
index 8785da49160..5c608073115 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/TopicList.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/config/TopicList.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.action.screen.config;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/consume/Detail.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/consume/Detail.java
index cfe3bd1d35a..5af936cfb4a 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/consume/Detail.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/action/screen/consume/Detail.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.action.screen.consume;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/BaseResult.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/BaseResult.java
index 01a7949d7ea..f3f2f4a2a6e 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/BaseResult.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/BaseResult.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.common;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/BrokerQueryResult.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/BrokerQueryResult.java
index 2d17bbb87a5..e1933a74348 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/BrokerQueryResult.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/BrokerQueryResult.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.common;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/ClusterQueryResult.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/ClusterQueryResult.java
index 43ad9554de5..02839e649bc 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/ClusterQueryResult.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/ClusterQueryResult.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.common;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/QueryResult.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/QueryResult.java
index 253a6d1e1da..f3644124d47 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/QueryResult.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/common/QueryResult.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.common;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebAdminFlowRuleHandler.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebAdminFlowRuleHandler.java
index a6ead4ee696..fedc5bc6f7e 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebAdminFlowRuleHandler.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebAdminFlowRuleHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.handler;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebAdminGroupCtrlHandler.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebAdminGroupCtrlHandler.java
index 463132da8e2..55654276a00 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebAdminGroupCtrlHandler.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebAdminGroupCtrlHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.handler;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebAdminTopicAuthHandler.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebAdminTopicAuthHandler.java
index bd1a3356d64..e1b13a9f5f2 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebAdminTopicAuthHandler.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebAdminTopicAuthHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.handler;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebBrokerDefConfHandler.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebBrokerDefConfHandler.java
index 1b830c05edb..e90b355a7b4 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebBrokerDefConfHandler.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebBrokerDefConfHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.handler;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebBrokerTopicConfHandler.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebBrokerTopicConfHandler.java
index 067276090d3..81cbef98654 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebBrokerTopicConfHandler.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/handler/WebBrokerTopicConfHandler.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.handler;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/model/BrokerVO.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/model/BrokerVO.java
index 6e617a9e570..58172f90ca5 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/model/BrokerVO.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/model/BrokerVO.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.model;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/model/ClusterGroupVO.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/model/ClusterGroupVO.java
index 5583bd63536..3c365ed19ff 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/model/ClusterGroupVO.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/model/ClusterGroupVO.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.model;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/model/ClusterNodeVO.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/model/ClusterNodeVO.java
index 78f935e8d65..90967f8e59d 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/model/ClusterNodeVO.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/model/ClusterNodeVO.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.model;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/Action.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/Action.java
index 414efdf225c..4af4e18ed99 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/Action.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/Action.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/Context.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/Context.java
index e49ce57402b..8be250cac86 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/Context.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/Context.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/ControlTool.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/ControlTool.java
index bc5b6650015..7d385f19cba 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/ControlTool.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/ControlTool.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/MappedContext.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/MappedContext.java
index 8be490a671a..b99d88bb6f2 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/MappedContext.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/MappedContext.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/RequestContext.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/RequestContext.java
index 185f1bcb88c..79b37643e95 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/RequestContext.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/RequestContext.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/RequestDispatcher.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/RequestDispatcher.java
index 819dff137aa..b3f20d0c325 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/RequestDispatcher.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/RequestDispatcher.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/TemplateEngine.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/TemplateEngine.java
index e0acc0af0b2..a89b75fd876 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/TemplateEngine.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/TemplateEngine.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/VelocityTemplateEngine.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/VelocityTemplateEngine.java
index c5594edc05a..73f8b71cd4b 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/VelocityTemplateEngine.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/VelocityTemplateEngine.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/WebFilter.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/WebFilter.java
index 96ef7ebe4cd..01bda923f61 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/WebFilter.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/WebFilter.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/conf/ConfigFileParser.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/conf/ConfigFileParser.java
index 25777aced2f..4ae354db0ab 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/conf/ConfigFileParser.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/conf/ConfigFileParser.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc.conf;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/conf/WebConfig.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/conf/WebConfig.java
index e3de1a48917..de4e8216062 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/conf/WebConfig.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/conf/WebConfig.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc.conf;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/exception/InvalidConfigException.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/exception/InvalidConfigException.java
index f61ed260f2c..c85f84361d8 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/exception/InvalidConfigException.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/exception/InvalidConfigException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc.exception;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/exception/TemplateNotFoundException.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/exception/TemplateNotFoundException.java
index 09de3b1f1ff..77a041c33e7 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/exception/TemplateNotFoundException.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/master/web/simplemvc/exception/TemplateNotFoundException.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.web.simplemvc.exception;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/BdbGroupAdmin.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/BdbGroupAdmin.java
index eeef0b2af01..320427801d6 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/BdbGroupAdmin.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/BdbGroupAdmin.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.tools;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/BrokerStartup.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/BrokerStartup.java
index 7231d582f9f..4f5212c0c0c 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/BrokerStartup.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/BrokerStartup.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.tools;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/MasterStartup.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/MasterStartup.java
index 9ebe19d1a57..1e7ed9e84a1 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/MasterStartup.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/MasterStartup.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.tools;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/StoreRepairAdmin.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/StoreRepairAdmin.java
index 5437db5fe56..257ea8ce731 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/StoreRepairAdmin.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/StoreRepairAdmin.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.tools;
diff --git a/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/ToolUtils.java b/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/ToolUtils.java
index 49fa520c42b..4f59c91b4dc 100644
--- a/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/ToolUtils.java
+++ b/tubemq-server/src/main/java/com/tencent/tubemq/server/tools/ToolUtils.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.tools;
diff --git a/tubemq-server/src/saveServerVersion.cmd b/tubemq-server/src/saveServerVersion.cmd
index 3166ca1c5f3..dda2ca1a9b0 100755
--- a/tubemq-server/src/saveServerVersion.cmd
+++ b/tubemq-server/src/saveServerVersion.cmd
@@ -1,17 +1,18 @@
-@rem Tencent is pleased to support the open source community by making TubeMQ available.
-@rem
-@rem Copyright (C) 2012-2019 Tencent. All Rights Reserved.
-@rem
-@rem Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-@rem this file except in compliance with the License. You may obtain a copy of the
-@rem License at
-@rem
-@rem https://opensource.org/licenses/Apache-2.0
@rem
+@rem Licensed to the Apache Software Foundation (ASF) under one or more
+@rem contributor license agreements. See the NOTICE file distributed with
+@rem this work for additional information regarding copyright ownership.
+@rem The ASF licenses this file to You under the Apache License, Version 2.0
+@rem (the "License"); you may not use this file except in compliance with
+@rem the License. You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
@rem Unless required by applicable law or agreed to in writing, software
-@rem distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-@rem WARRANTIES OF ANY KIND, either express or implied. See the License for the
-@rem specific language governing permissions and limitations under the License.
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
@rem
@echo off
diff --git a/tubemq-server/src/saveServerVersion.sh b/tubemq-server/src/saveServerVersion.sh
index a13aeb342c4..f8469b2db4d 100755
--- a/tubemq-server/src/saveServerVersion.sh
+++ b/tubemq-server/src/saveServerVersion.sh
@@ -1,19 +1,20 @@
#!/usr/bin/env bash
-
-# Tencent is pleased to support the open source community by making TubeMQ available.
-#
-# Copyright (C) 2012-2019 Tencent. All Rights Reserved.
#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-# this file except in compliance with the License. You may obtain a copy of the
-# License at
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
#
-# https://opensource.org/licenses/Apache-2.0
+# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OF ANY KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations under the License.
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
unset LANG
unset LC_CTYPE
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/metadata/BrokerMetadataManageTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/metadata/BrokerMetadataManageTest.java
index cad066a464a..261d7c83b3b 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/metadata/BrokerMetadataManageTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/metadata/BrokerMetadataManageTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.metadata;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/disk/FileReadViewTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/disk/FileReadViewTest.java
index f655579e4ad..e67b226ac54 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/disk/FileReadViewTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/disk/FileReadViewTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegmentListTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegmentListTest.java
index ae59f774964..1496b9c1315 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegmentListTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegmentListTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegmentTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegmentTest.java
index 02e9a307034..857ad959ccc 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegmentTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/disk/FileSegmentTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.disk;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/mem/MsgMemStoreTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/mem/MsgMemStoreTest.java
index 81faa6078ff..9b9a5f89f38 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/mem/MsgMemStoreTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/msgstore/mem/MsgMemStoreTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.msgstore.mem;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/stats/GroupCountServiceTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/stats/GroupCountServiceTest.java
index c08d14482ad..6d189377d17 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/stats/GroupCountServiceTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/stats/GroupCountServiceTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.stats;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/utils/DataStoreUtilsTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/utils/DataStoreUtilsTest.java
index 17fa08f1798..ad05e36bc88 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/utils/DataStoreUtilsTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/broker/utils/DataStoreUtilsTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.broker.utils;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/common/HeartbeatManagerTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/common/HeartbeatManagerTest.java
index d1e2ae0151a..21b1291fa3d 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/common/HeartbeatManagerTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/common/HeartbeatManagerTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/common/PBParameterTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/common/PBParameterTest.java
index 2aae89ca96d..8599b7b5c96 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/common/PBParameterTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/common/PBParameterTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/common/WebParameterTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/common/WebParameterTest.java
index afe113b5cd7..12e6dc99998 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/common/WebParameterTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/common/WebParameterTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.common;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/master/MasterConfigTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/master/MasterConfigTest.java
index d15dea817d0..346d7cc4750 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/master/MasterConfigTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/master/MasterConfigTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerInfoHolderTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerInfoHolderTest.java
index 76fa6347e3a..10c84e851d3 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerInfoHolderTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/BrokerInfoHolderTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodebroker;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/TopicPSInfoManagerTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/TopicPSInfoManagerTest.java
index 2f8827a7a03..040c921932e 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/TopicPSInfoManagerTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/master/nodemanage/nodebroker/TopicPSInfoManagerTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodebroker;
diff --git a/tubemq-server/src/test/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerEventManagerTest.java b/tubemq-server/src/test/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerEventManagerTest.java
index 91e95d75da9..df4c6645c1c 100644
--- a/tubemq-server/src/test/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerEventManagerTest.java
+++ b/tubemq-server/src/test/java/com/tencent/tubemq/server/master/nodemanage/nodeconsumer/ConsumerEventManagerTest.java
@@ -1,18 +1,18 @@
-/*
- * Tencent is pleased to support the open source community by making TubeMQ available.
- *
- * Copyright (C) 2012-2019 Tencent. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
- * this file except in compliance with the License. You may obtain a copy of the
- * License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OF ANY KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package com.tencent.tubemq.server.master.nodemanage.nodeconsumer;
diff --git a/tubemq-server/src/test/resource/master.ini b/tubemq-server/src/test/resource/master.ini
index c8e4bc23229..e97e6f44d94 100644
--- a/tubemq-server/src/test/resource/master.ini
+++ b/tubemq-server/src/test/resource/master.ini
@@ -1,18 +1,18 @@
;
-; Tencent is pleased to support the open source community by making TubeMQ available.
-;
-; Copyright (C) 2012-2019 Tencent. All Rights Reserved.
-;
-; Licensed under the Apache License, Version 2.0 (the "License"); you may not use
-; this file except in compliance with the License. You may obtain a copy of the
-; License at
-;
-; https://opensource.org/licenses/Apache-2.0
-;
+; Licensed to the Apache Software Foundation (ASF) under one or more
+; contributor license agreements. See the NOTICE file distributed with
+; this work for additional information regarding copyright ownership.
+; The ASF licenses this file to You under the Apache License, Version 2.0
+; (the "License"); you may not use this file except in compliance with
+; the License. You may obtain a copy of the License at
+;
+; http://www.apache.org/licenses/LICENSE-2.0
+;
; Unless required by applicable law or agreed to in writing, software
-; distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-; WARRANTIES OF ANY KIND, either express or implied. See the License for the
-; specific language governing permissions and limitations under the License.
+; distributed under the License is distributed on an "AS IS" BASIS,
+; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+; See the License for the specific language governing permissions and
+; limitations under the License.
;
[master]