This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch 2.2.X
in repository https://gitbox.apache.org/repos/asf/mina.git


The following commit(s) were added to refs/heads/2.2.X by this push:
     new 971a60c2f o Fixed some typo o get rid of useless FQCN
971a60c2f is described below

commit 971a60c2f68628a01c1550192500f72bffd76e5a
Author: Emmanuel Lécharny <[email protected]>
AuthorDate: Thu Oct 16 14:00:02 2025 +0200

    o Fixed some typo
    o get rid of useless FQCN
---
 .../apache/mina/example/echoserver/ssl/SSLServerSocketFactory.java  | 6 +++---
 .../org/apache/mina/example/echoserver/ssl/SSLSocketFactory.java    | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/mina-example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLServerSocketFactory.java
 
b/mina-example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLServerSocketFactory.java
index f17c5ae83..7aa033b5b 100644
--- 
a/mina-example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLServerSocketFactory.java
+++ 
b/mina-example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLServerSocketFactory.java
@@ -28,11 +28,11 @@ import javax.net.ServerSocketFactory;
 
 /**
  * Simple Server Socket factory to create sockets with or without SSL enabled.
- * If SSL enabled a "bougus" SSL Context is used (suitable for test purposes)
+ * If SSL enabled a "bogus" SSL Context is used (suitable for test purposes)
  *
  * @author <a href="http://mina.apache.org";>Apache MINA Project</a>
  */
-public class SSLServerSocketFactory extends javax.net.ServerSocketFactory {
+public class SSLServerSocketFactory extends ServerSocketFactory {
     private static boolean sslEnabled = false;
 
     private static javax.net.ServerSocketFactory sslFactory = null;
@@ -60,7 +60,7 @@ public class SSLServerSocketFactory extends 
javax.net.ServerSocketFactory {
         return new ServerSocket(port, backlog, ifAddress);
     }
 
-    public static javax.net.ServerSocketFactory getServerSocketFactory()
+    public static ServerSocketFactory getServerSocketFactory()
             throws IOException {
         if (isSslEnabled()) {
             if (sslFactory == null) {
diff --git 
a/mina-example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLSocketFactory.java
 
b/mina-example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLSocketFactory.java
index 2be8ddaea..0305bd4f9 100644
--- 
a/mina-example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLSocketFactory.java
+++ 
b/mina-example/src/main/java/org/apache/mina/example/echoserver/ssl/SSLSocketFactory.java
@@ -29,7 +29,7 @@ import javax.net.SocketFactory;
 
 /**
  * Simple Socket factory to create sockets with or without SSL enabled.
- * If SSL enabled a "bougus" SSL Context is used (suitable for test purposes)
+ * If SSL enabled a "bogus" SSL Context is used (suitable for test purposes)
  *
  * @author <a href="http://mina.apache.org";>Apache MINA Project</a>
  */

Reply via email to