[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sandesha-dev
Subject:    [jira] [Created] (AXIS2-5734) ADB java.lang.Boolean type mapping incorrect for '1' and '0'
From:       "Elena Yangazova (JIRA)" <jira () apache ! org>
Date:       2015-11-11 13:38:10
Message-ID: JIRA.12912168.1447249060000.39087.1447249090923 () Atlassian ! JIRA
[Download RAW message or body]

Elena Yangazova created AXIS2-5734:
--------------------------------------

             Summary: ADB java.lang.Boolean type mapping incorrect for '1' and '0'
                 Key: AXIS2-5734
                 URL: https://issues.apache.org/jira/browse/AXIS2-5734
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.6.3
            Reporter: Elena Yangazova


AXIS2-3313 ADB Boolean type mapping incorrect for '1' and '0' is fixed, but in \
                version 1.6.3 SimpleTypeMapper.java still contains
...
private static final String W_BOOLEAN = "java.lang.Boolean";
...
} else if (name.equals(W_BOOLEAN)) {
            return Boolean.valueOf(text);
} ...

Therefore both '0' and '1' are parsed as 'false'.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic