Skip to content

Commit

Permalink
Slight review
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilhcem committed May 8, 2015
1 parent f7e1261 commit fdc328c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/nilhcem/fakesmtp/core/ArgsHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public enum ArgsHandler {
/**
* Handles command line arguments.
*/
private ArgsHandler() {
ArgsHandler() {
options = new Options();
options.addOption(OPT_EMAILS_DIR_SHORT, OPT_EMAILS_DIR_LONG, true, OPT_EMAILS_DESC);
options.addOption(OPT_AUTOSTART_SHORT, OPT_AUTOSTART_LONG, false, OPT_AUTOSTART_DESC);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/nilhcem/fakesmtp/core/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public enum Configuration {
/**
* Opens the "{@code configuration.properties}" file and maps data.
*/
private Configuration() {
Configuration() {
InputStream in = getClass().getResourceAsStream(CONFIG_FILE);
try {
// Load defaults settings
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/nilhcem/fakesmtp/core/I18n.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public enum I18n {
* If the JVM's default locale doesn't have any resource file, will take the en_US resources instead.
* </p>
*/
private I18n() {
I18n() {
ResourceBundle bundle;

try {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/nilhcem/fakesmtp/gui/MainFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public MainFrame() {
Runtime.getRuntime().addShutdownHook(new Thread() {
public void run() {
SMTPServerHandler.INSTANCE.stopServer();
};
}
});

// Restore last saved smtp port (if not overridden by the user)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public enum SMTPServerHandler {
private final MailListener myListener = new MailListener(mailSaver);
private final SMTPServer smtpServer = new SMTPServer(new SimpleMessageListenerAdapter(myListener), new SMTPAuthHandlerFactory());

private SMTPServerHandler() {
SMTPServerHandler() {
}

/**
Expand Down

0 comments on commit fdc328c

Please sign in to comment.