Changeset d855ea0243033b7550d661d296ceaf7b5bf94e75
- Timestamp:
- 11/10/09 16:38:40
(4 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1257871120 +0000
- git-parent:
[18662830e336fc374d9ed64097d12773957a126d]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1257871120 +0000
- Message:
correct handling of nulls
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r5640498 |
rd855ea0 |
|
| 30 | 30 | uuid = parts[3]; |
|---|
| 31 | 31 | name = parts[4]; |
|---|
| 32 | | try { |
|---|
| 33 | | value = Double.valueOf(parts[6]); |
|---|
| 34 | | } catch (NumberFormatException nfe) { |
|---|
| 35 | | value = null; |
|---|
| | 32 | value = null; |
|---|
| | 33 | if (!parts[6].equals("[[null]]")) { |
|---|
| | 34 | try { |
|---|
| | 35 | value = Double.valueOf(parts[6]); |
|---|
| | 36 | } catch (NumberFormatException nfe) { |
|---|
| | 37 | value = null; |
|---|
| | 38 | } |
|---|
| 36 | 39 | } |
|---|
| 37 | | |
|---|
| 38 | 40 | } |
|---|
| 39 | 41 | |
|---|
| r5640498 |
rd855ea0 |
|
| 21 | 21 | uuid = parts[3]; |
|---|
| 22 | 22 | name = parts[4]; |
|---|
| 23 | | message = parts[6]; |
|---|
| | 23 | message = parts[6].equals("[[null]]") ? null : parts[6]; |
|---|
| 24 | 24 | time = timeToLong(parts[2]); |
|---|
| 25 | 25 | } |
|---|