mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-04 18:20:14 +00:00
made fields in GPSFix*HandlerImpl private final
This commit is contained in:
1 parent
80a6b48d7a
commit
4cc19b6551
4 files changed
+6
-4
No files matched your search
+1
@@ -3,6 +3,7 @@ package com.sap.sailing.domain.common.racelog.tracking;
|
||||
/**
|
||||
* Handle transformation between two types. Most likely use-case is serialization,
|
||||
* e.g. for JSON documents or database persistence.
|
||||
*
|
||||
* @author Fredrik Teschke
|
||||
*
|
||||
*/
|
||||
|
||||
+1
@@ -7,6 +7,7 @@ import com.sap.sailing.domain.tracking.GPSFix;
|
||||
* For GPS Fixes, the fully qualified class name is the type used to identify
|
||||
* the handlers, as the fixes are domain objects and are not intended to carry
|
||||
* some separate type attribute.
|
||||
*
|
||||
* @author Fredrik Teschke
|
||||
*
|
||||
*/
|
||||
|
||||
+2
-2
@@ -13,8 +13,8 @@ import com.sap.sailing.domain.tracking.GPSFix;
|
||||
import com.sap.sailing.domain.tracking.impl.GPSFixImpl;
|
||||
|
||||
public class GPSFixMongoHandlerImpl implements GPSFixMongoHandler {
|
||||
MongoObjectFactoryImpl mof;
|
||||
DomainObjectFactoryImpl dof;
|
||||
private final MongoObjectFactoryImpl mof;
|
||||
private final DomainObjectFactoryImpl dof;
|
||||
|
||||
public GPSFixMongoHandlerImpl(MongoObjectFactory mof, DomainObjectFactory dof) {
|
||||
this.mof = (MongoObjectFactoryImpl) mof;
|
||||
|
||||
+2
-2
@@ -15,8 +15,8 @@ import com.sap.sailing.domain.tracking.GPSFixMoving;
|
||||
import com.sap.sailing.domain.tracking.impl.GPSFixMovingImpl;
|
||||
|
||||
public class GPSFixMovingMongoHandlerImpl implements GPSFixMongoHandler {
|
||||
MongoObjectFactoryImpl mof;
|
||||
DomainObjectFactoryImpl dof;
|
||||
private final MongoObjectFactoryImpl mof;
|
||||
private final DomainObjectFactoryImpl dof;
|
||||
|
||||
public GPSFixMovingMongoHandlerImpl(MongoObjectFactory mof, DomainObjectFactory dof) {
|
||||
this.mof = (MongoObjectFactoryImpl) mof;
|
||||
|
||||
Reference in new issue
Block a user