Skip to content

Commit 5e782e5

Browse files
committed
Minor document updates
git-svn-id: svn://192.168.0.80/JavaXT/javaxt-core@1492 2c7b0aa6-e0b2-3c4e-bb4a-8b65b6c465ff
1 parent 82b8f4e commit 5e782e5

File tree

2 files changed

+29
-24
lines changed

2 files changed

+29
-24
lines changed

src/javaxt/json/JSONObject.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
* right brace "}". Each name is followed by colon ":" and the name/value
1515
* pairs are separated by comma ",".
1616
*
17-
* @author json.org
18-
* @version 2016-08-15
17+
* @author Source adapted from json.org (2016-08-15)
1918
*
2019
******************************************************************************/
2120

src/javaxt/sql/Recordset.java

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ public boolean isOpen(){
161161
//**************************************************************************
162162
//** isReadOnly
163163
//**************************************************************************
164-
/** Returns true if records are read-only. */
165-
164+
/** Returns true if records are read-only.
165+
*/
166166
public boolean isReadOnly(){
167167
return isReadOnly;
168168
}
@@ -444,7 +444,7 @@ public void close(){
444444
if (rs!=null) rs.close();
445445
if (stmt!=null){
446446

447-
//PostgreSQL (possibly others) will continue executing a long
447+
//Some databases (e.g. PostgreSQL) will continue executing a long
448448
//query even after closing the recordset. The only way to stop
449449
//a long-running query is to cancel the statement. Note that
450450
//cancelling a statement in SQLite calls sqlite3_interrupt()
@@ -505,8 +505,8 @@ public void close(){
505505
//**************************************************************************
506506
//** getDatabase
507507
//**************************************************************************
508-
/** Returns connection information to the database. */
509-
508+
/** Returns connection information to the database.
509+
*/
510510
public Database getDatabase(){
511511
return this.Connection.getDatabase();
512512
}
@@ -526,11 +526,12 @@ public void setFetchSize(int fetchSize){
526526
if (fetchSize>0) this.fetchSize = fetchSize;
527527
}
528528

529+
529530
//**************************************************************************
530531
//** getConnection
531532
//**************************************************************************
532-
/** Returns the JDBC Connection used to create/open the recordset. */
533-
533+
/** Returns the JDBC Connection used to create/open the recordset.
534+
*/
534535
public Connection getConnection(){
535536
return Connection;
536537
}
@@ -1228,6 +1229,7 @@ public Field getField(int i){
12281229
}
12291230
}
12301231

1232+
12311233
//**************************************************************************
12321234
//** getValue
12331235
//**************************************************************************
@@ -1311,53 +1313,57 @@ public void setValue(String FieldName, Value FieldValue){
13111313
//**************************************************************************
13121314
//** SetValue
13131315
//**************************************************************************
1314-
/** Set Value with an Object value. */
1315-
1316+
/** Set Value with an Object value.
1317+
*/
13161318
public void setValue(String FieldName, Object FieldValue){
13171319
setValue(FieldName, new Value(FieldValue));
13181320
}
13191321

13201322
//**************************************************************************
13211323
//** SetValue
13221324
//**************************************************************************
1323-
/** Set Value with a Boolean value */
1324-
1325+
/** Set Value with a Boolean value
1326+
*/
13251327
public void setValue(String FieldName, boolean FieldValue){
13261328
setValue(FieldName, new Value(FieldValue));
13271329
}
13281330

1331+
13291332
//**************************************************************************
13301333
//** SetValue
13311334
//**************************************************************************
1332-
/** Set Value with a Long value */
1333-
1335+
/** Set Value with a Long value
1336+
*/
13341337
public void setValue(String FieldName, long FieldValue){
13351338
setValue(FieldName, new Value(FieldValue));
13361339
}
13371340

1341+
13381342
//**************************************************************************
13391343
//** SetValue
13401344
//**************************************************************************
1341-
/** Set Value with an Integer value */
1342-
1345+
/** Set Value with an Integer value
1346+
*/
13431347
public void setValue(String FieldName, int FieldValue){
13441348
setValue(FieldName, new Value(FieldValue));
13451349
}
13461350

1351+
13471352
//**************************************************************************
13481353
//** SetValue
13491354
//**************************************************************************
1350-
/** Set Value with a Double value */
1351-
1355+
/** Set Value with a Double value
1356+
*/
13521357
public void setValue(String FieldName, double FieldValue){
13531358
setValue(FieldName, new Value(FieldValue));
13541359
}
13551360

1361+
13561362
//**************************************************************************
13571363
//** SetValue
13581364
//**************************************************************************
1359-
/** Set Value with a Short value */
1360-
1365+
/** Set Value with a Short value
1366+
*/
13611367
public void setValue(String FieldName, short FieldValue){
13621368
setValue(FieldName, new Value(FieldValue));
13631369
}
@@ -1374,10 +1380,10 @@ public boolean hasNext(){
13741380

13751381

13761382
//**************************************************************************
1377-
//** MoveNext
1383+
//** moveNext
13781384
//**************************************************************************
1379-
/** Move the cursor to the next record in the recordset. */
1380-
1385+
/** Move the cursor to the next record in the recordset
1386+
*/
13811387
public boolean moveNext(){
13821388

13831389
if (EOF == true) return false;

0 commit comments

Comments
 (0)