Skip to content

Commit 673a682

Browse files
committed
Add dual license to all .swift,.h,.m files
- Also committing `add-license` binary generated from: https://github.com/camelpunch/AddLicense - Add a rake task to execute this binary after codegen by default [#121307413]
1 parent 97776a6 commit 673a682

File tree

177 files changed

+8895
-9
lines changed

Some content is hidden

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

177 files changed

+8895
-9
lines changed

RMQClient/RMQAllocatedChannel.h

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
// This source code is dual-licensed under the Mozilla Public License ("MPL"),
2+
// version 1.1 and the Apache License ("ASL"), version 2.0.
3+
//
4+
// The ASL v2.0:
5+
//
6+
// ---------------------------------------------------------------------------
7+
// Copyright 2016 Pivotal Software, Inc.
8+
//
9+
// Licensed under the Apache License, Version 2.0 (the "License");
10+
// you may not use this file except in compliance with the License.
11+
// You may obtain a copy of the License at
12+
//
13+
// http://www.apache.org/licenses/LICENSE-2.0
14+
//
15+
// Unless required by applicable law or agreed to in writing, software
16+
// distributed under the License is distributed on an "AS IS" BASIS,
17+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
// See the License for the specific language governing permissions and
19+
// limitations under the License.
20+
// ---------------------------------------------------------------------------
21+
//
22+
// The MPL v1.1:
23+
//
24+
// ---------------------------------------------------------------------------
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 at
28+
// https://www.mozilla.org/MPL/
29+
//
30+
// Software distributed under the License is distributed on an "AS IS"
31+
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
32+
// License for the specific language governing rights and limitations
33+
// under the License.
34+
//
35+
// The Original Code is RabbitMQ
36+
//
37+
// The Initial Developer of the Original Code is Pivotal Software, Inc.
38+
// All Rights Reserved.
39+
//
40+
// Alternatively, the contents of this file may be used under the terms
41+
// of the Apache Standard license (the "ASL License"), in which case the
42+
// provisions of the ASL License are applicable instead of those
43+
// above. If you wish to allow use of your version of this file only
44+
// under the terms of the ASL License and not to allow others to use
45+
// your version of this file under the MPL, indicate your decision by
46+
// deleting the provisions above and replace them with the notice and
47+
// other provisions required by the ASL License. If you do not delete
48+
// the provisions above, a recipient may use your version of this file
49+
// under either the MPL or the ASL License.
50+
// ---------------------------------------------------------------------------
51+
152
#import <Foundation/Foundation.h>
253
#import "RMQChannel.h"
354
#import "RMQLocalSerialQueue.h"

RMQClient/RMQAllocatedChannel.m

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
// This source code is dual-licensed under the Mozilla Public License ("MPL"),
2+
// version 1.1 and the Apache License ("ASL"), version 2.0.
3+
//
4+
// The ASL v2.0:
5+
//
6+
// ---------------------------------------------------------------------------
7+
// Copyright 2016 Pivotal Software, Inc.
8+
//
9+
// Licensed under the Apache License, Version 2.0 (the "License");
10+
// you may not use this file except in compliance with the License.
11+
// You may obtain a copy of the License at
12+
//
13+
// http://www.apache.org/licenses/LICENSE-2.0
14+
//
15+
// Unless required by applicable law or agreed to in writing, software
16+
// distributed under the License is distributed on an "AS IS" BASIS,
17+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
// See the License for the specific language governing permissions and
19+
// limitations under the License.
20+
// ---------------------------------------------------------------------------
21+
//
22+
// The MPL v1.1:
23+
//
24+
// ---------------------------------------------------------------------------
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 at
28+
// https://www.mozilla.org/MPL/
29+
//
30+
// Software distributed under the License is distributed on an "AS IS"
31+
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
32+
// License for the specific language governing rights and limitations
33+
// under the License.
34+
//
35+
// The Original Code is RabbitMQ
36+
//
37+
// The Initial Developer of the Original Code is Pivotal Software, Inc.
38+
// All Rights Reserved.
39+
//
40+
// Alternatively, the contents of this file may be used under the terms
41+
// of the Apache Standard license (the "ASL License"), in which case the
42+
// provisions of the ASL License are applicable instead of those
43+
// above. If you wish to allow use of your version of this file only
44+
// under the terms of the ASL License and not to allow others to use
45+
// your version of this file under the MPL, indicate your decision by
46+
// deleting the provisions above and replace them with the notice and
47+
// other provisions required by the ASL License. If you do not delete
48+
// the provisions above, a recipient may use your version of this file
49+
// under either the MPL or the ASL License.
50+
// ---------------------------------------------------------------------------
51+
152
#import "RMQBasicProperties+MergeDefaults.h"
253
#import "RMQErrors.h"
354
#import "RMQMethods.h"

