The following comment has been added to this issue:
Author: Michael Frericks
Created: Wed, 28 Jul 2004 9:10 AM
Body:
A simple fix is to change the SmartTranslator
from
private String _default;
to
private String _default = "";
This will deliver "" instead of null
in all cases where the HiveMind.isBlank(inputValue)
is true.
But is this what should happen in all those
situation where the SmartTranslator is implicitly
used without any default settings?
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/HIVEMIND-29?page=comments#action_36913
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-29
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-29
Summary: Contribution of whitespaces are ignored
Type: Bug
Status: Open
Priority: Major
Project: HiveMind
Components:
framework
Versions:
1.0
Assignee: Howard M. Lewis Ship
Reporter: Michael Frericks
Created: Wed, 28 Jul 2004 12:25 AM
Updated: Wed, 28 Jul 2004 9:10 AM
Environment: hivemind-1.0-beta-1
Description:
Contributions of whitespaces are ignored:
<default symbol="test.Symbol" value=" " />
used in a Service
<invoke-factory service-id="hivemind.BuilderFactory">
<construct
class="TestServiceImpl">
<set
property="testParameter"
value="${test.Symbol}" />
</construct>
sets the testParameter to the String '${test.Symbol}'
You can see this too in the hivemind-lib
where empty values for symbol ${java.naming.factory.initial}...
are ignored.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]