@@ -310,7 +310,7 @@ public void write(UnitInfo ui, IPath unitRoot, EnumDeclaration node) {
310
310
e .printStackTrace ();
311
311
}
312
312
313
- HeaderWriter hw = new HeaderWriter (root , this , ui , typeInfo );
313
+ HeaderWriter hw = new HeaderWriter (unitRoot , this , ui , typeInfo );
314
314
try {
315
315
hw .write (node );
316
316
} catch (Exception e ) {
@@ -330,7 +330,7 @@ public void write(UnitInfo ui, IPath unitRoot,
330
330
e .printStackTrace ();
331
331
}
332
332
333
- HeaderWriter hw = new HeaderWriter (root , this , ui , typeInfo );
333
+ HeaderWriter hw = new HeaderWriter (unitRoot , this , ui , typeInfo );
334
334
try {
335
335
hw .write (node );
336
336
} catch (Exception e ) {
@@ -350,7 +350,7 @@ public void write(UnitInfo ui, IPath unitRoot, TypeDeclaration node) {
350
350
e .printStackTrace ();
351
351
}
352
352
353
- HeaderWriter hw = new HeaderWriter (root , this , ui , typeInfo );
353
+ HeaderWriter hw = new HeaderWriter (unitRoot , this , ui , typeInfo );
354
354
try {
355
355
hw .write (node );
356
356
} catch (Exception e ) {
@@ -371,7 +371,7 @@ public void write(UnitInfo ui, IPath unitRoot,
371
371
e .printStackTrace ();
372
372
}
373
373
374
- HeaderWriter hw = new HeaderWriter (root , this , ui , typeInfo );
374
+ HeaderWriter hw = new HeaderWriter (unitRoot , this , ui , typeInfo );
375
375
try {
376
376
hw .write (node );
377
377
} catch (Exception e ) {
0 commit comments