Skip to content

Commit 8e9e142

Browse files
committed
Comsetic changes.
1 parent 1b78e23 commit 8e9e142

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

google-cloud-examples/src/main/java/com/google/cloud/examples/datastore/snippets/TransactionSnippets.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public boolean getMultiple() {
115115
// For tests.
116116
// TODO: Consider putting this block inside the try statement above so users can see the
117117
// expected output without even having to run the snippet.
118-
boolean consistent = (result != null);
118+
boolean consistent = result != null;
119119
if (consistent) {
120120
Entity entityFirst = result.next();
121121
Entity entitySecond = result.next();
@@ -214,7 +214,6 @@ public boolean run() {
214214
.build();
215215

216216
QueryResults<Entity> result = null;
217-
Entity first = null;
218217

219218
// Run the query
220219
try {

0 commit comments

Comments
 (0)