Skip to content

Commit 6c83421

Browse files
author
litongjava
committed
chage in to Integer of Fortune
1 parent 85376c3 commit 6c83421

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

frameworks/Java/tio-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ tio-server-benchmark
100100

101101
-windows
102102
```
103-
D:\java\jdk1.8.0_121\bin\java -jar target\tio-server-benchmark-1.0.jar --JDBC_URL=jdbc:mysql://192.168.3.9/hello_world --jdbc.user=root --JDBC_PSWD=robot_123456#
103+
D:\java\jdk1.8.0_121\bin\java -jar target\tio-server-benchmark-1.0.jar --JDBC_URL=jdbc:mysql://192.168.3.9/hello_world --JDBC_USER=root --JDBC_PSWD=robot_123456#
104104
```
105105
or
106106
```

frameworks/Java/tio-server/src/main/java/com/litongjava/tio/http/server/model/Fortune.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
public final class Fortune {
44

5-
public int id;
5+
public Integer id;
66
public String message;
77

88
public Fortune() {
99
}
1010

11-
public Fortune(int id, String message) {
11+
public Fortune(Integer id, String message) {
1212
this.id = id;
1313
this.message = message;
1414
}
1515

16-
public int getId() {
16+
public Integer getId() {
1717
return id;
1818
}
1919

0 commit comments

Comments
 (0)