// Generate record
String destinationPath = destSrcPathDir + "/" + packageName;
File destinationPathFile = new File(destinationPath);
- destinationPathFile.mkdirs();
+ if (destinationPathFile.mkdirs()) {
+ System.out.println("Created destination directory: " + destinationPath);
+ }
String destinationFilepath = destinationPath + "/" + recordName + suffix + ".java";
transform(file, new File(destinationFilepath),
new File(recordStyleDir + "/" + extendstg.toLowerCase(Locale.ROOT) + ".xsl"));
// Generate test (if not already generated)
destinationPath = testSrcPathDir + "/" + packageName;
destinationPathFile = new File(destinationPath);
- destinationPathFile.mkdirs();
+ if (destinationPathFile.mkdirs()) {
+ System.out.println("Created destination directory: " + destinationPath);
+ }
destinationFilepath = destinationPath + "/Test" + recordName + suffix + ".java";
if (new File(destinationFilepath).exists() == false) {
String temp = (recordStyleDir + "/" + extendstg.toLowerCase(Locale.ROOT) + "_test.xsl");
{
static final int SIZE = 16;
+ /**
+ * Findbugs: UNR_UNREAD_FIELD
+ */
private short field_1_wReserved;
private byte field_2_scale;
private byte field_3_sign;
<Class name="org.apache.poi.xssf.model.IndexedUDFFinder"/>
<Bug code="Nm" />
</Match>
+ <Match>
+ <Class name="org.apache.poi.hpsf.Decimal"/>
+ <Bug pattern="URF_UNREAD_FIELD" />
+ </Match>
<!-- named this way on purpose -->
<Match>