Update license headers format
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/71ad712f Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/71ad712f Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/71ad712f Branch: refs/heads/master Commit: 71ad712f5d1bdb348f58f1a9345573cb48ebbdca Parents: d656191 Author: Vladimir Kotikov <[email protected]> Authored: Fri Apr 18 10:13:42 2014 +0400 Committer: Vladimir Kotikov <[email protected]> Committed: Tue Apr 22 18:57:16 2014 +0400 ---------------------------------------------------------------------- NOTICE | 1 + src/android/ContactAccessor.java | 1 - src/android/ContactAccessorSdk5.java | 2 -- src/android/ContactInfoDTO.java | 20 ++++++++++++++++++-- src/android/ContactManager.java | 2 -- src/ios/CDVContacts.h | 2 -- src/ios/CDVContacts.m | 2 -- src/windows8/ContactProxy.js | 7 ++----- src/wp/ContactPicker.xaml | 17 ++++++++++++++++- src/wp/ContactPicker.xaml.cs | 19 +++++++++++++++++-- src/wp/ContactPickerTask.cs | 19 +++++++++++++++++-- src/wp/Contacts.cs | 29 ++++++++++++++++------------- src/wp/ContactsHelper.cs | 19 +++++++++++++++++-- www/ContactFieldType.js | 21 +++++++++++++++++++-- www/ContactFindOptions.js | 1 - www/contacts.js | 2 -- 16 files changed, 123 insertions(+), 41 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/NOTICE ---------------------------------------------------------------------- diff --git a/NOTICE b/NOTICE index 8ec56a5..b0398ea 100644 --- a/NOTICE +++ b/NOTICE @@ -3,3 +3,4 @@ Copyright 2012 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). +Microsoft Open Technologies, Inc. (http://msopentech.com/). \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/src/android/ContactAccessor.java ---------------------------------------------------------------------- diff --git a/src/android/ContactAccessor.java b/src/android/ContactAccessor.java index 879fe68..eb3cbbf 100644 --- a/src/android/ContactAccessor.java +++ b/src/android/ContactAccessor.java @@ -1,6 +1,5 @@ /* * Copyright (C) 2009 The Android Open Source Project - * Copyright (c) Microsoft Open Technologies, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/src/android/ContactAccessorSdk5.java ---------------------------------------------------------------------- diff --git a/src/android/ContactAccessorSdk5.java b/src/android/ContactAccessorSdk5.java index 9178b38..4c81b1b 100644 --- a/src/android/ContactAccessorSdk5.java +++ b/src/android/ContactAccessorSdk5.java @@ -15,8 +15,6 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - - Copyright (c) Microsoft Open Technologies, Inc. */ package org.apache.cordova.contacts; http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/src/android/ContactInfoDTO.java ---------------------------------------------------------------------- diff --git a/src/android/ContactInfoDTO.java b/src/android/ContactInfoDTO.java index 52a066f..a61b6e7 100644 --- a/src/android/ContactInfoDTO.java +++ b/src/android/ContactInfoDTO.java @@ -1,6 +1,22 @@ /* - * Copyright (c) Microsoft Open Technologies, Inc. Licensed under the Apache License, Version 2.0 (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 org.apache.cordova.contacts; import java.util.HashMap; http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/src/android/ContactManager.java ---------------------------------------------------------------------- diff --git a/src/android/ContactManager.java b/src/android/ContactManager.java index 7e88893..e1a4568 100644 --- a/src/android/ContactManager.java +++ b/src/android/ContactManager.java @@ -15,8 +15,6 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - - Copyright (c) Microsoft Open Technologies, Inc. */ package org.apache.cordova.contacts; http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/src/ios/CDVContacts.h ---------------------------------------------------------------------- diff --git a/src/ios/CDVContacts.h b/src/ios/CDVContacts.h index 294c48e..479d390 100644 --- a/src/ios/CDVContacts.h +++ b/src/ios/CDVContacts.h @@ -15,8 +15,6 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - - Copyright (c) Microsoft Open Technologies, Inc. */ #import <Foundation/Foundation.h> http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/src/ios/CDVContacts.m ---------------------------------------------------------------------- diff --git a/src/ios/CDVContacts.m b/src/ios/CDVContacts.m index b8513bf..a67cf4e 100644 --- a/src/ios/CDVContacts.m +++ b/src/ios/CDVContacts.m @@ -15,8 +15,6 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - - Copyright (c) Microsoft Open Technologies, Inc. */ #import "CDVContacts.h" http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/src/windows8/ContactProxy.js ---------------------------------------------------------------------- diff --git a/src/windows8/ContactProxy.js b/src/windows8/ContactProxy.js index 960ae5c..c67e771 100644 --- a/src/windows8/ContactProxy.js +++ b/src/windows8/ContactProxy.js @@ -1,4 +1,3 @@ -//cordova.define("org.apache.cordova.contacts.ContactProxy", function (require, exports, module) { /* * * Licensed to the Apache Software Foundation (ASF) under one @@ -17,9 +16,8 @@ * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * - * Copyright (c) Microsoft Open Technologies, Inc. -*/ + * + */ var ContactField = require('./ContactField'), ContactAddress = require('./ContactAddress'), @@ -121,4 +119,3 @@ module.exports = { } require("cordova/exec/proxy").add("Contacts", module.exports); -// }); http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/src/wp/ContactPicker.xaml ---------------------------------------------------------------------- diff --git a/src/wp/ContactPicker.xaml b/src/wp/ContactPicker.xaml index 4f95823..cef3681 100644 --- a/src/wp/ContactPicker.xaml +++ b/src/wp/ContactPicker.xaml @@ -1,6 +1,21 @@ <!-- - Copyright (c) Microsoft Open Technologies, Inc. Licensed under the Apache License, Version 2.0 (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. --> + <phone:PhoneApplicationPage x:Class="WPCordovaClassLib.Cordova.Commands.ContactPicker" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/src/wp/ContactPicker.xaml.cs ---------------------------------------------------------------------- diff --git a/src/wp/ContactPicker.xaml.cs b/src/wp/ContactPicker.xaml.cs index 90484fd..ea3916e 100644 --- a/src/wp/ContactPicker.xaml.cs +++ b/src/wp/ContactPicker.xaml.cs @@ -1,6 +1,21 @@ /* - * Copyright (c) Microsoft Open Technologies, Inc. Licensed under the Apache License, Version 2.0 (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. +*/ namespace WPCordovaClassLib.Cordova.Commands { http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/src/wp/ContactPickerTask.cs ---------------------------------------------------------------------- diff --git a/src/wp/ContactPickerTask.cs b/src/wp/ContactPickerTask.cs index 1228cc0..273fc1b 100644 --- a/src/wp/ContactPickerTask.cs +++ b/src/wp/ContactPickerTask.cs @@ -1,6 +1,21 @@ /* - * Copyright (c) Microsoft Open Technologies, Inc. Licensed under the Apache License, Version 2.0 (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. +*/ namespace WPCordovaClassLib.Cordova.Commands { http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/src/wp/Contacts.cs ---------------------------------------------------------------------- diff --git a/src/wp/Contacts.cs b/src/wp/Contacts.cs index 0059c4e..89af66c 100644 --- a/src/wp/Contacts.cs +++ b/src/wp/Contacts.cs @@ -1,17 +1,20 @@ /* - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - 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. - - Copyright (c) Microsoft Open Technologies, Inc. + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + 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. */ using Microsoft.Phone.Tasks; http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/src/wp/ContactsHelper.cs ---------------------------------------------------------------------- diff --git a/src/wp/ContactsHelper.cs b/src/wp/ContactsHelper.cs index a051123..9f6a4cd 100644 --- a/src/wp/ContactsHelper.cs +++ b/src/wp/ContactsHelper.cs @@ -1,6 +1,21 @@ /* - * Copyright (c) Microsoft Open Technologies, Inc. Licensed under the Apache License, Version 2.0 (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. +*/ namespace WPCordovaClassLib.Cordova.Commands { http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/www/ContactFieldType.js ---------------------------------------------------------------------- diff --git a/www/ContactFieldType.js b/www/ContactFieldType.js index 18fee46..205c1ed 100644 --- a/www/ContactFieldType.js +++ b/www/ContactFieldType.js @@ -1,6 +1,23 @@ /* - * Copyright (c) Microsoft Open Technologies, Inc. Licensed under the Apache License, Version 2.0 (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. + * +*/ // Possible field names for various platforms. // Some field names are platform specific http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/www/ContactFindOptions.js ---------------------------------------------------------------------- diff --git a/www/ContactFindOptions.js b/www/ContactFindOptions.js index 9131e4b..75e6ed1 100644 --- a/www/ContactFindOptions.js +++ b/www/ContactFindOptions.js @@ -17,7 +17,6 @@ * specific language governing permissions and limitations * under the License. * - * Copyright (c) Microsoft Open Technologies, Inc. */ /** http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/71ad712f/www/contacts.js ---------------------------------------------------------------------- diff --git a/www/contacts.js b/www/contacts.js index ceff259..1ecd28c 100644 --- a/www/contacts.js +++ b/www/contacts.js @@ -17,8 +17,6 @@ * specific language governing permissions and limitations * under the License. * - * Copyright (c) Microsoft Open Technologies, Inc. - * */ var argscheck = require('cordova/argscheck'),
