Produced by Araxis Merge on 2/7/2017 12:14:05 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | cpss.zip\cpss\src\main\java\gov\va\cpss\cobol | MoneyEditor.java | Wed Feb 1 21:07:26 2017 UTC |
2 | cpss.zip\cpss\src\main\java\gov\va\cpss\cobol | MoneyEditor.java | Fri Feb 3 20:28:31 2017 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 60 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | package go v.va.cpss. cobol; | |
2 | ||
3 | import jav a.beans.Pr opertyEdit orSupport; | |
4 | ||
5 | import org .apache.lo g4j.Logger ; | |
6 | ||
7 | /** | |
8 | * Custom property e ditor used by BeanWr apperField SetMapper to constru ct Cobol n umber | |
9 | * formate d Money ob ject durin g batch pr ocessing p rocessing of FixedLe ngthTokeni zer of | |
10 | * FlatFil eItemReade r. | |
11 | * | |
12 | * @author DN S P II | |
13 | */ | |
14 | public cla ss MoneyEd itor exten ds Propert yEditorSup port { | |
15 | ||
16 | privat e final Lo gger money Logger; | |
17 | ||
18 | public MoneyEdit or() { | |
19 | mo neyLogger = Logger.g etLogger(t his.getCla ss().getCa nonicalNam e()); | |
20 | } | |
21 | ||
22 | @Overr ide | |
23 | public void setA sText(Stri ng text) { | |
24 | tr y { | |
25 | setValue (new Money (text)); | |
26 | } catch (Num berFormatE xception e ) { | |
27 | moneyLog ger.error( "Caught ex ception: " + e.getMe ssage()); | |
28 | throw (e ); | |
29 | } | |
30 | } | |
31 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.