RMQClient/RMQBasicProperties+MergeDefaults.h

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
// This source code is dual-licensed under the Mozilla Public License ("MPL"),
2+
// version 1.1 and the Apache License ("ASL"), version 2.0.
3+
//
4+
// The ASL v2.0:
5+
//
6+
// ---------------------------------------------------------------------------
7+
// Copyright 2016 Pivotal Software, Inc.
8+
//
9+
// Licensed under the Apache License, Version 2.0 (the "License");
10+
// you may not use this file except in compliance with the License.
11+
// You may obtain a copy of the License at
12+
//
13+
// http://www.apache.org/licenses/LICENSE-2.0
14+
//
15+
// Unless required by applicable law or agreed to in writing, software
16+
// distributed under the License is distributed on an "AS IS" BASIS,
17+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
// See the License for the specific language governing permissions and
19+
// limitations under the License.
20+
// ---------------------------------------------------------------------------
21+
//
22+
// The MPL v1.1:
23+
//
24+
// ---------------------------------------------------------------------------
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 at
28+
// https://www.mozilla.org/MPL/
29+
//
30+
// Software distributed under the License is distributed on an "AS IS"
31+
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
32+
// License for the specific language governing rights and limitations
33+
// under the License.
34+
//
35+
// The Original Code is RabbitMQ
36+
//
37+
// The Initial Developer of the Original Code is Pivotal Software, Inc.
38+
// All Rights Reserved.
39+
//
40+
// Alternatively, the contents of this file may be used under the terms
41+
// of the Apache Standard license (the "ASL License"), in which case the
42+
// provisions of the ASL License are applicable instead of those
43+
// above. If you wish to allow use of your version of this file only
44+
// under the terms of the ASL License and not to allow others to use
45+
// your version of this file under the MPL, indicate your decision by
46+
// deleting the provisions above and replace them with the notice and
47+
// other provisions required by the ASL License. If you do not delete
48+
// the provisions above, a recipient may use your version of this file
49+
// under either the MPL or the ASL License.
50+
// ---------------------------------------------------------------------------
51+
152
#import <Foundation/Foundation.h>
253
#import "RMQBasicProperties.h"
354

