diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-07 10:09:08 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-07 10:09:08 +1300 |
commit | 5b57c0fdb81bae87ca487e1d0087f8927b3fd07f (patch) | |
tree | c3733bca54002ca694b6d7b83b147de87212c5eb /src/org/traccar/model/Position.java | |
parent | 33b2a5c9ab70ffe7bbdd074ce430920d2a0d3941 (diff) | |
download | trackermap-server-5b57c0fdb81bae87ca487e1d0087f8927b3fd07f.tar.gz trackermap-server-5b57c0fdb81bae87ca487e1d0087f8927b3fd07f.tar.bz2 trackermap-server-5b57c0fdb81bae87ca487e1d0087f8927b3fd07f.zip |
Replace factory method with reflection
Diffstat (limited to 'src/org/traccar/model/Position.java')
-rw-r--r-- | src/org/traccar/model/Position.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java index 9494da042..1a38681ca 100644 --- a/src/org/traccar/model/Position.java +++ b/src/org/traccar/model/Position.java @@ -17,12 +17,7 @@ package org.traccar.model; import java.util.Date; -public class Position extends Event implements Factory { - - @Override - public Position create() { - return new Position(); - } +public class Position extends Event { private Date fixTime; |