mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-18 09:24:42 -04:00
enforces proper license notice
This commit is contained in:
parent
8582672cba
commit
ff186c8782
@ -18,7 +18,7 @@ import java.util.Iterator;
|
|||||||
* http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative
|
* http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative
|
||||||
* Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
|
* Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
|
||||||
* <p>
|
* <p>
|
||||||
* Minor modifications made be hneemann, 2011-05-17
|
* Minor modifications made by hneemann, 2017-05-17
|
||||||
*/
|
*/
|
||||||
public class GifSequenceWriter implements AutoCloseable {
|
public class GifSequenceWriter implements AutoCloseable {
|
||||||
private ImageWriter gifWriter;
|
private ImageWriter gifWriter;
|
||||||
|
@ -117,11 +117,12 @@ public class TestLang extends TestCase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (f.getName().equals("GifSequenceWriter.java"))
|
// Do not add files without permission from Helmut Neemann!
|
||||||
|
if (f.getName().equals("GifSequenceWriter.java")) // Creative Commons Attribution 3.0 Unported License
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (state != 2)
|
if (state != 2)
|
||||||
throw new IOException("found file without proper license notice: " + f+ "\n\n"
|
throw new IOException("found java file without proper license notice: " + f + "\n\n"
|
||||||
+ "Every java file must contain the lines\n\n"
|
+ "Every java file must contain the lines\n\n"
|
||||||
+ " * Use of this source code is governed by the GPL v3 license\n"
|
+ " * Use of this source code is governed by the GPL v3 license\n"
|
||||||
+ " * that can be found in the LICENSE file.\n\n"
|
+ " * that can be found in the LICENSE file.\n\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user