aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/vncviewer
diff options
context:
space:
mode:
authorMadeleine Nilsson <madni@cendio.se>2024-11-04 15:00:43 +0100
committerMadeleine Nilsson <madni@cendio.se>2024-11-21 17:38:35 +0100
commit0af41e7fed978f934f3dc6ca8c99599a212467c5 (patch)
treeb59907e4e0c4bbbef45346794a890f17009c117f /java/com/tigervnc/vncviewer
parent5b74bf1bbd4aef9f71ef76b718c79fe7b09bf5f5 (diff)
downloadtigervnc-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')
-rw-r--r--java/com/tigervnc/vncviewer/CConn.java6
-rw-r--r--java/com/tigervnc/vncviewer/Viewport.java2
2 files changed, 4 insertions, 4 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
diff --git a/java/com/tigervnc/vncviewer/Viewport.java b/java/com/tigervnc/vncviewer/Viewport.java
index e12ef2a6..c293cb7d 100644
--- a/java/com/tigervnc/vncviewer/Viewport.java
+++ b/java/com/tigervnc/vncviewer/Viewport.java
@@ -168,7 +168,7 @@ class Viewport extends JPanel implements ActionListener {
if (data[i*4 + 3] != 0) break;
if ((i == width*height) && dotWhenNoCursor.getValue()) {
- vlog.debug("cursor is empty - using dot");
+ vlog.debug("Cursor is empty: Using dot");
cursor = new BufferedImage(5, 5, BufferedImage.TYPE_INT_ARGB_PRE);
cursor.setRGB(0, 0, 5, 5, dotcursor_xpm, 0, 5);
cursorHotspot.x = cursorHotspot.y = 3;