Skip to content

Commit 6d25b92

Browse files
author
dcorbacho
committed
Switch to Mozilla Public License 2.0 (MPL 2.0)
1 parent 2e20a8f commit 6d25b92

File tree

196 files changed

+1352
-3180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+1352
-3180
lines changed

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This package, the RabbitMQ .NET client library, is dual-licensed under
2-
the Apache License v2 and the Mozilla Public License v1.1.
2+
the Apache License v2 and the Mozilla Public License v2.0.
33

44
For the Apache License, please see the file LICENSE-APACHE2.
55

Diff for: LICENSE-MPL-RabbitMQ

+373-455
Large diffs are not rendered by default.

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ See [Contributing](CONTRIBUTING.md) and [How to Run Tests](RUNNING_TESTS.md).
5252
## License
5353

5454
This package, the RabbitMQ .NET client library, is double-licensed under
55-
the Mozilla Public License 1.1 ("MPL") and the Apache License version 2 ("ASL").
55+
the Mozilla Public License 2.0 ("MPL") and the Apache License version 2 ("ASL").
5656

5757
This means that the user can consider the library to be licensed under **any of the licenses from the list** above.
5858
For example, you may choose the Apache Public License 2.0 and include this client into a commercial product.

Diff for: projects/Apigen/apigen/AmqpClass.cs

+5-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This source code is dual-licensed under the Apache License, version
2-
// 2.0, and the Mozilla Public License, version 1.1.
2+
// 2.0, and the Mozilla Public License, version 2.0.
33
//
44
// The APL v2.0:
55
//
@@ -19,22 +19,13 @@
1919
// limitations under the License.
2020
//---------------------------------------------------------------------------
2121
//
22-
// The MPL v1.1:
22+
// The MPL v2.0:
2323
//
2424
//---------------------------------------------------------------------------
25-
// The contents of this file are subject to the Mozilla Public License
26-
// Version 1.1 (the "License"); you may not use this file except in
27-
// compliance with the License. You may obtain a copy of the License
28-
// at https://www.mozilla.org/MPL/
25+
// This Source Code Form is subject to the terms of the Mozilla Public
26+
// License, v. 2.0. If a copy of the MPL was not distributed with this
27+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
2928
//
30-
// Software distributed under the License is distributed on an "AS IS"
31-
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
32-
// the License for the specific language governing rights and
33-
// limitations under the License.
34-
//
35-
// The Original Code is RabbitMQ.
36-
//
37-
// The Initial Developer of the Original Code is Pivotal Software, Inc.
3829
// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
3930
//---------------------------------------------------------------------------
4031

Diff for: projects/Apigen/apigen/AmqpEntity.cs

+5-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This source code is dual-licensed under the Apache License, version
2-
// 2.0, and the Mozilla Public License, version 1.1.
2+
// 2.0, and the Mozilla Public License, version 2.0.
33
//
44
// The APL v2.0:
55
//
@@ -19,22 +19,13 @@
1919
// limitations under the License.
2020
//---------------------------------------------------------------------------
2121
//
22-
// The MPL v1.1:
22+
// The MPL v2.0:
2323
//
2424
//---------------------------------------------------------------------------
25-
// The contents of this file are subject to the Mozilla Public License
26-
// Version 1.1 (the "License"); you may not use this file except in
27-
// compliance with the License. You may obtain a copy of the License
28-
// at https://www.mozilla.org/MPL/
25+
// This Source Code Form is subject to the terms of the Mozilla Public
26+
// License, v. 2.0. If a copy of the MPL was not distributed with this
27+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
2928
//
30-
// Software distributed under the License is distributed on an "AS IS"
31-
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
32-
// the License for the specific language governing rights and
33-
// limitations under the License.
34-
//
35-
// The Original Code is RabbitMQ.
36-
//
37-
// The Initial Developer of the Original Code is Pivotal Software, Inc.
3829
// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
3930
//---------------------------------------------------------------------------
4031

