Produced by Araxis Merge on 2/7/2017 12:14:07 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\model | BooleanCharEditor.java | Wed Feb 1 21:07:26 2017 UTC |
2 | cpss.zip\cpss\src\main\java\gov\va\cpss\model | BooleanCharEditor.java | Mon Feb 6 15:13:13 2017 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 62 |
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. model; | |
2 | ||
3 | import jav a.beans.Pr opertyEdit orSupport; | |
4 | import jav a.util.Ill egalFormat Exception; | |
5 | ||
6 | import org .apache.lo g4j.Logger ; | |
7 | ||
8 | /** | |
9 | * Custom property e ditor used by BeanWr apperField SetMapper to set Boo leanChar | |
10 | * enum du ring batch processin g processi ng of Fixe dLengthTok enizer of | |
11 | * FlatFil eItemReade r. | |
12 | * | |
13 | * @author DN S D N S | |
14 | */ | |
15 | public cla ss Boolean CharEditor extends P ropertyEdi torSupport { | |
16 | ||
17 | privat e final Lo gger edito rLogger; | |
18 | ||
19 | public BooleanCh arEditor() { | |
20 | ed itorLogger = Logger. getLogger( this.getCl ass().getC anonicalNa me()); | |
21 | } | |
22 | ||
23 | @Overr ide | |
24 | public void setA sText(Stri ng text) { | |
25 | tr y { | |
26 | setValue (BooleanCh ar.from(te xt)); | |
27 | } catch (Ill egalFormat Exception e) { | |
28 | edit orLogger.e rror("Caug ht excepti on: " + e. getMessage ()); | |
29 | throw (e ); | |
30 | } | |
31 | } | |
32 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.