Produced by Araxis Merge on 6/9/2017 3:49:58 PM Eastern Daylight 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 | Fri Jun 9 19:49:58 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-common\src\main\java\gov\va\nvap\common\transformer | BatchTransformer.java | Fri Apr 21 20:03:26 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 32 |
| 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.nvap. common.tra nsformer; | |||||
| 2 | ||||||
| 3 | import gov .va.nvap.c ommon.vali dation.Nul lChecker; | |||||
| 4 | ||||||
| 5 | import jav a.util.Lis t; | |||||
| 6 | ||||||
| 7 | import org .springfra mework.bea ns.factory .annotatio n.Required ; | |||||
| 8 | ||||||
| 9 | public cla ss BatchTr ansformer implements Transform er<Object, Object> { | |||||
| 10 | ||||||
| 11 | Li st<Transfo rmer<Objec t, Object> > transfor mers; | |||||
| 12 | ||||||
| 13 | @R equired | |||||
| 14 | pu blic void setTransfo rmers( | |||||
| 15 | final List<Trans former<Obj ect, Objec t>> transf ormers) { | |||||
| 16 | this .transform ers = tran sformers; | |||||
| 17 | } | |||||
| 18 | ||||||
| 19 | @O verride | |||||
| 20 | pu blic Objec t transfor m(final Ob ject src) throws Tra nsformerEx ception { | |||||
| 21 | if ( NullChecke r.isEmpty( this.trans formers)) { | |||||
| 22 | return src; | |||||
| 23 | } | |||||
| 24 | ||||||
| 25 | Obje ct value = src; | |||||
| 26 | for (final Tra nsformer<O bject, Obj ect> trans former : t his.transf ormers) { | |||||
| 27 | value = transfor mer.transf orm(value) ; | |||||
| 28 | } | |||||
| 29 | ||||||
| 30 | retu rn value; | |||||
| 31 | } | |||||
| 32 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.