Diff for: projects/Apigen/apigen/AmqpField.cs

+5-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This source code is dual-licensed under the Apache License, version
2-
// 2.0, and the Mozilla Public License, version 1.1.
2+
// 2.0, and the Mozilla Public License, version 2.0.
33
//
44
// The APL v2.0:
55
//
@@ -19,22 +19,13 @@
1919
// limitations under the License.
2020
//---------------------------------------------------------------------------
2121
//
22-
// The MPL v1.1:
22+
// The MPL v2.0:
2323
//
2424
//---------------------------------------------------------------------------
25-
// The contents of this file are subject to the Mozilla Public License
26-
// Version 1.1 (the "License"); you may not use this file except in
27-
// compliance with the License. You may obtain a copy of the License
28-
// at https://www.mozilla.org/MPL/
25+
// This Source Code Form is subject to the terms of the Mozilla Public
26+
// License, v. 2.0. If a copy of the MPL was not distributed with this
27+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
2928
//
30-
// Software distributed under the License is distributed on an "AS IS"
31-
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
32-
// the License for the specific language governing rights and
33-
// limitations under the License.
34-
//
35-
// The Original Code is RabbitMQ.
36-
//
37-
// The Initial Developer of the Original Code is Pivotal Software, Inc.
3829
// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
3930
//---------------------------------------------------------------------------
4031

Diff for: projects/Apigen/apigen/AmqpMethod.cs

+5-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This source code is dual-licensed under the Apache License, version
2-
// 2.0, and the Mozilla Public License, version 1.1.
2+
// 2.0, and the Mozilla Public License, version 2.0.
33
//
44
// The APL v2.0:
55
//
@@ -19,22 +19,13 @@
1919
// limitations under the License.
2020
//---------------------------------------------------------------------------
2121
//
22-
// The MPL v1.1:
22+
// The MPL v2.0:
2323
//
2424
//---------------------------------------------------------------------------
25-
// The contents of this file are subject to the Mozilla Public License
26-
// Version 1.1 (the "License"); you may not use this file except in
27-
// compliance with the License. You may obtain a copy of the License
28-
// at https://www.mozilla.org/MPL/
25+
// This Source Code Form is subject to the terms of the Mozilla Public
26+
// License, v. 2.0. If a copy of the MPL was not distributed with this
27+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
2928
//
30-
// Software distributed under the License is distributed on an "AS IS"
31-
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
32-
// the License for the specific language governing rights and
33-
// limitations under the License.
34-
//
35-
// The Original Code is RabbitMQ.
36-
//
37-
// The Initial Developer of the Original Code is Pivotal Software, Inc.
3829
// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
3930
//---------------------------------------------------------------------------
4031

Diff for: projects/Apigen/apigen/Apigen.cs

+12-30
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This source code is dual-licensed under the Apache License, version
2-
// 2.0, and the Mozilla Public License, version 1.1.
2+
// 2.0, and the Mozilla Public License, version 2.0.
33
//
44
// The APL v2.0:
55
//
@@ -19,22 +19,13 @@
1919
// limitations under the License.
2020
//---------------------------------------------------------------------------
2121
//
22-
// The MPL v1.1:
22+
// The MPL v2.0:
2323
//
2424
//---------------------------------------------------------------------------
25-
// The contents of this file are subject to the Mozilla Public License
26-
// Version 1.1 (the "License"); you may not use this file except in
27-
// compliance with the License. You may obtain a copy of the License
28-
// at https://www.mozilla.org/MPL/
25+
// This Source Code Form is subject to the terms of the Mozilla Public
26+
// License, v. 2.0. If a copy of the MPL was not distributed with this
27+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
2928
//
30-
// Software distributed under the License is distributed on an "AS IS"
31-
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
32-
// the License for the specific language governing rights and
33-
// limitations under the License.
34-
//
35-
// The Original Code is RabbitMQ.
36-
//
37-
// The Initial Developer of the Original Code is Pivotal Software, Inc.
3829
// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
3930
//---------------------------------------------------------------------------
4031

