Skip to content

Commit 08b062e

Browse files
committed
Merge branch 'patch' into minor
2 parents 84ece8b + 921b4e8 commit 08b062e

2 files changed

Lines changed: 51 additions & 0 deletions

File tree

biojava-structure/src/test/java/org/biojava/nbio/structure/symmetry/TestQuatSymmetryDetection.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
/*
2+
* BioJava development code
3+
*
4+
* This code may be freely distributed and modified under the
5+
* terms of the GNU Lesser General Public Licence. This should
6+
* be distributed with the code. If you do not have a copy,
7+
* see:
8+
*
9+
* http://www.gnu.org/copyleft/lesser.html
10+
*
11+
* Copyright for this code is held jointly by the individual
12+
* authors. These should be listed in @author doc comments.
13+
*
14+
* For more information on the BioJava project and its aims,
15+
* or to join the biojava-l mailing list, visit the home page
16+
* at:
17+
*
18+
* http://www.biojava.org/
19+
*
20+
*/
121
package org.biojava.nbio.structure.symmetry;
222

323
import static org.junit.Assert.*;

development/addlicense.sh

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
# Adds the BioJava LGPL license statement to the top of every java file
3+
4+
find . -iname '*.java' -exec grep -L 'http://www.gnu.org/copyleft/lesser.html' '{}' ';' |
5+
while read file; do
6+
echo "$file"
7+
cat >tmp.java <<END
8+
/*
9+
* BioJava development code
10+
*
11+
* This code may be freely distributed and modified under the
12+
* terms of the GNU Lesser General Public Licence. This should
13+
* be distributed with the code. If you do not have a copy,
14+
* see:
15+
*
16+
* http://www.gnu.org/copyleft/lesser.html
17+
*
18+
* Copyright for this code is held jointly by the individual
19+
* authors. These should be listed in @author doc comments.
20+
*
21+
* For more information on the BioJava project and its aims,
22+
* or to join the biojava-l mailing list, visit the home page
23+
* at:
24+
*
25+
* http://www.biojava.org/
26+
*
27+
*/
28+
END
29+
cat "$file" >> tmp.java
30+
mv tmp.java "$file"
31+
done

0 commit comments

Comments
 (0)