Skip to content

Commit 971a60c

Browse files
author
Emmanuel Lécharny
committed
o Fixed some typo
o get rid of useless FQCN
1 parent 6ea71eb commit 971a60c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mina-example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLServerSocketFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828

2929
/**
3030
* Simple Server Socket factory to create sockets with or without SSL enabled.
31-
* If SSL enabled a "bougus" SSL Context is used (suitable for test purposes)
31+
* If SSL enabled a "bogus" SSL Context is used (suitable for test purposes)
3232
*
3333
* @author <a href="http://mina.apache.org">Apache MINA Project</a>
3434
*/
35-
public class SSLServerSocketFactory extends javax.net.ServerSocketFactory {
35+
public class SSLServerSocketFactory extends ServerSocketFactory {
3636
private static boolean sslEnabled = false;
3737

3838
private static javax.net.ServerSocketFactory sslFactory = null;
@@ -60,7 +60,7 @@ public ServerSocket createServerSocket(int port, int backlog,
6060
return new ServerSocket(port, backlog, ifAddress);
6161
}
6262

63-
public static javax.net.ServerSocketFactory getServerSocketFactory()
63+
public static ServerSocketFactory getServerSocketFactory()
6464
throws IOException {
6565
if (isSslEnabled()) {
6666
if (sslFactory == null) {

mina-example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLSocketFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
/**
3131
* Simple Socket factory to create sockets with or without SSL enabled.
32-
* If SSL enabled a "bougus" SSL Context is used (suitable for test purposes)
32+
* If SSL enabled a "bogus" SSL Context is used (suitable for test purposes)
3333
*
3434
* @author <a href="http://mina.apache.org">Apache MINA Project</a>
3535
*/

0 commit comments

Comments
 (0)