aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rfb
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/tigervnc/rfb')
-rw-r--r--java/com/tigervnc/rfb/AliasParameter.java2
-rw-r--r--java/com/tigervnc/rfb/CConnection.java16
-rw-r--r--java/com/tigervnc/rfb/CMsgReader.java6
-rw-r--r--java/com/tigervnc/rfb/IntParameter.java4
-rw-r--r--java/com/tigervnc/rfb/VoidParameter.java2
5 files changed, 15 insertions, 15 deletions
diff --git a/java/com/tigervnc/rfb/AliasParameter.java b/java/com/tigervnc/rfb/AliasParameter.java
index 3f20ae46..fe0672ee 100644
--- a/java/com/tigervnc/rfb/AliasParameter.java
+++ b/java/com/tigervnc/rfb/AliasParameter.java
@@ -40,7 +40,7 @@ public class AliasParameter extends VoidParameter {
public boolean isBool() { return param.isBool(); }
public void setImmutable() {
- vlog.debug("set immutable "+getName()+" (Alias)");
+ vlog.debug("Set immutable "+getName()+" (Alias)");
param.setImmutable();
}
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);
diff --git a/java/com/tigervnc/rfb/CMsgReader.java b/java/com/tigervnc/rfb/CMsgReader.java
index c71a1e02..52e61e6f 100644
--- a/java/com/tigervnc/rfb/CMsgReader.java
+++ b/java/com/tigervnc/rfb/CMsgReader.java
@@ -81,8 +81,8 @@ public class CMsgReader {
readEndOfContinuousUpdates();
break;
default:
- vlog.error("unknown message type "+type);
- throw new Exception("unknown message type");
+ vlog.error("Unknown message type "+type);
+ throw new Exception("Unknown message type");
}
} else {
int x = is.readU16();
@@ -154,7 +154,7 @@ public class CMsgReader {
if (len > 256*1024) {
is.skip(len);
- vlog.error("cut text too long ("+len+" bytes) - ignoring");
+ vlog.error("Cut text too long ("+len+" bytes) - ignoring");
return;
}
diff --git a/java/com/tigervnc/rfb/IntParameter.java b/java/com/tigervnc/rfb/IntParameter.java
index dcad04a8..ddc8baf4 100644
--- a/java/com/tigervnc/rfb/IntParameter.java
+++ b/java/com/tigervnc/rfb/IntParameter.java
@@ -40,7 +40,7 @@ public class IntParameter extends VoidParameter {
public boolean setParam(String v) {
if (immutable) return true;
- vlog.debug("set "+getName()+"(Int) to "+v);
+ vlog.debug("Set "+getName()+"(Int) to "+v);
try {
int i;
i = Integer.parseInt(v);
@@ -55,7 +55,7 @@ public class IntParameter extends VoidParameter {
public boolean setParam(int v) {
if (immutable) return true;
- vlog.debug("set "+getName()+"(Int) to "+v);
+ vlog.debug("Set "+getName()+"(Int) to "+v);
if (v < minValue || v > maxValue)
return false;
value = v;
diff --git a/java/com/tigervnc/rfb/VoidParameter.java b/java/com/tigervnc/rfb/VoidParameter.java
index 2af0a81d..529c790d 100644
--- a/java/com/tigervnc/rfb/VoidParameter.java
+++ b/java/com/tigervnc/rfb/VoidParameter.java
@@ -61,7 +61,7 @@ abstract public class VoidParameter {
abstract public String getValueStr();
public boolean isBool() { return false; }
public void setImmutable() {
- vlog.debug("set immutable "+getName());
+ vlog.debug("Set immutable "+getName());
immutable = true;
}