diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-26 16:59:58 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-26 16:59:58 -0700 |
commit | f5033ce11b823a4fce080211368b8c6473d81e7b (patch) | |
tree | 9b83ebf858b3dca683c2f2d7bd825e3df0ffd16c /src/main/java | |
parent | 5ee3d373993f85b37213b0d21818144b481d2045 (diff) | |
download | trackermap-server-f5033ce11b823a4fce080211368b8c6473d81e7b.tar.gz trackermap-server-f5033ce11b823a4fce080211368b8c6473d81e7b.tar.bz2 trackermap-server-f5033ce11b823a4fce080211368b8c6473d81e7b.zip |
Rename mail manager
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/mail/SmtpMailManager.java (renamed from src/main/java/org/traccar/database/MailManager.java) | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/database/MailManager.java b/src/main/java/org/traccar/mail/SmtpMailManager.java index ec1681dcb..7763c86cc 100644 --- a/src/main/java/org/traccar/database/MailManager.java +++ b/src/main/java/org/traccar/mail/SmtpMailManager.java @@ -14,11 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.traccar.database; +package org.traccar.mail; import org.traccar.config.Config; import org.traccar.config.ConfigKey; import org.traccar.config.Keys; +import org.traccar.database.StatisticsManager; import org.traccar.model.User; import org.traccar.notification.PropertiesProvider; @@ -37,7 +38,7 @@ import java.io.UnsupportedEncodingException; import java.util.Date; import java.util.Properties; -public final class MailManager { +public final class SmtpMailManager implements MailManager { private static final String CONTENT_TYPE = "text/html; charset=utf-8"; @@ -45,7 +46,7 @@ public final class MailManager { private final StatisticsManager statisticsManager; @Inject - public MailManager(Config config, StatisticsManager statisticsManager) { + public SmtpMailManager(Config config, StatisticsManager statisticsManager) { this.config = config; this.statisticsManager = statisticsManager; } |