mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
IDEA-79509: optimization level must be a string
This commit is contained in:
@@ -67,7 +67,11 @@ public class Saxon9Support {
|
||||
public static TransformerFactory createTransformerFactory() {
|
||||
final TransformerFactoryImpl factory = new TransformerFactoryImpl();
|
||||
factory.setAttribute(FeatureKeys.TRACE_LISTENER, new Saxon9TraceListener());
|
||||
factory.setAttribute(FeatureKeys.OPTIMIZATION_LEVEL, 0);
|
||||
try {
|
||||
factory.setAttribute(FeatureKeys.OPTIMIZATION_LEVEL, "0");
|
||||
} catch (IllegalArgumentException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return factory;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user