Produced by Araxis Merge on 11/14/2017 6:57:19 AM Central 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 | cbs.zip\cbs\cbs\src\main\java\gov\va\cpss\cobol | MoneyEditor.java | Thu Nov 9 14:19:42 2017 UTC |
| 2 | cbs.zip\cbs\cbs\src\main\java\gov\va\cpss\cobol | MoneyEditor.java | Tue Nov 14 12:25:18 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 BROWNL | |
| 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.