diff options
author | Madeleine Nilsson <madni@cendio.se> | 2024-11-04 15:00:43 +0100 |
---|---|---|
committer | Madeleine Nilsson <madni@cendio.se> | 2024-11-21 17:38:35 +0100 |
commit | 0af41e7fed978f934f3dc6ca8c99599a212467c5 (patch) | |
tree | b59907e4e0c4bbbef45346794a890f17009c117f /java/com/tigervnc/vncviewer/CConn.java | |
parent | 5b74bf1bbd4aef9f71ef76b718c79fe7b09bf5f5 (diff) | |
download | tigervnc-0af41e7fed978f934f3dc6ca8c99599a212467c5.tar.gz tigervnc-0af41e7fed978f934f3dc6ca8c99599a212467c5.zip |
Capitalize first letter in log, exception & error
The reason for this is to keep a consistency through out the project.
Diffstat (limited to 'java/com/tigervnc/vncviewer/CConn.java')
-rw-r--r-- | java/com/tigervnc/vncviewer/CConn.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/com/tigervnc/vncviewer/CConn.java b/java/com/tigervnc/vncviewer/CConn.java index 11b6da44..ff22206d 100644 --- a/java/com/tigervnc/vncviewer/CConn.java +++ b/java/com/tigervnc/vncviewer/CConn.java @@ -113,10 +113,10 @@ public class CConn extends CConnection implements Tunnel.createTunnel(gatewayHost, getServerName(), getServerPort(), localPort); sock = new TcpSocket("localhost", localPort); - vlog.info("connected to localhost port "+localPort); + vlog.info("Connected to localhost port "+localPort); } else { sock = new TcpSocket(getServerName(), getServerPort()); - vlog.info("connected to host "+getServerName()+" port "+getServerPort()); + vlog.info("Connected to host "+getServerName()+" port "+getServerPort()); } } catch (java.lang.Exception e) { throw new Exception(e.getMessage()); @@ -126,7 +126,7 @@ public class CConn extends CConnection implements if (listenMode.getValue()) vlog.info("Accepted connection from " + name); else - vlog.info("connected to host "+Hostname.getHost(name)+" port "+Hostname.getPort(name)); + vlog.info("Connected to host "+Hostname.getHost(name)+" port "+Hostname.getPort(name)); } // See callback below |