[jboss-jira] [JBoss JIRA] Updated: (JBRULES-3177) Performance optimization: open a stream only once in EclipseJavaCompiler.findType()
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Thu Aug 18 07:03:17 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco updated JBRULES-3177:
---------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
Git Pull Request: https://github.com/droolsjbpm/drools/pull/50 (was: https://github.com/droolsjbpm/drools/pull/50)
> Performance optimization: open a stream only once in EclipseJavaCompiler.findType()
> -----------------------------------------------------------------------------------
>
> Key: JBRULES-3177
> URL: https://issues.jboss.org/browse/JBRULES-3177
> Project: Drools
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: drools-compiler
> Reporter: Mario Fusco
> Assignee: Mario Fusco
> Priority: Minor
>
> At the moment EclipseJavaCompiler opens (and closes) the same stream twice in the findType() method: first by invoking isPackage() method and then in findType() itself. It makes sense to open that stream only once for performance reasons.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list