Skip to content

Commit 6664f6f

Browse files
committed
Use TRUE constant, instead of instantiating a new "true" entity
1 parent 7d50740 commit 6664f6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DecompileToC.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void run() throws Exception {
4848

4949
CppExporter cppExporter = new CppExporter();
5050
List<Option> options = new ArrayList<Option>();
51-
options.add(new Option(CppExporter.CREATE_HEADER_FILE, new Boolean(true)));
51+
options.add(new Option(CppExporter.CREATE_HEADER_FILE, Boolean.TRUE));
5252
cppExporter.setOptions(options);
5353
cppExporter.setExporterServiceProvider(state.getTool());
5454
cppExporter.export(outputFile, currentProgram, null, monitor);

0 commit comments

Comments
 (0)