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\job\fps | FpsClassifier.java | Thu Nov 9 14:19:54 2017 UTC |
| 2 | cbs.zip\cbs\cbs\src\main\java\gov\va\cpss\job\fps | FpsClassifier.java | Tue Nov 14 12:26:20 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 68 |
| 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. job.fps; | |
| 2 | ||
| 3 | import org .apache.lo g4j.Logger ; | |
| 4 | import org .springfra mework.cla ssify.Clas sifier; | |
| 5 | ||
| 6 | import gov .va.cpss.m odel.fps.P SRecord; | |
| 7 | ||
| 8 | /** | |
| 9 | * Classif ier used b y the Proc ess FPS Da ta batch j ob Pattern MatchingCo mpositeLin eMapper to | |
| 10 | * determi ne which t okenizer t o use base d on the f irst entry key of th e data row . | |
| 11 | * | |
| 12 | * @author DN S BROWNL | |
| 13 | */ | |
| 14 | public cla ss FpsClas sifier imp lements Cl assifier<O bject, Obj ect> { | |
| 15 | ||
| 16 | privat e final Lo gger class ifierLogge r; | |
| 17 | ||
| 18 | public FpsClassi fier() { | |
| 19 | cl assifierLo gger = Log ger.getLog ger(this.g etClass(). getCanonic alName()); | |
| 20 | } | |
| 21 | ||
| 22 | @Overr ide | |
| 23 | public Object cl assify(Obj ect arg0) { | |
| 24 | ||
| 25 | cl assifierLo gger.debug ("Classify ing record for writi ng"); | |
| 26 | ||
| 27 | if (!(arg0 i nstanceof PSRecord)) { | |
| 28 | classifi erLogger.e rror("Unab le to clas sify objec t for writ ing"); | |
| 29 | return P SRecord.Da taType.UND EFINED.get Name(); | |
| 30 | } | |
| 31 | ||
| 32 | re turn ((PSR ecord) arg 0).getType ().getName (); | |
| 33 | } | |
| 34 | ||
| 35 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.