RMQClient/RMQBasicProperties+MergeDefaults.m

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
// This source code is dual-licensed under the Mozilla Public License ("MPL"),
2+
// version 1.1 and the Apache License ("ASL"), version 2.0.
3+
//
4+
// The ASL v2.0:
5+
//
6+
// ---------------------------------------------------------------------------
7+
// Copyright 2016 Pivotal Software, Inc.
8+
//
9+
// Licensed under the Apache License, Version 2.0 (the "License");
10+
// you may not use this file except in compliance with the License.
11+
// You may obtain a copy of the License at
12+
//
13+
// http://www.apache.org/licenses/LICENSE-2.0
14+
//
15+
// Unless required by applicable law or agreed to in writing, software
16+
// distributed under the License is distributed on an "AS IS" BASIS,
17+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
// See the License for the specific language governing permissions and
19+
// limitations under the License.
20+
// ---------------------------------------------------------------------------
21+
//
22+
// The MPL v1.1:
23+
//
24+
// ---------------------------------------------------------------------------
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 at
28+
// https://www.mozilla.org/MPL/
29+
//
30+
// Software distributed under the License is distributed on an "AS IS"
31+
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
32+
// License for the specific language governing rights and limitations
33+
// under the License.
34+
//
35+
// The Original Code is RabbitMQ
36+
//
37+
// The Initial Developer of the Original Code is Pivotal Software, Inc.
38+
// All Rights Reserved.
39+
//
40+
// Alternatively, the contents of this file may be used under the terms
41+
// of the Apache Standard license (the "ASL License"), in which case the
42+
// provisions of the ASL License are applicable instead of those
43+
// above. If you wish to allow use of your version of this file only
44+
// under the terms of the ASL License and not to allow others to use
45+
// your version of this file under the MPL, indicate your decision by
46+
// deleting the provisions above and replace them with the notice and
47+
// other provisions required by the ASL License. If you do not delete
48+
// the provisions above, a recipient may use your version of this file
49+
// under either the MPL or the ASL License.
50+
// ---------------------------------------------------------------------------
51+
152
#import "RMQBasicProperties+MergeDefaults.h"
253

354
@implementation RMQBasicProperties (MergeDefaults)

RMQClient/RMQBasicProperties.h

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
// This source code is dual-licensed under the Mozilla Public License ("MPL"),
2+
// version 1.1 and the Apache License ("ASL"), version 2.0.
3+
//
4+
// The ASL v2.0:
5+
//
6+
// ---------------------------------------------------------------------------
7+
// Copyright 2016 Pivotal Software, Inc.
8+
//
9+
// Licensed under the Apache License, Version 2.0 (the "License");
10+
// you may not use this file except in compliance with the License.
11+
// You may obtain a copy of the License at
12+
//
13+
// http://www.apache.org/licenses/LICENSE-2.0
14+
//
15+
// Unless required by applicable law or agreed to in writing, software
16+
// distributed under the License is distributed on an "AS IS" BASIS,
17+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
// See the License for the specific language governing permissions and
19+
// limitations under the License.
20+
// ---------------------------------------------------------------------------
21+
//
22+
// The MPL v1.1:
23+
//
24+
// ---------------------------------------------------------------------------
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 at
28+
// https://www.mozilla.org/MPL/
29+
//
30+
// Software distributed under the License is distributed on an "AS IS"
31+
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
32+
// License for the specific language governing rights and limitations
33+
// under the License.
34+
//
35+
// The Original Code is RabbitMQ
36+
//
37+
// The Initial Developer of the Original Code is Pivotal Software, Inc.
38+
// All Rights Reserved.
39+
//
40+
// Alternatively, the contents of this file may be used under the terms
41+
// of the Apache Standard license (the "ASL License"), in which case the
42+
// provisions of the ASL License are applicable instead of those
43+
// above. If you wish to allow use of your version of this file only
44+
// under the terms of the ASL License and not to allow others to use
45+
// your version of this file under the MPL, indicate your decision by
46+
// deleting the provisions above and replace them with the notice and
47+
// other provisions required by the ASL License. If you do not delete
48+
// the provisions above, a recipient may use your version of this file
49+
// under either the MPL or the ASL License.
50+
// ---------------------------------------------------------------------------
51+
152
// This file is generated. Do not edit.
253
#import "RMQTable.h"
354

