Skip to content

Commit 8625fe9

Browse files
committed
remove unnecessary String.valueOf
1 parent 492fdd7 commit 8625fe9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/app/attestation/server/AttestationServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ private static void writeAttestationHistoryJson(final HttpExchange exchange, fin
11891189
"osEnforced, id FROM Attestations INNER JOIN Devices ON " +
11901190
"Attestations.fingerprint = Devices.fingerprint " +
11911191
"WHERE Devices.fingerprint = ? AND userid = ? " +
1192-
"AND Attestations.id <= ? ORDER BY id DESC LIMIT " + String.valueOf(HISTORY_PER_PAGE));
1192+
"AND Attestations.id <= ? ORDER BY id DESC LIMIT " + HISTORY_PER_PAGE);
11931193
history.bind(1, fingerprint);
11941194
history.bind(2, userAccount.userId);
11951195
history.bind(3, offsetId);

0 commit comments

Comments
 (0)