diff --git a/LICENSE.txt b/LICENSE.txt index 7d8b1cb..2af4e70 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,14 +1,21 @@ -Copyright (c) 2017 Kirill (g4s8.public@gmail.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to read -the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies 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 NON-INFRINGEMENT. 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. + The MIT License (MIT) + + Copyright (c) 2017 Kirill (g4s8.public@gmail.com) + + 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 NON-INFRINGEMENT. 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. \ No newline at end of file diff --git a/src/main/java/com/g4s8/mime/MimeType.java b/src/main/java/com/g4s8/mime/MimeType.java index ae243db..cfbbce1 100755 --- a/src/main/java/com/g4s8/mime/MimeType.java +++ b/src/main/java/com/g4s8/mime/MimeType.java @@ -1,10 +1,17 @@ /** + * The MIT License (MIT) + * * Copyright (c) 2017 Kirill (g4s8.public@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to read - * the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, - * merge, publish, distribute, sublicense, and/or sell copies of the Software. + * 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, diff --git a/src/main/java/com/g4s8/mime/MimeTypeOf.java b/src/main/java/com/g4s8/mime/MimeTypeOf.java index c880539..ca5b1a9 100755 --- a/src/main/java/com/g4s8/mime/MimeTypeOf.java +++ b/src/main/java/com/g4s8/mime/MimeTypeOf.java @@ -1,10 +1,17 @@ /** + * The MIT License (MIT) + * * Copyright (c) 2017 Kirill (g4s8.public@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to read - * the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, - * merge, publish, distribute, sublicense, and/or sell copies of the Software. + * 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, diff --git a/src/main/java/com/g4s8/mime/MimeTypeSmart.java b/src/main/java/com/g4s8/mime/MimeTypeSmart.java index 24a77ed..9a05dd2 100755 --- a/src/main/java/com/g4s8/mime/MimeTypeSmart.java +++ b/src/main/java/com/g4s8/mime/MimeTypeSmart.java @@ -1,10 +1,17 @@ /** + * The MIT License (MIT) + * * Copyright (c) 2017 Kirill (g4s8.public@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to read - * the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, - * merge, publish, distribute, sublicense, and/or sell copies of the Software. + * 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, diff --git a/src/main/java/com/g4s8/mime/package-info.java b/src/main/java/com/g4s8/mime/package-info.java index 60797e8..f1bce6e 100644 --- a/src/main/java/com/g4s8/mime/package-info.java +++ b/src/main/java/com/g4s8/mime/package-info.java @@ -1,10 +1,17 @@ /** + * The MIT License (MIT) + * * Copyright (c) 2017 Kirill (g4s8.public@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to read - * the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, - * merge, publish, distribute, sublicense, and/or sell copies of the Software. + * 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, @@ -14,7 +21,6 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ - /** * Media type, aka * diff --git a/src/main/java/com/g4s8/mime/test/HmMimeHasSubType.java b/src/main/java/com/g4s8/mime/test/HmMimeHasSubType.java index c3b1a85..b430b06 100644 --- a/src/main/java/com/g4s8/mime/test/HmMimeHasSubType.java +++ b/src/main/java/com/g4s8/mime/test/HmMimeHasSubType.java @@ -1,10 +1,17 @@ /** + * The MIT License (MIT) + * * Copyright (c) 2017 Kirill (g4s8.public@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to read - * the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, - * merge, publish, distribute, sublicense, and/or sell copies of the Software. + * 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, diff --git a/src/main/java/com/g4s8/mime/test/HmMimeHasType.java b/src/main/java/com/g4s8/mime/test/HmMimeHasType.java index 0d89b16..0bc1765 100644 --- a/src/main/java/com/g4s8/mime/test/HmMimeHasType.java +++ b/src/main/java/com/g4s8/mime/test/HmMimeHasType.java @@ -1,10 +1,17 @@ /** + * The MIT License (MIT) + * * Copyright (c) 2017 Kirill (g4s8.public@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to read - * the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, - * merge, publish, distribute, sublicense, and/or sell copies of the Software. + * 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, diff --git a/src/main/java/com/g4s8/mime/test/package-info.java b/src/main/java/com/g4s8/mime/test/package-info.java index 2c516c4..97ffa2a 100644 --- a/src/main/java/com/g4s8/mime/test/package-info.java +++ b/src/main/java/com/g4s8/mime/test/package-info.java @@ -1,10 +1,17 @@ /** + * The MIT License (MIT) + * * Copyright (c) 2017 Kirill (g4s8.public@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to read - * the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, - * merge, publish, distribute, sublicense, and/or sell copies of the Software. + * 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, diff --git a/src/test/java/com/g4s8/mime/MimeTypeOfTest.java b/src/test/java/com/g4s8/mime/MimeTypeOfTest.java index 0112933..0836a98 100644 --- a/src/test/java/com/g4s8/mime/MimeTypeOfTest.java +++ b/src/test/java/com/g4s8/mime/MimeTypeOfTest.java @@ -1,10 +1,17 @@ /** + * The MIT License (MIT) + * * Copyright (c) 2017 Kirill (g4s8.public@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to read - * the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, - * merge, publish, distribute, sublicense, and/or sell copies of the Software. + * 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, diff --git a/src/test/java/com/g4s8/mime/MimeTypeSmartTest.java b/src/test/java/com/g4s8/mime/MimeTypeSmartTest.java index c64104f..03a935c 100644 --- a/src/test/java/com/g4s8/mime/MimeTypeSmartTest.java +++ b/src/test/java/com/g4s8/mime/MimeTypeSmartTest.java @@ -1,10 +1,17 @@ /** + * The MIT License (MIT) + * * Copyright (c) 2017 Kirill (g4s8.public@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to read - * the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, - * merge, publish, distribute, sublicense, and/or sell copies of the Software. + * 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, diff --git a/src/test/java/com/g4s8/mime/package-info.java b/src/test/java/com/g4s8/mime/package-info.java index 2fbdeed..4ae313e 100644 --- a/src/test/java/com/g4s8/mime/package-info.java +++ b/src/test/java/com/g4s8/mime/package-info.java @@ -1,10 +1,17 @@ /** + * The MIT License (MIT) + * * Copyright (c) 2017 Kirill (g4s8.public@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to read - * the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, - * merge, publish, distribute, sublicense, and/or sell copies of the Software. + * 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,