Fix templates indentation
This commit is contained in:
parent
4961829fcd
commit
3a767ddcb2
3 changed files with 81 additions and 81 deletions
|
@ -84,7 +84,7 @@ class VersionProcessorTest {
|
|||
*
|
||||
* @author <a href="https://github.com/ethauvin/semver">Semantic Version Annotation Processor</a>
|
||||
*/
|
||||
public final class MyTest {
|
||||
public final class %s {
|
||||
public static final String PROJECT = "%s";
|
||||
public static final Date BUILDDATE = new Date(L);
|
||||
public static final int MAJOR = %d;
|
||||
|
@ -100,13 +100,13 @@ class VersionProcessorTest {
|
|||
/**
|
||||
* Disables the default constructor.
|
||||
*/
|
||||
private MyTest() {
|
||||
private %s() {
|
||||
throw new UnsupportedOperationException("Illegal constructor call.");
|
||||
}
|
||||
}
|
||||
""", version.packageName(), version.project(), version.major(), version.minor(), version.patch(),
|
||||
version.preRelease(), version.preReleasePrefix(), version.buildMeta(),
|
||||
version.buildMetaPrefix(), version.separator()),
|
||||
""", version.packageName(), version.className(), version.project(), version.major(),
|
||||
version.minor(), version.patch(), version.preRelease(), version.preReleasePrefix(),
|
||||
version.buildMeta(), version.buildMetaPrefix(), version.separator(), version.className()),
|
||||
writer.toString());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue