From dde467986dfc70eba9c6a9cef128b656bca9280e Mon Sep 17 00:00:00 2001 From: Dave Johnson Date: Wed, 25 Nov 2015 11:22:40 -0500 Subject: [PATCH] Ensure that all source files have the Apache Software License v2 header, got permission from Robert Cooper to change some files (with his copyright) that had only an LGPL header. --- .../com/rometools/modules/base/CustomTag.java | 20 ++++++++++- .../rometools/modules/base/CustomTags.java | 20 ++++++++++- .../modules/base/CustomTagsImpl.java | 20 ++++++++++- .../modules/base/ValidationException.java | 20 +++++++++++ .../modules/base/io/CustomTagGenerator.java | 20 ++++++++++- .../modules/base/io/CustomTagParser.java | 20 ++++++++++- .../georss/geometries/AbstractCurve.java | 15 +++++--- .../AbstractGeometricPrimitive.java | 14 +++++--- .../georss/geometries/AbstractGeometry.java | 14 +++++--- .../georss/geometries/AbstractRing.java | 14 +++++--- .../georss/geometries/AbstractSurface.java | 14 +++++--- .../modules/georss/geometries/Envelope.java | 14 +++++--- .../modules/georss/geometries/LineString.java | 14 +++++--- .../modules/georss/geometries/LinearRing.java | 14 +++++--- .../modules/georss/geometries/Point.java | 14 +++++--- .../modules/georss/geometries/Polygon.java | 14 +++++--- .../modules/georss/geometries/Position.java | 14 +++++--- .../georss/geometries/PositionList.java | 14 +++++--- .../itunes/io/ITunesParserOldNamespace.java | 21 +++++++++++- .../io/AlternateMediaModuleParser.java | 15 +++++--- .../rometools/modules/sle/GroupStrategy.java | 14 ++++++++ .../rometools/modules/sle/SortStrategy.java | 14 ++++++++ .../rometools/modules/sle/SortableList.java | 14 ++++++++ .../rometools/modules/sle/ValueStrategy.java | 14 ++++++++ .../modules/sle/io/LabelNamespaceElement.java | 14 ++++++++ .../modules/sle/io/ModuleGenerator.java | 15 +++++--- .../modules/sse/SSE091Generator.java | 15 ++++++++ .../rometools/modules/sse/SSE091Parser.java | 15 ++++++++ .../modules/sse/modules/Conflict.java | 15 ++++++++ .../modules/sse/modules/Conflicts.java | 14 ++++++++ .../modules/sse/modules/History.java | 14 ++++++++ .../modules/sse/modules/Related.java | 14 ++++++++ .../modules/sse/modules/SSEModule.java | 14 ++++++++ .../modules/sse/modules/Sharing.java | 14 ++++++++ .../rometools/modules/sse/modules/Update.java | 14 ++++++++ .../base/io/CustomTagGeneratorTest.java | 34 ++++++++++++++++++- .../modules/base/io/CustomTagParserTest.java | 34 ++++++++++++++++++- 37 files changed, 542 insertions(+), 65 deletions(-) diff --git a/src/main/java/com/rometools/modules/base/CustomTag.java b/src/main/java/com/rometools/modules/base/CustomTag.java index 5b7d91a..5ec4373 100644 --- a/src/main/java/com/rometools/modules/base/CustomTag.java +++ b/src/main/java/com/rometools/modules/base/CustomTag.java @@ -1,7 +1,12 @@ /* * CustomTag.java * - * Created on February 6, 2006, 12:17 AM + * This library is provided under dual licenses. + * You may choose the terms of the Lesser General Public License or the Apache + * License at your discretion. + * + * Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin + * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -16,6 +21,19 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * + * 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 com.rometools.modules.base; diff --git a/src/main/java/com/rometools/modules/base/CustomTags.java b/src/main/java/com/rometools/modules/base/CustomTags.java index 933f699..8d5159a 100644 --- a/src/main/java/com/rometools/modules/base/CustomTags.java +++ b/src/main/java/com/rometools/modules/base/CustomTags.java @@ -1,7 +1,12 @@ /* * CustomTags.java * - * Created on February 6, 2006, 12:26 AM + * This library is provided under dual licenses. + * You may choose the terms of the Lesser General Public License or the Apache + * License at your discretion. + * + * Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin + * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -16,6 +21,19 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * + * 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 com.rometools.modules.base; diff --git a/src/main/java/com/rometools/modules/base/CustomTagsImpl.java b/src/main/java/com/rometools/modules/base/CustomTagsImpl.java index 8a13dc7..595bdc5 100644 --- a/src/main/java/com/rometools/modules/base/CustomTagsImpl.java +++ b/src/main/java/com/rometools/modules/base/CustomTagsImpl.java @@ -1,7 +1,12 @@ /* * CustomTagsImpl.java * - * Created on February 6, 2006, 12:26 AM + * This library is provided under dual licenses. + * You may choose the terms of the Lesser General Public License or the Apache + * License at your discretion. + * + * Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin + * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -16,6 +21,19 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * + * 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 com.rometools.modules.base; diff --git a/src/main/java/com/rometools/modules/base/ValidationException.java b/src/main/java/com/rometools/modules/base/ValidationException.java index 0dabae1..f7ec67b 100644 --- a/src/main/java/com/rometools/modules/base/ValidationException.java +++ b/src/main/java/com/rometools/modules/base/ValidationException.java @@ -2,6 +2,13 @@ * ValidationException.java * * Created on November 20, 2005, 3:14 PM + * + * This library is provided under dual licenses. + * You may choose the terms of the Lesser General Public License or the Apache + * License at your discretion. + * + * Copyright (C) 2005 Robert Cooper, Temple of the Screaming Penguin + * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -16,6 +23,19 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * + * 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 com.rometools.modules.base; diff --git a/src/main/java/com/rometools/modules/base/io/CustomTagGenerator.java b/src/main/java/com/rometools/modules/base/io/CustomTagGenerator.java index 28ab289..bc2474a 100644 --- a/src/main/java/com/rometools/modules/base/io/CustomTagGenerator.java +++ b/src/main/java/com/rometools/modules/base/io/CustomTagGenerator.java @@ -1,7 +1,12 @@ /* * CustomTagGenerator.java * - * Created on February 6, 2006, 1:08 AM + * This library is provided under dual licenses. + * You may choose the terms of the Lesser General Public License or the Apache + * License at your discretion. + * + * Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin + * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -16,6 +21,19 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * + * 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 com.rometools.modules.base.io; diff --git a/src/main/java/com/rometools/modules/base/io/CustomTagParser.java b/src/main/java/com/rometools/modules/base/io/CustomTagParser.java index 74d2295..15c72bd 100644 --- a/src/main/java/com/rometools/modules/base/io/CustomTagParser.java +++ b/src/main/java/com/rometools/modules/base/io/CustomTagParser.java @@ -1,7 +1,12 @@ /* * CustomTagParser.java * - * Created on February 6, 2006, 12:40 AM + * This library is provided under dual licenses. + * You may choose the terms of the Lesser General Public License or the Apache + * License at your discretion. + * + * Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin + * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -16,6 +21,19 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * + * 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 com.rometools.modules.base.io; diff --git a/src/main/java/com/rometools/modules/georss/geometries/AbstractCurve.java b/src/main/java/com/rometools/modules/georss/geometries/AbstractCurve.java index 73386f4..12c8324 100644 --- a/src/main/java/com/rometools/modules/georss/geometries/AbstractCurve.java +++ b/src/main/java/com/rometools/modules/georss/geometries/AbstractCurve.java @@ -1,12 +1,17 @@ /* - * Curve.java + * 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 * - * Created on 8. februar 2007, 10:39 + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ - package com.rometools.modules.georss.geometries; /** diff --git a/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometricPrimitive.java b/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometricPrimitive.java index 42ecb3f..7d4d431 100644 --- a/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometricPrimitive.java +++ b/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometricPrimitive.java @@ -1,10 +1,16 @@ /* - * GeometricPrimitive.java + * 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 * - * Created on 8. februar 2007, 10:09 + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ package com.rometools.modules.georss.geometries; diff --git a/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometry.java b/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometry.java index 4ead6ee..40775fe 100644 --- a/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometry.java +++ b/src/main/java/com/rometools/modules/georss/geometries/AbstractGeometry.java @@ -1,10 +1,16 @@ /* - * Geometry.java + * 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 * - * Created on 8. februar 2007, 10:00 + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ package com.rometools.modules.georss.geometries; diff --git a/src/main/java/com/rometools/modules/georss/geometries/AbstractRing.java b/src/main/java/com/rometools/modules/georss/geometries/AbstractRing.java index 399007f..610a2fa 100644 --- a/src/main/java/com/rometools/modules/georss/geometries/AbstractRing.java +++ b/src/main/java/com/rometools/modules/georss/geometries/AbstractRing.java @@ -1,10 +1,16 @@ /* - * AbstractRing.java + * 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 * - * Created on 8. februar 2007, 11:14 + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ package com.rometools.modules.georss.geometries; diff --git a/src/main/java/com/rometools/modules/georss/geometries/AbstractSurface.java b/src/main/java/com/rometools/modules/georss/geometries/AbstractSurface.java index 400c8f6..3776530 100644 --- a/src/main/java/com/rometools/modules/georss/geometries/AbstractSurface.java +++ b/src/main/java/com/rometools/modules/georss/geometries/AbstractSurface.java @@ -1,10 +1,16 @@ /* - * Surface.java + * 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 * - * Created on 8. februar 2007, 10:41 + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ package com.rometools.modules.georss.geometries; diff --git a/src/main/java/com/rometools/modules/georss/geometries/Envelope.java b/src/main/java/com/rometools/modules/georss/geometries/Envelope.java index 4edc358..a80e6b8 100644 --- a/src/main/java/com/rometools/modules/georss/geometries/Envelope.java +++ b/src/main/java/com/rometools/modules/georss/geometries/Envelope.java @@ -1,10 +1,16 @@ /* - * Envelope.java + * 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 * - * Created on 12. februar 2007, 13:07 + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ package com.rometools.modules.georss.geometries; diff --git a/src/main/java/com/rometools/modules/georss/geometries/LineString.java b/src/main/java/com/rometools/modules/georss/geometries/LineString.java index 49ffc06..0f31d6a 100644 --- a/src/main/java/com/rometools/modules/georss/geometries/LineString.java +++ b/src/main/java/com/rometools/modules/georss/geometries/LineString.java @@ -1,10 +1,16 @@ /* - * LineString.java + * 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 * - * Created on 8. februar 2007, 10:40 + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ package com.rometools.modules.georss.geometries; diff --git a/src/main/java/com/rometools/modules/georss/geometries/LinearRing.java b/src/main/java/com/rometools/modules/georss/geometries/LinearRing.java index e36e37b..fe3ec59 100644 --- a/src/main/java/com/rometools/modules/georss/geometries/LinearRing.java +++ b/src/main/java/com/rometools/modules/georss/geometries/LinearRing.java @@ -1,10 +1,16 @@ /* - * LinearLing.java + * 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 * - * Created on 8. februar 2007, 11:14 + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ package com.rometools.modules.georss.geometries; diff --git a/src/main/java/com/rometools/modules/georss/geometries/Point.java b/src/main/java/com/rometools/modules/georss/geometries/Point.java index 6c5f94d..8df1f99 100644 --- a/src/main/java/com/rometools/modules/georss/geometries/Point.java +++ b/src/main/java/com/rometools/modules/georss/geometries/Point.java @@ -1,10 +1,16 @@ /* - * Point.java + * 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 * - * Created on 8. februar 2007, 10:24 + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ package com.rometools.modules.georss.geometries; diff --git a/src/main/java/com/rometools/modules/georss/geometries/Polygon.java b/src/main/java/com/rometools/modules/georss/geometries/Polygon.java index 03b3ca8..35db7c5 100644 --- a/src/main/java/com/rometools/modules/georss/geometries/Polygon.java +++ b/src/main/java/com/rometools/modules/georss/geometries/Polygon.java @@ -1,10 +1,16 @@ /* - * Polygon.java + * 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 * - * Created on 8. februar 2007, 10:41 + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ package com.rometools.modules.georss.geometries; diff --git a/src/main/java/com/rometools/modules/georss/geometries/Position.java b/src/main/java/com/rometools/modules/georss/geometries/Position.java index 86cd097..7d4904b 100644 --- a/src/main/java/com/rometools/modules/georss/geometries/Position.java +++ b/src/main/java/com/rometools/modules/georss/geometries/Position.java @@ -1,10 +1,16 @@ /* - * Position.java + * 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 * - * Created on 8. februar 2007, 11:11 + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ package com.rometools.modules.georss.geometries; diff --git a/src/main/java/com/rometools/modules/georss/geometries/PositionList.java b/src/main/java/com/rometools/modules/georss/geometries/PositionList.java index a62b60c..509008d 100644 --- a/src/main/java/com/rometools/modules/georss/geometries/PositionList.java +++ b/src/main/java/com/rometools/modules/georss/geometries/PositionList.java @@ -1,10 +1,16 @@ /* - * PositionList.java + * 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 * - * Created on 8. februar 2007, 11:12 + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ package com.rometools.modules.georss.geometries; diff --git a/src/main/java/com/rometools/modules/itunes/io/ITunesParserOldNamespace.java b/src/main/java/com/rometools/modules/itunes/io/ITunesParserOldNamespace.java index 922b5fa..ac05a7b 100644 --- a/src/main/java/com/rometools/modules/itunes/io/ITunesParserOldNamespace.java +++ b/src/main/java/com/rometools/modules/itunes/io/ITunesParserOldNamespace.java @@ -3,7 +3,12 @@ * * Created on April 23, 2006, 2:09 AM * - * Copyright Robert Cooper, Temple of the Screaming Penguin + * This library is provided under dual licenses. + * You may choose the terms of the Lesser General Public License or the Apache + * License at your discretion. + * + * Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin + * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,6 +22,20 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * + * 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 com.rometools.modules.itunes.io; diff --git a/src/main/java/com/rometools/modules/mediarss/io/AlternateMediaModuleParser.java b/src/main/java/com/rometools/modules/mediarss/io/AlternateMediaModuleParser.java index dc9e1fd..1f5883d 100644 --- a/src/main/java/com/rometools/modules/mediarss/io/AlternateMediaModuleParser.java +++ b/src/main/java/com/rometools/modules/mediarss/io/AlternateMediaModuleParser.java @@ -1,12 +1,19 @@ /* - * AlternateMediaModuleParser.java + * 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 * - * Created on August 20, 2006, 5:52 PM + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ + package com.rometools.modules.mediarss.io; import org.jdom2.Namespace; diff --git a/src/main/java/com/rometools/modules/sle/GroupStrategy.java b/src/main/java/com/rometools/modules/sle/GroupStrategy.java index 5627207..50bd96b 100644 --- a/src/main/java/com/rometools/modules/sle/GroupStrategy.java +++ b/src/main/java/com/rometools/modules/sle/GroupStrategy.java @@ -1,3 +1,17 @@ +/* + * 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 com.rometools.modules.sle; import com.rometools.modules.sle.io.ModuleParser; diff --git a/src/main/java/com/rometools/modules/sle/SortStrategy.java b/src/main/java/com/rometools/modules/sle/SortStrategy.java index 3b87517..b794cea 100644 --- a/src/main/java/com/rometools/modules/sle/SortStrategy.java +++ b/src/main/java/com/rometools/modules/sle/SortStrategy.java @@ -1,3 +1,17 @@ +/* + * 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 com.rometools.modules.sle; import com.rometools.modules.sle.io.ModuleParser; diff --git a/src/main/java/com/rometools/modules/sle/SortableList.java b/src/main/java/com/rometools/modules/sle/SortableList.java index 50357ae..dd2c649 100644 --- a/src/main/java/com/rometools/modules/sle/SortableList.java +++ b/src/main/java/com/rometools/modules/sle/SortableList.java @@ -1,3 +1,17 @@ +/* + * 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 com.rometools.modules.sle; import java.util.ArrayList; diff --git a/src/main/java/com/rometools/modules/sle/ValueStrategy.java b/src/main/java/com/rometools/modules/sle/ValueStrategy.java index ed50b8a..df2678f 100644 --- a/src/main/java/com/rometools/modules/sle/ValueStrategy.java +++ b/src/main/java/com/rometools/modules/sle/ValueStrategy.java @@ -1,3 +1,17 @@ +/* + * 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 com.rometools.modules.sle; import com.rometools.modules.sle.types.EntryValue; diff --git a/src/main/java/com/rometools/modules/sle/io/LabelNamespaceElement.java b/src/main/java/com/rometools/modules/sle/io/LabelNamespaceElement.java index f38e614..41863e9 100644 --- a/src/main/java/com/rometools/modules/sle/io/LabelNamespaceElement.java +++ b/src/main/java/com/rometools/modules/sle/io/LabelNamespaceElement.java @@ -1,3 +1,17 @@ +/* + * 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 com.rometools.modules.sle.io; import org.jdom2.Namespace; diff --git a/src/main/java/com/rometools/modules/sle/io/ModuleGenerator.java b/src/main/java/com/rometools/modules/sle/io/ModuleGenerator.java index 0dbef02..914ae20 100644 --- a/src/main/java/com/rometools/modules/sle/io/ModuleGenerator.java +++ b/src/main/java/com/rometools/modules/sle/io/ModuleGenerator.java @@ -1,11 +1,18 @@ /* - * ModuleGenerator.java + * 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 * - * Created on April 27, 2006, 11:17 PM + * 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. * - * To change this template, choose Tools | Template Manager - * and open the template in the editor. */ + package com.rometools.modules.sle.io; import java.util.HashSet; diff --git a/src/main/java/com/rometools/modules/sse/SSE091Generator.java b/src/main/java/com/rometools/modules/sse/SSE091Generator.java index 75e497c..56e7f4e 100644 --- a/src/main/java/com/rometools/modules/sse/SSE091Generator.java +++ b/src/main/java/com/rometools/modules/sse/SSE091Generator.java @@ -1,3 +1,18 @@ +/* + * 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 com.rometools.modules.sse; import java.util.Date; diff --git a/src/main/java/com/rometools/modules/sse/SSE091Parser.java b/src/main/java/com/rometools/modules/sse/SSE091Parser.java index 39b1d13..f05a168 100644 --- a/src/main/java/com/rometools/modules/sse/SSE091Parser.java +++ b/src/main/java/com/rometools/modules/sse/SSE091Parser.java @@ -1,3 +1,18 @@ +/* + * 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 com.rometools.modules.sse; import java.util.ArrayList; diff --git a/src/main/java/com/rometools/modules/sse/modules/Conflict.java b/src/main/java/com/rometools/modules/sse/modules/Conflict.java index 54133ae..1c7048a 100644 --- a/src/main/java/com/rometools/modules/sse/modules/Conflict.java +++ b/src/main/java/com/rometools/modules/sse/modules/Conflict.java @@ -1,3 +1,18 @@ +/* + * 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 com.rometools.modules.sse.modules; import java.util.Date; diff --git a/src/main/java/com/rometools/modules/sse/modules/Conflicts.java b/src/main/java/com/rometools/modules/sse/modules/Conflicts.java index f2b2d1e..2a7892e 100644 --- a/src/main/java/com/rometools/modules/sse/modules/Conflicts.java +++ b/src/main/java/com/rometools/modules/sse/modules/Conflicts.java @@ -1,3 +1,17 @@ +/* + * 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 com.rometools.modules.sse.modules; import com.rometools.rome.feed.CopyFrom; diff --git a/src/main/java/com/rometools/modules/sse/modules/History.java b/src/main/java/com/rometools/modules/sse/modules/History.java index e27114b..f76cbcc 100644 --- a/src/main/java/com/rometools/modules/sse/modules/History.java +++ b/src/main/java/com/rometools/modules/sse/modules/History.java @@ -1,3 +1,17 @@ +/* + * 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 com.rometools.modules.sse.modules; import java.util.ArrayList; diff --git a/src/main/java/com/rometools/modules/sse/modules/Related.java b/src/main/java/com/rometools/modules/sse/modules/Related.java index d506947..4214eeb 100644 --- a/src/main/java/com/rometools/modules/sse/modules/Related.java +++ b/src/main/java/com/rometools/modules/sse/modules/Related.java @@ -1,3 +1,17 @@ +/* + * 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 com.rometools.modules.sse.modules; import java.util.Date; diff --git a/src/main/java/com/rometools/modules/sse/modules/SSEModule.java b/src/main/java/com/rometools/modules/sse/modules/SSEModule.java index ba631e0..b7e1df4 100644 --- a/src/main/java/com/rometools/modules/sse/modules/SSEModule.java +++ b/src/main/java/com/rometools/modules/sse/modules/SSEModule.java @@ -1,3 +1,17 @@ +/* + * 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 com.rometools.modules.sse.modules; import java.util.Collections; diff --git a/src/main/java/com/rometools/modules/sse/modules/Sharing.java b/src/main/java/com/rometools/modules/sse/modules/Sharing.java index b5d1d95..3edd03e 100644 --- a/src/main/java/com/rometools/modules/sse/modules/Sharing.java +++ b/src/main/java/com/rometools/modules/sse/modules/Sharing.java @@ -1,3 +1,17 @@ +/* + * 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 com.rometools.modules.sse.modules; import java.util.Date; diff --git a/src/main/java/com/rometools/modules/sse/modules/Update.java b/src/main/java/com/rometools/modules/sse/modules/Update.java index 16967f3..9ca22e2 100644 --- a/src/main/java/com/rometools/modules/sse/modules/Update.java +++ b/src/main/java/com/rometools/modules/sse/modules/Update.java @@ -1,3 +1,17 @@ +/* + * 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 com.rometools.modules.sse.modules; import java.util.Date; diff --git a/src/test/java/com/rometools/modules/base/io/CustomTagGeneratorTest.java b/src/test/java/com/rometools/modules/base/io/CustomTagGeneratorTest.java index 8aa7db7..6936910 100644 --- a/src/test/java/com/rometools/modules/base/io/CustomTagGeneratorTest.java +++ b/src/test/java/com/rometools/modules/base/io/CustomTagGeneratorTest.java @@ -2,7 +2,39 @@ * CustomTagGeneratorTest.java * JUnit based test * - * Created on February 6, 2006, 1:58 AM + * This library is provided under dual licenses. + * You may choose the terms of the Lesser General Public License or the Apache + * License at your discretion. + * + * Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin + * + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * + * 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 com.rometools.modules.base.io; diff --git a/src/test/java/com/rometools/modules/base/io/CustomTagParserTest.java b/src/test/java/com/rometools/modules/base/io/CustomTagParserTest.java index 7bb7f05..6b516ca 100644 --- a/src/test/java/com/rometools/modules/base/io/CustomTagParserTest.java +++ b/src/test/java/com/rometools/modules/base/io/CustomTagParserTest.java @@ -1,8 +1,40 @@ /* * CustomTagParserTest.java * JUnit based test + * + * This library is provided under dual licenses. + * You may choose the terms of the Lesser General Public License or the Apache + * License at your discretion. * - * Created on February 6, 2006, 1:29 AM + * Copyright (C) 2006 Robert Cooper, Temple of the Screaming Penguin + * + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * + * 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 com.rometools.modules.base.io;