@@ -406,42 +397,33 @@ public void EmitPrelude()
406397
@"// Autogenerated code. Do not edit.
407398
408399
// This source code is dual-licensed under the Apache License, version
409-
// 2.0, and the Mozilla Public License, version 1.1.
400+
// 2.0, and the Mozilla Public License, version 2.0.
410401
//
411402
// The APL v2.0:
412403
//
413404
//---------------------------------------------------------------------------
414405
// Copyright (c) 2007-2020 VMware, Inc.
415406
//
416-
// Licensed under the Apache License, Version 2.0 (the ""License"");
407+
// Licensed under the Apache License, Version 2.0 (the "License");
417408
// you may not use this file except in compliance with the License.
418409
// You may obtain a copy of the License at
419410
//
420411
// https://www.apache.org/licenses/LICENSE-2.0
421412
//
422413
// Unless required by applicable law or agreed to in writing, software
423-
// distributed under the License is distributed on an ""AS IS"" BASIS,
414+
// distributed under the License is distributed on an "AS IS" BASIS,
424415
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
425416
// See the License for the specific language governing permissions and
426417
// limitations under the License.
427418
//---------------------------------------------------------------------------
428419
//
429-
// The MPL v1.1:
420+
// The MPL v2.0:
430421
//
431422
//---------------------------------------------------------------------------
432-
// The contents of this file are subject to the Mozilla Public License
433-
// Version 1.1 (the ""License""); you may not use this file except in
434-
// compliance with the License. You may obtain a copy of the License at
435-
// https://www.rabbitmq.com/mpl.html
436-
//
437-
// Software distributed under the License is distributed on an ""AS IS""
438-
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
439-
// License for the specific language governing rights and limitations
440-
// under the License.
441-
//
442-
// The Original Code is RabbitMQ.
423+
// This Source Code Form is subject to the terms of the Mozilla Public
424+
// License, v. 2.0. If a copy of the MPL was not distributed with this
425+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
443426
//
444-
// The Initial Developer of the Original Code is Pivotal Software, Inc.
445427
// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
446428
//---------------------------------------------------------------------------
447429

Diff for: projects/RabbitMQ.Client/client/api/AmqpTcpEndpoint.cs

+5-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This source code is dual-licensed under the Apache License, version
2-
// 2.0, and the Mozilla Public License, version 1.1.
2+
// 2.0, and the Mozilla Public License, version 2.0.
33
//
44
// The APL v2.0:
55
//
@@ -19,22 +19,13 @@
1919
// limitations under the License.
2020
//---------------------------------------------------------------------------
2121
//
22-
// The MPL v1.1:
22+
// The MPL v2.0:
2323
//
2424
//---------------------------------------------------------------------------
25-
// The contents of this file are subject to the Mozilla Public License
26-
// Version 1.1 (the "License"); you may not use this file except in
27-
// compliance with the License. You may obtain a copy of the License
28-
// at https://www.mozilla.org/MPL/
25+
// This Source Code Form is subject to the terms of the Mozilla Public
26+
// License, v. 2.0. If a copy of the MPL was not distributed with this
27+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
2928
//
30-
// Software distributed under the License is distributed on an "AS IS"
31-
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
32-
// the License for the specific language governing rights and
33-
// limitations under the License.
34-
//
35-
// The Original Code is RabbitMQ.
36-
//
37-
// The Initial Developer of the Original Code is Pivotal Software, Inc.
3829
// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
3930
//---------------------------------------------------------------------------
4031

Diff for: projects/RabbitMQ.Client/client/api/AmqpTimestamp.cs

