aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/example/Unicode.java
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-11-19 22:43:13 +0000
committerBruce Momjian <bruce@momjian.us>2001-11-19 22:43:13 +0000
commit6c8120d68ced229111aeb1e45cb6aa3219e1e70b (patch)
tree21d637cf5b5a33f382f6b595564205afc42c3a51 /src/interfaces/jdbc/example/Unicode.java
parent46d50783bf16b2db28160c2b968cd6d5cd65600d (diff)
downloadpostgresql-6c8120d68ced229111aeb1e45cb6aa3219e1e70b.tar.gz
postgresql-6c8120d68ced229111aeb1e45cb6aa3219e1e70b.zip
More jdbc comment cleanups. Code looks very nice now.
Diffstat (limited to 'src/interfaces/jdbc/example/Unicode.java')
-rw-r--r--src/interfaces/jdbc/example/Unicode.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/interfaces/jdbc/example/Unicode.java b/src/interfaces/jdbc/example/Unicode.java
index f5e56522f50..0d84c719a50 100644
--- a/src/interfaces/jdbc/example/Unicode.java
+++ b/src/interfaces/jdbc/example/Unicode.java
@@ -4,7 +4,7 @@ import java.io.*;
import java.sql.*;
import java.util.*;
-/**
+/*
* Test inserting and extracting Unicode-encoded strings.
*
* Synopsis:
@@ -22,17 +22,17 @@ import java.util.*;
public class Unicode
{
- /**
+ /*
* The url for the database to connect to.
*/
private String url;
- /**
+ /*
* The user to connect as.
*/
private String user;
- /**
+ /*
* The password to connect with.
*/
private String password;
@@ -61,7 +61,7 @@ public class Unicode
this.password = password;
}
- /**
+ /*
* Establish and return a connection to the database.
*/
private Connection getConnection() throws SQLException,
@@ -75,7 +75,7 @@ public class Unicode
return DriverManager.getConnection(url, info);
}
- /**
+ /*
* Get string representing a block of 256 consecutive unicode characters.
* We exclude the null character, "'", and "\".
*/
@@ -97,7 +97,7 @@ public class Unicode
return sb.toString();
}
- /**
+ /*
* Is the block a block of valid unicode values.
* d800 to db7f is the "unassigned high surrogate" range.
* db80 to dbff is the "private use" range.
@@ -112,7 +112,7 @@ public class Unicode
return true;
}
- /**
+ /*
* Report incorrect block retrieval.
*/
private void reportRetrievalError(int blockNum, String block,
@@ -142,7 +142,7 @@ public class Unicode
log(message);
}
- /**
+ /*
* Do the testing.
*/
public void runTest()