Skip to content

Commit df444d5

Browse files
authored
Remove java-file headers (#381)
1 parent a24974d commit df444d5

50 files changed

Lines changed: 40 additions & 1393 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

config/checkstyle.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE module PUBLIC
3+
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
4+
"https://checkstyle.org/dtds/configuration_1_3.dtd">
5+
<module name="Checker">
6+
<property name="severity" value="error"/>
7+
8+
<!-- Ensure Java files do not contain a license/copyright block comment header. -->
9+
<module name="RegexpMultiline">
10+
<property name="format" value="\A/\*"/>
11+
<property name="message" value="License/copyright block comment header must not be present in source files."/>
12+
</module>
13+
</module>

installcert/src/main/java/net/sf/jsignpdf/InstallCert.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
1-
/*
2-
* The contents of this file are subject to the Mozilla Public License
3-
* Version 1.1 (the "License"); you may not use this file except in
4-
* compliance with the License. You may obtain a copy of the License at
5-
* http://www.mozilla.org/MPL/
6-
*
7-
* Software distributed under the License is distributed on an "AS IS"
8-
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
9-
* License for the specific language governing rights and limitations
10-
* under the License.
11-
*
12-
* The Original Code is 'JSignPdf, a free application for PDF signing'.
13-
*
14-
* The Initial Developer of the Original Code is Josef Cacek.
15-
* Portions created by Josef Cacek are Copyright (C) Josef Cacek. All Rights Reserved.
16-
*
17-
* Contributor(s): Josef Cacek.
18-
*
19-
* Alternatively, the contents of this file may be used under the terms
20-
* of the GNU Lesser General Public License, version 2.1 (the "LGPL License"), in which case the
21-
* provisions of LGPL License are applicable instead of those
22-
* above. If you wish to allow use of your version of this file only
23-
* under the terms of the LGPL License and not to allow others to use
24-
* your version of this file under the MPL, indicate your decision by
25-
* deleting the provisions above and replace them with the notice and
26-
* other provisions required by the LGPL License. If you do not delete
27-
* the provisions above, a recipient may use your version of this file
28-
* under either the MPL or the LGPL License.
29-
*/
301
package net.sf.jsignpdf;
312

323
/*

jsignpdf/src/main/java/net/sf/jsignpdf/BasicSignerOptions.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
1-
/*
2-
* The contents of this file are subject to the Mozilla Public License
3-
* Version 1.1 (the "License"); you may not use this file except in
4-
* compliance with the License. You may obtain a copy of the License at
5-
* http://www.mozilla.org/MPL/
6-
*
7-
* Software distributed under the License is distributed on an "AS IS"
8-
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
9-
* License for the specific language governing rights and limitations
10-
* under the License.
11-
*
12-
* The Original Code is 'JSignPdf, a free application for PDF signing'.
13-
*
14-
* The Initial Developer of the Original Code is Josef Cacek.
15-
* Portions created by Josef Cacek are Copyright (C) Josef Cacek. All Rights Reserved.
16-
*
17-
* Contributor(s): Josef Cacek.
18-
*
19-
* Alternatively, the contents of this file may be used under the terms
20-
* of the GNU Lesser General Public License, version 2.1 (the "LGPL License"), in which case the
21-
* provisions of LGPL License are applicable instead of those
22-
* above. If you wish to allow use of your version of this file only
23-
* under the terms of the LGPL License and not to allow others to use
24-
* your version of this file under the MPL, indicate your decision by
25-
* deleting the provisions above and replace them with the notice and
26-
* other provisions required by the LGPL License. If you do not delete
27-
* the provisions above, a recipient may use your version of this file
28-
* under either the MPL or the LGPL License.
29-
*/
301
package net.sf.jsignpdf;
312

323
import java.net.InetSocketAddress;

jsignpdf/src/main/java/net/sf/jsignpdf/Constants.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
1-
/*
2-
* The contents of this file are subject to the Mozilla Public License
3-
* Version 1.1 (the "License"); you may not use this file except in
4-
* compliance with the License. You may obtain a copy of the License at
5-
* http://www.mozilla.org/MPL/
6-
*
7-
* Software distributed under the License is distributed on an "AS IS"
8-
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
9-
* License for the specific language governing rights and limitations
10-
* under the License.
11-
*
12-
* The Original Code is 'JSignPdf, a free application for PDF signing'.
13-
*
14-
* The Initial Developer of the Original Code is Josef Cacek.
15-
* Portions created by Josef Cacek are Copyright (C) Josef Cacek. All Rights Reserved.
16-
*
17-
* Contributor(s): Josef Cacek.
18-
*
19-
* Alternatively, the contents of this file may be used under the terms
20-
* of the GNU Lesser General Public License, version 2.1 (the "LGPL License"), in which case the
21-
* provisions of LGPL License are applicable instead of those
22-
* above. If you wish to allow use of your version of this file only
23-
* under the terms of the LGPL License and not to allow others to use
24-
* your version of this file under the MPL, indicate your decision by
25-
* deleting the provisions above and replace them with the notice and
26-
* other provisions required by the LGPL License. If you do not delete
27-
* the provisions above, a recipient may use your version of this file
28-
* under either the MPL or the LGPL License.
29-
*/
301
package net.sf.jsignpdf;
312

323
import java.io.IOException;

jsignpdf/src/main/java/net/sf/jsignpdf/JSignEncryptor.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
1-
/*
2-
* The contents of this file are subject to the Mozilla Public License
3-
* Version 1.1 (the "License"); you may not use this file except in
4-
* compliance with the License. You may obtain a copy of the License at
5-
* http://www.mozilla.org/MPL/
6-
*
7-
* Software distributed under the License is distributed on an "AS IS"
8-
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
9-
* License for the specific language governing rights and limitations
10-
* under the License.
11-
*
12-
* The Original Code is 'JSignPdf, a free application for PDF signing'.
13-
*
14-
* The Initial Developer of the Original Code is Josef Cacek.
15-
* Portions created by Josef Cacek are Copyright (C) Josef Cacek. All Rights Reserved.
16-
*
17-
* Contributor(s): Josef Cacek.
18-
*
19-
* Alternatively, the contents of this file may be used under the terms
20-
* of the GNU Lesser General Public License, version 2.1 (the "LGPL License"), in which case the
21-
* provisions of LGPL License are applicable instead of those
22-
* above. If you wish to allow use of your version of this file only
23-
* under the terms of the LGPL License and not to allow others to use
24-
* your version of this file under the MPL, indicate your decision by
25-
* deleting the provisions above and replace them with the notice and
26-
* other provisions required by the LGPL License. If you do not delete
27-
* the provisions above, a recipient may use your version of this file
28-
* under either the MPL or the LGPL License.
29-
*/
301
package net.sf.jsignpdf;
312

323
import org.bouncycastle.crypto.BufferedBlockCipher;

jsignpdf/src/main/java/net/sf/jsignpdf/JTextAreaHandler.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
1-
/*
2-
* The contents of this file are subject to the Mozilla Public License
3-
* Version 1.1 (the "License"); you may not use this file except in
4-
* compliance with the License. You may obtain a copy of the License at
5-
* http://www.mozilla.org/MPL/
6-
*
7-
* Software distributed under the License is distributed on an "AS IS"
8-
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
9-
* License for the specific language governing rights and limitations
10-
* under the License.
11-
*
12-
* The Original Code is 'JSignPdf, a free application for PDF signing'.
13-
*
14-
* The Initial Developer of the Original Code is Josef Cacek.
15-
* Portions created by Josef Cacek are Copyright (C) Josef Cacek. All Rights Reserved.
16-
*
17-
* Contributor(s): Josef Cacek.
18-
*
19-
* Alternatively, the contents of this file may be used under the terms
20-
* of the GNU Lesser General Public License, version 2.1 (the "LGPL License"), in which case the
21-
* provisions of LGPL License are applicable instead of those
22-
* above. If you wish to allow use of your version of this file only
23-
* under the terms of the LGPL License and not to allow others to use
24-
* your version of this file under the MPL, indicate your decision by
25-
* deleting the provisions above and replace them with the notice and
26-
* other provisions required by the LGPL License. If you do not delete
27-
* the provisions above, a recipient may use your version of this file
28-
* under either the MPL or the LGPL License.
29-
*/
301
package net.sf.jsignpdf;
312

323
import static net.sf.jsignpdf.Constants.NEW_LINE;

jsignpdf/src/main/java/net/sf/jsignpdf/JavaVersion.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
1-
/*
2-
* The contents of this file are subject to the Mozilla Public License
3-
* Version 1.1 (the "License"); you may not use this file except in
4-
* compliance with the License. You may obtain a copy of the License at
5-
* http://www.mozilla.org/MPL/
6-
*
7-
* Software distributed under the License is distributed on an "AS IS"
8-
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
9-
* License for the specific language governing rights and limitations
10-
* under the License.
11-
*
12-
* The Original Code is 'JSignPdf, a free application for PDF signing'.
13-
*
14-
* The Initial Developer of the Original Code is Josef Cacek.
15-
* Portions created by Josef Cacek are Copyright (C) Josef Cacek. All Rights Reserved.
16-
*
17-
* Contributor(s): Josef Cacek.
18-
*
19-
* Alternatively, the contents of this file may be used under the terms
20-
* of the GNU Lesser General Public License, version 2.1 (the "LGPL License"), in which case the
21-
* provisions of LGPL License are applicable instead of those
22-
* above. If you wish to allow use of your version of this file only
23-
* under the terms of the LGPL License and not to allow others to use
24-
* your version of this file under the MPL, indicate your decision by
25-
* deleting the provisions above and replace them with the notice and
26-
* other provisions required by the LGPL License. If you do not delete
27-
* the provisions above, a recipient may use your version of this file
28-
* under either the MPL or the LGPL License.
29-
*/
301
package net.sf.jsignpdf;
312

323
/**

jsignpdf/src/main/java/net/sf/jsignpdf/PdfExtraInfo.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
1-
/*
2-
* The contents of this file are subject to the Mozilla Public License
3-
* Version 1.1 (the "License"); you may not use this file except in
4-
* compliance with the License. You may obtain a copy of the License at
5-
* http://www.mozilla.org/MPL/
6-
*
7-
* Software distributed under the License is distributed on an "AS IS"
8-
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
9-
* License for the specific language governing rights and limitations
10-
* under the License.
11-
*
12-
* The Original Code is 'JSignPdf, a free application for PDF signing'.
13-
*
14-
* The Initial Developer of the Original Code is Josef Cacek.
15-
* Portions created by Josef Cacek are Copyright (C) Josef Cacek. All Rights Reserved.
16-
*
17-
* Contributor(s): Josef Cacek.
18-
*
19-
* Alternatively, the contents of this file may be used under the terms
20-
* of the GNU Lesser General Public License, version 2.1 (the "LGPL License"), in which case the
21-
* provisions of LGPL License are applicable instead of those
22-
* above. If you wish to allow use of your version of this file only
23-
* under the terms of the LGPL License and not to allow others to use
24-
* your version of this file under the MPL, indicate your decision by
25-
* deleting the provisions above and replace them with the notice and
26-
* other provisions required by the LGPL License. If you do not delete
27-
* the provisions above, a recipient may use your version of this file
28-
* under either the MPL or the LGPL License.
29-
*/
301
package net.sf.jsignpdf;
312

323
import net.sf.jsignpdf.types.PageInfo;

jsignpdf/src/main/java/net/sf/jsignpdf/PrivateKeyInfo.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
1-
/*
2-
* The contents of this file are subject to the Mozilla Public License
3-
* Version 1.1 (the "License"); you may not use this file except in
4-
* compliance with the License. You may obtain a copy of the License at
5-
* http://www.mozilla.org/MPL/
6-
*
7-
* Software distributed under the License is distributed on an "AS IS"
8-
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
9-
* License for the specific language governing rights and limitations
10-
* under the License.
11-
*
12-
* The Original Code is 'JSignPdf, a free application for PDF signing'.
13-
*
14-
* The Initial Developer of the Original Code is Josef Cacek.
15-
* Portions created by Josef Cacek are Copyright (C) Josef Cacek. All Rights Reserved.
16-
*
17-
* Contributor(s): Josef Cacek.
18-
*
19-
* Alternatively, the contents of this file may be used under the terms
20-
* of the GNU Lesser General Public License, version 2.1 (the "LGPL License"), in which case the
21-
* provisions of LGPL License are applicable instead of those
22-
* above. If you wish to allow use of your version of this file only
23-
* under the terms of the LGPL License and not to allow others to use
24-
* your version of this file under the MPL, indicate your decision by
25-
* deleting the provisions above and replace them with the notice and
26-
* other provisions required by the LGPL License. If you do not delete
27-
* the provisions above, a recipient may use your version of this file
28-
* under either the MPL or the LGPL License.
29-
*/
301
package net.sf.jsignpdf;
312

323
import java.security.PrivateKey;

jsignpdf/src/main/java/net/sf/jsignpdf/SignPdfForm.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,3 @@
1-
/*
2-
* The contents of this file are subject to the Mozilla Public License
3-
* Version 1.1 (the "License"); you may not use this file except in
4-
* compliance with the License. You may obtain a copy of the License at
5-
* http://www.mozilla.org/MPL/
6-
*
7-
* Software distributed under the License is distributed on an "AS IS"
8-
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
9-
* License for the specific language governing rights and limitations
10-
* under the License.
11-
*
12-
* The Original Code is 'JSignPdf, a free application for PDF signing'.
13-
*
14-
* The Initial Developer of the Original Code is Josef Cacek.
15-
* Portions created by Josef Cacek are Copyright (C) Josef Cacek. All Rights Reserved.
16-
*
17-
* Contributor(s): Josef Cacek.
18-
*
19-
* Alternatively, the contents of this file may be used under the terms
20-
* of the GNU Lesser General Public License, version 2.1 (the "LGPL License"), in which case the
21-
* provisions of LGPL License are applicable instead of those
22-
* above. If you wish to allow use of your version of this file only
23-
* under the terms of the LGPL License and not to allow others to use
24-
* your version of this file under the MPL, indicate your decision by
25-
* deleting the provisions above and replace them with the notice and
26-
* other provisions required by the LGPL License. If you do not delete
27-
* the provisions above, a recipient may use your version of this file
28-
* under either the MPL or the LGPL License.
29-
*/
301
package net.sf.jsignpdf;
312

323
import static net.sf.jsignpdf.Constants.RES;

0 commit comments

Comments
 (0)