From 5e434b783e65dd15ff483f65922b6d1649f1eace Mon Sep 17 00:00:00 2001 From: Subhrodip Mohanta Date: Tue, 1 Jun 2021 01:09:42 +0530 Subject: [PATCH] fix: added license headers to newly created files (#1775) --- composite-entity/pom.xml | 24 +++++++++++++++++++ .../com/iluwatar/compositeentity/App.java | 23 ++++++++++++++++++ .../compositeentity/CoarseGrainedObject.java | 23 ++++++++++++++++++ .../compositeentity/CompositeEntity.java | 23 ++++++++++++++++++ .../ConsoleCoarseGrainedObject.java | 23 ++++++++++++++++++ .../compositeentity/DependentObject.java | 23 ++++++++++++++++++ .../MessageDependentObject.java | 23 ++++++++++++++++++ .../SignalDependentObject.java | 23 ++++++++++++++++++ .../com/iluwatar/compositeentity/AppTest.java | 23 ++++++++++++++++++ .../compositeentity/PersistenceTest.java | 23 ++++++++++++++++++ lockable-object/pom.xml | 5 ++++ .../java/com/iluwatar/lockableobject/App.java | 23 ++++++++++++++++++ .../com/iluwatar/lockableobject/Lockable.java | 23 ++++++++++++++++++ .../lockableobject/LockingException.java | 23 ++++++++++++++++++ .../lockableobject/SwordOfAragorn.java | 23 ++++++++++++++++++ .../lockableobject/domain/Creature.java | 23 ++++++++++++++++++ .../lockableobject/domain/CreatureStats.java | 23 ++++++++++++++++++ .../lockableobject/domain/CreatureType.java | 23 ++++++++++++++++++ .../iluwatar/lockableobject/domain/Elf.java | 23 ++++++++++++++++++ .../iluwatar/lockableobject/domain/Feind.java | 23 ++++++++++++++++++ .../iluwatar/lockableobject/domain/Human.java | 23 ++++++++++++++++++ .../iluwatar/lockableobject/domain/Orc.java | 23 ++++++++++++++++++ .../iluwatar/lockableobject/CreatureTest.java | 23 ++++++++++++++++++ .../lockableobject/ExceptionsTest.java | 23 ++++++++++++++++++ .../iluwatar/lockableobject/FeindTest.java | 23 ++++++++++++++++++ .../lockableobject/SubCreaturesTests.java | 23 ++++++++++++++++++ .../lockableobject/TheSwordOfAragornTest.java | 23 ++++++++++++++++++ model-view-viewmodel/pom.xml | 24 +++++++++++++++++++ .../src/main/assembly/webapp.xml | 24 +++++++++++++++++++ .../model/view/viewmodel/BookService.java | 23 ++++++++++++++++++ .../model/view/viewmodel/BookServiceImpl.java | 23 ++++++++++++++++++ .../model/view/viewmodel/BookViewModel.java | 23 ++++++++++++++++++ .../src/main/webapp/WEB-INF/web.xml | 24 +++++++++++++++++++ .../java/com/iluwatar/presentation/Album.java | 23 ++++++++++++++++++ .../java/com/iluwatar/presentation/App.java | 23 ++++++++++++++++++ .../presentation/DisplayedAlbums.java | 23 ++++++++++++++++++ .../presentation/PresentationModel.java | 23 ++++++++++++++++++ .../java/com/iluwatar/presentation/View.java | 23 ++++++++++++++++++ .../com/iluwatar/presentation/AlbumTest.java | 23 ++++++++++++++++++ .../presentation/DisplayedAlbumsTest.java | 23 ++++++++++++++++++ .../com/iluwatar/presentation/ViewTest.java | 23 ++++++++++++++++++ .../java/com/iluwatar/tablemodule/App.java | 23 ++++++++++++++++++ .../java/com/iluwatar/tablemodule/User.java | 23 ++++++++++++++++++ .../iluwatar/tablemodule/UserTableModule.java | 23 ++++++++++++++++++ .../com/iluwatar/tablemodule/AppTest.java | 23 ++++++++++++++++++ .../tablemodule/UserTableModuleTest.java | 23 ++++++++++++++++++ .../com/iluwatar/tablemodule/UserTest.java | 23 ++++++++++++++++++ 47 files changed, 1067 insertions(+) diff --git a/composite-entity/pom.xml b/composite-entity/pom.xml index fd05950a4..b20d200b2 100644 --- a/composite-entity/pom.xml +++ b/composite-entity/pom.xml @@ -1,4 +1,28 @@ + diff --git a/composite-entity/src/main/java/com/iluwatar/compositeentity/App.java b/composite-entity/src/main/java/com/iluwatar/compositeentity/App.java index 241bc5ce6..882959722 100644 --- a/composite-entity/src/main/java/com/iluwatar/compositeentity/App.java +++ b/composite-entity/src/main/java/com/iluwatar/compositeentity/App.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * Copyright © 2014-2021 Ilkka Seppälä + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + package com.iluwatar.compositeentity; import java.util.Arrays; diff --git a/composite-entity/src/main/java/com/iluwatar/compositeentity/CoarseGrainedObject.java b/composite-entity/src/main/java/com/iluwatar/compositeentity/CoarseGrainedObject.java index 45e5d7959..89b582725 100644 --- a/composite-entity/src/main/java/com/iluwatar/compositeentity/CoarseGrainedObject.java +++ b/composite-entity/src/main/java/com/iluwatar/compositeentity/CoarseGrainedObject.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * Copyright © 2014-2021 Ilkka Seppälä + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + package com.iluwatar.compositeentity; import java.util.Arrays; diff --git a/composite-entity/src/main/java/com/iluwatar/compositeentity/CompositeEntity.java b/composite-entity/src/main/java/com/iluwatar/compositeentity/CompositeEntity.java index 70f067740..89224a67e 100644 --- a/composite-entity/src/main/java/com/iluwatar/compositeentity/CompositeEntity.java +++ b/composite-entity/src/main/java/com/iluwatar/compositeentity/CompositeEntity.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * Copyright © 2014-2021 Ilkka Seppälä + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + package com.iluwatar.compositeentity; /** diff --git a/composite-entity/src/main/java/com/iluwatar/compositeentity/ConsoleCoarseGrainedObject.java b/composite-entity/src/main/java/com/iluwatar/compositeentity/ConsoleCoarseGrainedObject.java index 635dd98ca..0fc07e5b4 100644 --- a/composite-entity/src/main/java/com/iluwatar/compositeentity/ConsoleCoarseGrainedObject.java +++ b/composite-entity/src/main/java/com/iluwatar/compositeentity/ConsoleCoarseGrainedObject.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * Copyright © 2014-2021 Ilkka Seppälä + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + package com.iluwatar.compositeentity; /** diff --git a/composite-entity/src/main/java/com/iluwatar/compositeentity/DependentObject.java b/composite-entity/src/main/java/com/iluwatar/compositeentity/DependentObject.java index ede4f473a..1e7775e57 100644 --- a/composite-entity/src/main/java/com/iluwatar/compositeentity/DependentObject.java +++ b/composite-entity/src/main/java/com/iluwatar/compositeentity/DependentObject.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * Copyright © 2014-2021 Ilkka Seppälä + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + package com.iluwatar.compositeentity; /** diff --git a/composite-entity/src/main/java/com/iluwatar/compositeentity/MessageDependentObject.java b/composite-entity/src/main/java/com/iluwatar/compositeentity/MessageDependentObject.java index 51e7c04df..4fed1afa5 100644 --- a/composite-entity/src/main/java/com/iluwatar/compositeentity/MessageDependentObject.java +++ b/composite-entity/src/main/java/com/iluwatar/compositeentity/MessageDependentObject.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * Copyright © 2014-2021 Ilkka Seppälä + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + package com.iluwatar.compositeentity; /** diff --git a/composite-entity/src/main/java/com/iluwatar/compositeentity/SignalDependentObject.java b/composite-entity/src/main/java/com/iluwatar/compositeentity/SignalDependentObject.java index ff6691c29..26a69d0bc 100644 --- a/composite-entity/src/main/java/com/iluwatar/compositeentity/SignalDependentObject.java +++ b/composite-entity/src/main/java/com/iluwatar/compositeentity/SignalDependentObject.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * Copyright © 2014-2021 Ilkka Seppälä + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + package com.iluwatar.compositeentity; /** diff --git a/composite-entity/src/test/java/com/iluwatar/compositeentity/AppTest.java b/composite-entity/src/test/java/com/iluwatar/compositeentity/AppTest.java index 5a84d8de3..a821abf4e 100644 --- a/composite-entity/src/test/java/com/iluwatar/compositeentity/AppTest.java +++ b/composite-entity/src/test/java/com/iluwatar/compositeentity/AppTest.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * Copyright © 2014-2021 Ilkka Seppälä + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + package com.iluwatar.compositeentity; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; diff --git a/composite-entity/src/test/java/com/iluwatar/compositeentity/PersistenceTest.java b/composite-entity/src/test/java/com/iluwatar/compositeentity/PersistenceTest.java index 010a99ebd..142e2df05 100644 --- a/composite-entity/src/test/java/com/iluwatar/compositeentity/PersistenceTest.java +++ b/composite-entity/src/test/java/com/iluwatar/compositeentity/PersistenceTest.java @@ -1,3 +1,26 @@ +/* + * The MIT License + * Copyright © 2014-2021 Ilkka Seppälä + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + package com.iluwatar.compositeentity; import org.junit.jupiter.api.Test; diff --git a/lockable-object/pom.xml b/lockable-object/pom.xml index a01299dc9..b7f9e1b5c 100644 --- a/lockable-object/pom.xml +++ b/lockable-object/pom.xml @@ -1,15 +1,19 @@ + diff --git a/model-view-viewmodel/src/main/assembly/webapp.xml b/model-view-viewmodel/src/main/assembly/webapp.xml index 153904efc..3789a3be2 100644 --- a/model-view-viewmodel/src/main/assembly/webapp.xml +++ b/model-view-viewmodel/src/main/assembly/webapp.xml @@ -1,3 +1,27 @@ + +