+5-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This source code is dual-licensed under the Apache License, version
2-
// 2.0, and the Mozilla Public License, version 1.1.
2+
// 2.0, and the Mozilla Public License, version 2.0.
33
//
44
// The APL v2.0:
55
//
@@ -19,22 +19,13 @@
1919
// limitations under the License.
2020
//---------------------------------------------------------------------------
2121
//
22-
// The MPL v1.1:
22+
// The MPL v2.0:
2323
//
2424
//---------------------------------------------------------------------------
25-
// The contents of this file are subject to the Mozilla Public License
26-
// Version 1.1 (the "License"); you may not use this file except in
27-
// compliance with the License. You may obtain a copy of the License
28-
// at https://www.mozilla.org/MPL/
25+
// This Source Code Form is subject to the terms of the Mozilla Public
26+
// License, v. 2.0. If a copy of the MPL was not distributed with this
27+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
2928
//
30-
// Software distributed under the License is distributed on an "AS IS"
31-
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
32-
// the License for the specific language governing rights and
33-
// limitations under the License.
34-
//
35-
// The Original Code is RabbitMQ.
36-
//
37-
// The Initial Developer of the Original Code is Pivotal Software, Inc.
3829
// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
3930
//---------------------------------------------------------------------------
4031

Diff for: projects/RabbitMQ.Client/client/api/BasicGetResult.cs

+5-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This source code is dual-licensed under the Apache License, version
2-
// 2.0, and the Mozilla Public License, version 1.1.
2+
// 2.0, and the Mozilla Public License, version 2.0.
33
//
44
// The APL v2.0:
55
//
@@ -19,22 +19,13 @@
1919
// limitations under the License.
2020
//---------------------------------------------------------------------------
2121
//
22-
// The MPL v1.1:
22+
// The MPL v2.0:
2323
//
2424
//---------------------------------------------------------------------------
25-
// The contents of this file are subject to the Mozilla Public License
26-
// Version 1.1 (the "License"); you may not use this file except in
27-
// compliance with the License. You may obtain a copy of the License
28-
// at https://www.mozilla.org/MPL/
25+
// This Source Code Form is subject to the terms of the Mozilla Public
26+
// License, v. 2.0. If a copy of the MPL was not distributed with this
27+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
2928
//
30-
// Software distributed under the License is distributed on an "AS IS"
31-
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
32-
// the License for the specific language governing rights and
33-
// limitations under the License.
34-
//
35-
// The Original Code is RabbitMQ.
36-
//
37-
// The Initial Developer of the Original Code is Pivotal Software, Inc.
3829
// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
3930
//---------------------------------------------------------------------------
4031

Diff for: projects/RabbitMQ.Client/client/api/BinaryTableValue.cs

+5-14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This source code is dual-licensed under the Apache License, version
2-
// 2.0, and the Mozilla Public License, version 1.1.
2+
// 2.0, and the Mozilla Public License, version 2.0.
33
//
44
// The APL v2.0:
55
//
@@ -19,22 +19,13 @@
1919
// limitations under the License.
2020
//---------------------------------------------------------------------------
2121
//
22-
// The MPL v1.1:
22+
// The MPL v2.0:
2323
//
2424
//---------------------------------------------------------------------------
25-
// The contents of this file are subject to the Mozilla Public License
26-
// Version 1.1 (the "License"); you may not use this file except in
27-
// compliance with the License. You may obtain a copy of the License
28-
// at https://www.mozilla.org/MPL/
25+
// This Source Code Form is subject to the terms of the Mozilla Public
26+
// License, v. 2.0. If a copy of the MPL was not distributed with this
27+
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
2928
//
30-
// Software distributed under the License is distributed on an "AS IS"
31-
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
32-
// the License for the specific language governing rights and
33-
// limitations under the License.
34-
//
35-
// The Original Code is RabbitMQ.
36-
//
37-
// The Initial Developer of the Original Code is Pivotal Software, Inc.
3829
// Copyright (c) 2007-2020 VMware, Inc. All rights reserved.
3930
//---------------------------------------------------------------------------
4031

0 commit comments

Comments
 (0)