From 68cff27d4c5d8a18c631507f2f851b4510c7eae7 Mon Sep 17 00:00:00 2001 From: "dm.naumenko@gmail.com" Date: Fri, 15 Oct 2010 12:01:37 +0000 Subject: [PATCH] changes license to ASL --- src/difflib/ChangeDelta.java | 23 ++++++++++------------- src/difflib/Chunk.java | 23 ++++++++++------------- src/difflib/DeleteDelta.java | 23 ++++++++++------------- src/difflib/Delta.java | 23 ++++++++++------------- src/difflib/DiffAlgorithm.java | 23 ++++++++++------------- src/difflib/DiffException.java | 23 ++++++++++------------- src/difflib/DiffRow.java | 23 ++++++++++------------- src/difflib/DiffRowGenerator.java | 23 ++++++++++------------- src/difflib/DiffUtils.java | 23 ++++++++++------------- src/difflib/InsertDelta.java | 23 ++++++++++------------- src/difflib/Patch.java | 23 ++++++++++------------- src/difflib/PatchFailedException.java | 23 ++++++++++------------- src/difflib/StringUtills.java | 15 +++++++++++++++ 13 files changed, 135 insertions(+), 156 deletions(-) diff --git a/src/difflib/ChangeDelta.java b/src/difflib/ChangeDelta.java index 5d85eda..29ed8e6 100644 --- a/src/difflib/ChangeDelta.java +++ b/src/difflib/ChangeDelta.java @@ -1,20 +1,17 @@ /* - Copyright 2009 Dmitry Naumenko (dm.naumenko@gmail.com) - - This file is part of Java Diff Utills Library. + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) - Java Diff Utills Library is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - Java Diff Utills Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + http://www.apache.org/licenses/LICENSE-2.0 - You should have received a copy of the GNU General Public License - along with Java Diff Utills Library. If not, see . + 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 difflib; diff --git a/src/difflib/Chunk.java b/src/difflib/Chunk.java index bc64e6b..c510459 100644 --- a/src/difflib/Chunk.java +++ b/src/difflib/Chunk.java @@ -1,20 +1,17 @@ /* - Copyright 2009 Dmitry Naumenko (dm.naumenko@gmail.com) - - This file is part of Java Diff Utills Library. + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) - Java Diff Utills Library is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - Java Diff Utills Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + http://www.apache.org/licenses/LICENSE-2.0 - You should have received a copy of the GNU General Public License - along with Java Diff Utills Library. If not, see . + 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 difflib; diff --git a/src/difflib/DeleteDelta.java b/src/difflib/DeleteDelta.java index f9d9c87..8a06892 100644 --- a/src/difflib/DeleteDelta.java +++ b/src/difflib/DeleteDelta.java @@ -1,20 +1,17 @@ /* - Copyright 2009 Dmitry Naumenko (dm.naumenko@gmail.com) - - This file is part of Java Diff Utills Library. + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) - Java Diff Utills Library is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - Java Diff Utills Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + http://www.apache.org/licenses/LICENSE-2.0 - You should have received a copy of the GNU General Public License - along with Java Diff Utills Library. If not, see . + 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 difflib; diff --git a/src/difflib/Delta.java b/src/difflib/Delta.java index aaa5bc6..ad9d754 100644 --- a/src/difflib/Delta.java +++ b/src/difflib/Delta.java @@ -1,20 +1,17 @@ /* - Copyright 2009 Dmitry Naumenko (dm.naumenko@gmail.com) - - This file is part of Java Diff Utills Library. + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) - Java Diff Utills Library is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - Java Diff Utills Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + http://www.apache.org/licenses/LICENSE-2.0 - You should have received a copy of the GNU General Public License - along with Java Diff Utills Library. If not, see . + 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 difflib; diff --git a/src/difflib/DiffAlgorithm.java b/src/difflib/DiffAlgorithm.java index b9806de..d2e18a1 100644 --- a/src/difflib/DiffAlgorithm.java +++ b/src/difflib/DiffAlgorithm.java @@ -1,20 +1,17 @@ /* - Copyright 2009 Dmitry Naumenko (dm.naumenko@gmail.com) - - This file is part of Java Diff Utills Library. + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) - Java Diff Utills Library is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - Java Diff Utills Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + http://www.apache.org/licenses/LICENSE-2.0 - You should have received a copy of the GNU General Public License - along with Java Diff Utills Library. If not, see . + 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 difflib; diff --git a/src/difflib/DiffException.java b/src/difflib/DiffException.java index ac0b1ed..6ad3dd4 100644 --- a/src/difflib/DiffException.java +++ b/src/difflib/DiffException.java @@ -1,20 +1,17 @@ /* - Copyright 2009 Dmitry Naumenko (dm.naumenko@gmail.com) - - This file is part of Java Diff Utills Library. + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) - Java Diff Utills Library is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - Java Diff Utills Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + http://www.apache.org/licenses/LICENSE-2.0 - You should have received a copy of the GNU General Public License - along with Java Diff Utills Library. If not, see . + 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 difflib; diff --git a/src/difflib/DiffRow.java b/src/difflib/DiffRow.java index 7cd3acc..6f8234b 100644 --- a/src/difflib/DiffRow.java +++ b/src/difflib/DiffRow.java @@ -1,20 +1,17 @@ /* - Copyright 2009 Dmitry Naumenko (dm.naumenko@gmail.com) - - This file is part of Java Diff Utills Library. + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) - Java Diff Utills Library is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - Java Diff Utills Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + http://www.apache.org/licenses/LICENSE-2.0 - You should have received a copy of the GNU General Public License - along with Java Diff Utills Library. If not, see . + 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 difflib; diff --git a/src/difflib/DiffRowGenerator.java b/src/difflib/DiffRowGenerator.java index 77aa3fb..68696f3 100644 --- a/src/difflib/DiffRowGenerator.java +++ b/src/difflib/DiffRowGenerator.java @@ -1,20 +1,17 @@ /* - Copyright 2009 Dmitry Naumenko (dm.naumenko@gmail.com) - - This file is part of Java Diff Utills Library. + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) - Java Diff Utills Library is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - Java Diff Utills Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + http://www.apache.org/licenses/LICENSE-2.0 - You should have received a copy of the GNU General Public License - along with Java Diff Utills Library. If not, see . + 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 difflib; diff --git a/src/difflib/DiffUtils.java b/src/difflib/DiffUtils.java index 569d96a..e8642af 100644 --- a/src/difflib/DiffUtils.java +++ b/src/difflib/DiffUtils.java @@ -1,20 +1,17 @@ /* - Copyright 2009 Dmitry Naumenko (dm.naumenko@gmail.com) - - This file is part of Java Diff Utills Library. + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) - Java Diff Utills Library is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - Java Diff Utills Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + http://www.apache.org/licenses/LICENSE-2.0 - You should have received a copy of the GNU General Public License - along with Java Diff Utills Library. If not, see . + 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 difflib; diff --git a/src/difflib/InsertDelta.java b/src/difflib/InsertDelta.java index ffc72d3..09600a0 100644 --- a/src/difflib/InsertDelta.java +++ b/src/difflib/InsertDelta.java @@ -1,20 +1,17 @@ /* - Copyright 2009 Dmitry Naumenko (dm.naumenko@gmail.com) - - This file is part of Java Diff Utills Library. + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) - Java Diff Utills Library is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - Java Diff Utills Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + http://www.apache.org/licenses/LICENSE-2.0 - You should have received a copy of the GNU General Public License - along with Java Diff Utills Library. If not, see . + 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 difflib; diff --git a/src/difflib/Patch.java b/src/difflib/Patch.java index b46fd37..d435bea 100644 --- a/src/difflib/Patch.java +++ b/src/difflib/Patch.java @@ -1,20 +1,17 @@ /* - Copyright 2009 Dmitry Naumenko (dm.naumenko@gmail.com) - - This file is part of Java Diff Utills Library. + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) - Java Diff Utills Library is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - Java Diff Utills Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + http://www.apache.org/licenses/LICENSE-2.0 - You should have received a copy of the GNU General Public License - along with Java Diff Utills Library. If not, see . + 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 difflib; diff --git a/src/difflib/PatchFailedException.java b/src/difflib/PatchFailedException.java index 6678f00..5fb77d2 100644 --- a/src/difflib/PatchFailedException.java +++ b/src/difflib/PatchFailedException.java @@ -1,20 +1,17 @@ /* - Copyright 2009 Dmitry Naumenko (dm.naumenko@gmail.com) - - This file is part of Java Diff Utills Library. + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) - Java Diff Utills Library is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at - Java Diff Utills Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + http://www.apache.org/licenses/LICENSE-2.0 - You should have received a copy of the GNU General Public License - along with Java Diff Utills Library. If not, see . + 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 difflib; diff --git a/src/difflib/StringUtills.java b/src/difflib/StringUtills.java index 9e35e44..c0b84e8 100644 --- a/src/difflib/StringUtills.java +++ b/src/difflib/StringUtills.java @@ -1,3 +1,18 @@ +/* + Copyright 2010 Dmitry Naumenko (dm.naumenko@gmail.com) + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + 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 difflib; import java.util.Iterator;