RMQClient/RMQBasicProperties.m

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
// This source code is dual-licensed under the Mozilla Public License ("MPL"),
2+
// version 1.1 and the Apache License ("ASL"), version 2.0.
3+
//
4+
// The ASL v2.0:
5+
//
6+
// ---------------------------------------------------------------------------
7+
// Copyright 2016 Pivotal Software, Inc.
8+
//
9+
// Licensed under the Apache License, Version 2.0 (the "License");
10+
// you may not use this file except in compliance with the License.
11+
// You may obtain a copy of the License at
12+
//
13+
// http://www.apache.org/licenses/LICENSE-2.0
14+
//
15+
// Unless required by applicable law or agreed to in writing, software
16+
// distributed under the License is distributed on an "AS IS" BASIS,
17+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
// See the License for the specific language governing permissions and
19+
// limitations under the License.
20+
// ---------------------------------------------------------------------------
21+
//
22+
// The MPL v1.1:
23+
//
24+
// ---------------------------------------------------------------------------
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 at
28+
// https://www.mozilla.org/MPL/
29+
//
30+
// Software distributed under the License is distributed on an "AS IS"
31+
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
32+
// License for the specific language governing rights and limitations
33+
// under the License.
34+
//
35+
// The Original Code is RabbitMQ
36+
//
37+
// The Initial Developer of the Original Code is Pivotal Software, Inc.
38+
// All Rights Reserved.
39+
//
40+
// Alternatively, the contents of this file may be used under the terms
41+
// of the Apache Standard license (the "ASL License"), in which case the
42+
// provisions of the ASL License are applicable instead of those
43+
// above. If you wish to allow use of your version of this file only
44+
// under the terms of the ASL License and not to allow others to use
45+
// your version of this file under the MPL, indicate your decision by
46+
// deleting the provisions above and replace them with the notice and
47+
// other provisions required by the ASL License. If you do not delete
48+
// the provisions above, a recipient may use your version of this file
49+
// under either the MPL or the ASL License.
50+
// ---------------------------------------------------------------------------
51+
152
// This file is generated. Do not edit.
253
#import "RMQBasicProperties.h"
354

RMQClient/RMQChannel.h

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
// This source code is dual-licensed under the Mozilla Public License ("MPL"),
2+
// version 1.1 and the Apache License ("ASL"), version 2.0.
3+
//
4+
// The ASL v2.0:
5+
//
6+
// ---------------------------------------------------------------------------
7+
// Copyright 2016 Pivotal Software, Inc.
8+
//
9+
// Licensed under the Apache License, Version 2.0 (the "License");
10+
// you may not use this file except in compliance with the License.
11+
// You may obtain a copy of the License at
12+
//
13+
// http://www.apache.org/licenses/LICENSE-2.0
14+
//
15+
// Unless required by applicable law or agreed to in writing, software
16+
// distributed under the License is distributed on an "AS IS" BASIS,
17+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
// See the License for the specific language governing permissions and
19+
// limitations under the License.
20+
// ---------------------------------------------------------------------------
21+
//
22+
// The MPL v1.1:
23+
//
24+
// ---------------------------------------------------------------------------
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 at
28+
// https://www.mozilla.org/MPL/
29+
//
30+
// Software distributed under the License is distributed on an "AS IS"
31+
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
32+
// License for the specific language governing rights and limitations
33+
// under the License.
34+
//
35+
// The Original Code is RabbitMQ
36+
//
37+
// The Initial Developer of the Original Code is Pivotal Software, Inc.
38+
// All Rights Reserved.
39+
//
40+
// Alternatively, the contents of this file may be used under the terms
41+
// of the Apache Standard license (the "ASL License"), in which case the
42+
// provisions of the ASL License are applicable instead of those
43+
// above. If you wish to allow use of your version of this file only
44+
// under the terms of the ASL License and not to allow others to use
45+
// your version of this file under the MPL, indicate your decision by
46+
// deleting the provisions above and replace them with the notice and
47+
// other provisions required by the ASL License. If you do not delete
48+
// the provisions above, a recipient may use your version of this file
49+
// under either the MPL or the ASL License.
50+
// ---------------------------------------------------------------------------
51+
152
#import <Foundation/Foundation.h>
253
#import "RMQMethods.h"
354
#import "RMQExchange.h"

0 commit comments

Comments
 (0)