aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rfb/CConnection.java
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/rfb/CConnection.java
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/rfb/CConnection.java')
-rw-r--r--java/com/tigervnc/rfb/CConnection.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/java/com/tigervnc/rfb/CConnection.java b/java/com/tigervnc/rfb/CConnection.java
index e0e669d8..b94346b9 100644
--- a/java/com/tigervnc/rfb/CConnection.java
+++ b/java/com/tigervnc/rfb/CConnection.java
@@ -160,7 +160,7 @@ abstract public class CConnection extends CMsgHandler {
int majorVersion;
int minorVersion;
- vlog.debug("reading protocol version");
+ vlog.debug("Reading protocol version");
if (!is.checkNoWait(12))
return;
@@ -209,7 +209,7 @@ abstract public class CConnection extends CMsgHandler {
private void processSecurityTypesMsg()
{
- vlog.debug("processing security types message");
+ vlog.debug("Processing security types message");
int secType = Security.secTypeInvalid;
@@ -292,7 +292,7 @@ abstract public class CConnection extends CMsgHandler {
}
private void processSecurityMsg() {
- vlog.debug("processing security message");
+ vlog.debug("Processing security message");
if (csecurity.processMsg(this)) {
state_ = stateEnum.RFBSTATE_SECURITY_RESULT;
processSecurityResultMsg();
@@ -300,7 +300,7 @@ abstract public class CConnection extends CMsgHandler {
}
private void processSecurityResultMsg() {
- vlog.debug("processing security result message");
+ vlog.debug("Processing security result message");
int result;
if (server.beforeVersion(3,8) && csecurity.getType() == Security.secTypeNone) {
result = Security.secResultOK;
@@ -313,10 +313,10 @@ abstract public class CConnection extends CMsgHandler {
securityCompleted();
return;
case Security.secResultFailed:
- vlog.debug("auth failed");
+ vlog.debug("Auth failed");
break;
case Security.secResultTooMany:
- vlog.debug("auth failed - too many tries");
+ vlog.debug("Auth failed: Too many tries");
break;
default:
throw new Exception("Unknown security result from server");
@@ -329,7 +329,7 @@ abstract public class CConnection extends CMsgHandler {
}
private void processInitMsg() {
- vlog.debug("reading server initialisation");
+ vlog.debug("Reading server initialisation");
reader_.readServerInit();
}
@@ -411,7 +411,7 @@ abstract public class CConnection extends CMsgHandler {
super.serverInit(width, height, pf, name);
state_ = stateEnum.RFBSTATE_NORMAL;
- vlog.debug("initialisation done");
+ vlog.debug("Initialisation done");
initDone();
assert(framebuffer != null);