Skip to content

Commit 9a05042

Browse files
author
TheSnoozer
committed
make checkstype happy
1 parent 88fae51 commit 9a05042

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

src/test/java/pl/project13/maven/git/GitCommitIdMojoTest.java

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import java.io.File;
2424
import java.io.IOException;
2525
import java.util.Date;
26-
2726
import junitparams.JUnitParamsRunner;
2827
import junitparams.Parameters;
2928
import org.joda.time.DateTime;
@@ -74,19 +73,19 @@ public void testCraftPropertiesOutputFileWithFullPath() throws IOException {
7473
.getCanonicalPath());
7574
}
7675

76+
/**
77+
* test cases for output timestamp parsing.
78+
* This timestamp is configured for Reproducible Builds' archive entries
79+
* (https://maven.apache.org/guides/mini/guide-reproducible-builds.html). The value from <code>
80+
* ${project.build.outputTimestamp}</code> is either formatted as ISO 8601 <code>
81+
* yyyy-MM-dd'T'HH:mm:ssXXX</code> or as an int representing seconds since the epoch (like <a
82+
* href="https://reproducible-builds.org/docs/source-date-epoch/">SOURCE_DATE_EPOCH</a>.
83+
* When using ISO 8601 formatting please note that the entire expression must be entirely either
84+
* in the basic format (20240215T135459+0100) or in the
85+
* extended format (e.g. 2024-02-15T13:54:59+01:00).
86+
* The maven plugin only supports the extended format.
87+
*/
7788
private Object[] parametersParseOutputTimestamp() {
78-
/**
79-
* test cases for output timestamp parsing.
80-
* This timestamp is configured for Reproducible Builds' archive entries
81-
* (https://maven.apache.org/guides/mini/guide-reproducible-builds.html). The value from <code>
82-
* ${project.build.outputTimestamp}</code> is either formatted as ISO 8601 <code>
83-
* yyyy-MM-dd'T'HH:mm:ssXXX</code> or as an int representing seconds since the epoch (like <a
84-
* href="https://reproducible-builds.org/docs/source-date-epoch/">SOURCE_DATE_EPOCH</a>.
85-
* When using ISO 8601 formatting please note that the entire expression must be entirely either
86-
* in the basic format (20240215T135459+0100) or in the
87-
* extended format (e.g. 2024-02-15T13:54:59+01:00).
88-
* The maven plugin only supports the extended format.
89-
*/
9089
return new Object[] {
9190
// long since epoch
9291
new Object[] {

0 commit comments

Comments
 (0)