made fields in GPSFix*HandlerImpl private final

This commit is contained in:
Axel Uhl committed 2014-04-27 14:04:31 +02:00
1 parent 80a6b48d7a
commit 4cc19b6551
4 files changed
+6 -4

No files matched your search

@@ -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
*
*/
@@ -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;
@@ -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;