diff options
author | Jens Geyer <jensg@apache.org> | 2022-09-11 12:30:35 +0200 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2022-09-11 12:31:26 +0200 |
commit | 944b8e68a099392d80153ebcf26f32ff7f1d893a (patch) | |
tree | c74bc3544883d05214735a0168c24dd48cf9f093 /lib/erl | |
parent | 154d1548a8e75df49f9958845dd98b13aa2258ec (diff) | |
download | thrift-944b8e68a099392d80153ebcf26f32ff7f1d893a.tar.gz |
fixed a ton of missing ASF headers in *.thrift files
Diffstat (limited to 'lib/erl')
-rw-r--r-- | lib/erl/test/Thrift1151.thrift | 19 | ||||
-rw-r--r-- | lib/erl/test/Thrift1475.thrift | 19 | ||||
-rw-r--r-- | lib/erl/test/Thrift_omit_with.thrift | 19 | ||||
-rw-r--r-- | lib/erl/test/flags/LegacyNames.thrift | 19 | ||||
-rw-r--r-- | lib/erl/test/multiplexing.thrift | 19 |
5 files changed, 95 insertions, 0 deletions
diff --git a/lib/erl/test/Thrift1151.thrift b/lib/erl/test/Thrift1151.thrift index 6f934a7b1..ce6d8584b 100644 --- a/lib/erl/test/Thrift1151.thrift +++ b/lib/erl/test/Thrift1151.thrift @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ + struct StructA { 1: i16 x; } struct StructB { 1: i32 x; } struct StructC { 1: StructA x; } diff --git a/lib/erl/test/Thrift1475.thrift b/lib/erl/test/Thrift1475.thrift index 7adeb7e65..437164308 100644 --- a/lib/erl/test/Thrift1475.thrift +++ b/lib/erl/test/Thrift1475.thrift @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ + struct StructB { 1: string x diff --git a/lib/erl/test/Thrift_omit_with.thrift b/lib/erl/test/Thrift_omit_with.thrift index 8bffc7c73..a4395c5a9 100644 --- a/lib/erl/test/Thrift_omit_with.thrift +++ b/lib/erl/test/Thrift_omit_with.thrift @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ + struct test1 { 1: i32 one 2: i32 two // omit diff --git a/lib/erl/test/flags/LegacyNames.thrift b/lib/erl/test/flags/LegacyNames.thrift index 38f272907..2eb85e6b8 100644 --- a/lib/erl/test/flags/LegacyNames.thrift +++ b/lib/erl/test/flags/LegacyNames.thrift @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ + enum Numberz { ONE = 1, diff --git a/lib/erl/test/multiplexing.thrift b/lib/erl/test/multiplexing.thrift index 7c7994b97..52c1661fd 100644 --- a/lib/erl/test/multiplexing.thrift +++ b/lib/erl/test/multiplexing.thrift @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + */ + service Multiplexing_Calculator { i32 add(1: i32 x, 2: i32 y) } |