[
https://issues.apache.org/jira/browse/VELOCITY-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Schmiedehausen closed VELOCITY-493.
-------------------------------------------
> RuntimeInstance.getProperty() should check overridingProperties when not yet
> initialized
> -----------------------------------------------------------------------------------------
>
> Key: VELOCITY-493
> URL: https://issues.apache.org/jira/browse/VELOCITY-493
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.5 beta1
> Environment: all
> Reporter: Claude Brisson
> Assigned To: Henning Schmiedehausen
> Priority: Minor
> Fix For: 1.5
>
> Attachments: runtimeinstance.patch
>
>
> For consistency, RuntimeInstance.getProperty() should return the values
> previously set with setProperty() event when it hasn't already been
> initialized.
> runtimeInstance.setProperty("foo","bar");
> System.out.println(runtimeInstance.getProperty("foo")); // output "null"
> runtimeInstance.init();
> System.out.println(runtimeInstance.getProperty("foo")); // output "bar"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]