Skip to content

Commit

Permalink
added realignmentLineNumber in AbstractTestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
nbauma109 committed Dec 22, 2022
1 parent e82ee42 commit 09ef32c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/test/java/jd/core/test/AbstractTestCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected String decompile(String internalTypeName, Loader loader) throws IOExce
PlainTextPrinter printer = new PlainTextPrinter();

Preferences preferences = new Preferences();
preferences.setRealignmentLineNumber(true);
preferences.setRealignmentLineNumber(realignmentLineNumber());
preferences.setShowDefaultConstructor(showDefaultConstructor());
preferences.setShowLineNumbers(true);
preferences.setShowPrefixThis(true);
Expand All @@ -36,4 +36,8 @@ protected String decompile(String internalTypeName) throws IOException {
protected boolean showDefaultConstructor() {
return false;
}

protected boolean realignmentLineNumber() {
return true;
}
}

0 comments on commit 09ef32c

Please sign in to comment.