Skip to content

Commit 3e5c3d1

Browse files
authored
fix some quotes (#825)
1 parent e6d84cd commit 3e5c3d1

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

appengine-java8/datastore-indexes-exploding/src/test/java/com/example/appengine/IndexesServletTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void doGet_emptyDatastore_writesNoWidgets() throws Exception {
8686
.isEqualTo("Got 0 widgets.\n");
8787
}
8888

89-
@SuppressWarnings(VariableDeclarationUsageDistance)
89+
@SuppressWarnings("VariableDeclarationUsageDistance")
9090
@Test
9191
public void doGet_repeatedPropertyEntities_writesWidgets() throws Exception {
9292
DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();

appengine-java8/firebase-event-proxy/src/main/java/com/example/GaeFirebaseEventProxy/FirebaseEventProxy.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public FirebaseEventProxy() {
6666
/**
6767
* start the proxy.
6868
*/
69-
@SuppressWarnings(VariableDeclarationUsageDistance)
69+
@SuppressWarnings("VariableDeclarationUsageDistance")
7070
public void start() {
7171
DatabaseReference firebase = FirebaseDatabase.getInstance().getReference();
7272

appengine-java8/guestbook-cloud-datastore/src/main/java/com/example/guestbook/Greeting.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import java.util.Date;
2929
import java.util.Objects;
3030

31-
@SuppressWarnings(JavadocMethod)
31+
@SuppressWarnings("JavadocMethod")
3232
public class Greeting {
3333

3434
private Guestbook book;

appengine-java8/guestbook-cloud-datastore/src/main/java/com/example/guestbook/Guestbook.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import java.util.Objects;
3333

3434
//[START all]
35-
@SuppressWarnings(JavadocMethod)
35+
@SuppressWarnings("JavadocMethod")
3636
public class Guestbook {
3737

3838
private static final KeyFactory keyFactory = getKeyFactory(Guestbook.class);

appengine-java8/guestbook-cloud-datastore/src/main/java/com/example/guestbook/Persistence.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class Persistence {
2424

2525
private static AtomicReference<Datastore> datastore = new AtomicReference<>();
2626

27-
@SuppressWarnings(JavadocMethod)
27+
@SuppressWarnings("JavadocMethod")
2828
public static Datastore getDatastore() {
2929
if (datastore.get() == null) {
3030
datastore.set(

appengine-java8/mailgun/src/main/java/com/example/appengine/mailgun/MailgunServlet.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOEx
5151
}
5252

5353
// [START simple]
54-
@SuppressWarnings(VariableDeclarationUsageDistance)
54+
@SuppressWarnings("VariableDeclarationUsageDistance")
5555
private ClientResponse sendSimpleMessage(String recipient) {
5656
Client client = Client.create();
5757
client.addFilter(new HTTPBasicAuthFilter("api", MAILGUN_API_KEY));
@@ -69,7 +69,7 @@ private ClientResponse sendSimpleMessage(String recipient) {
6969
// [END simple]
7070

7171
// [START complex]
72-
@SuppressWarnings(VariableDeclarationUsageDistance)
72+
@SuppressWarnings("VariableDeclarationUsageDistance")
7373
private ClientResponse sendComplexMessage(String recipient) {
7474
Client client = Client.create();
7575
client.addFilter(new HTTPBasicAuthFilter("api", MAILGUN_API_KEY));

appengine-java8/metadata/src/main/java/com/example/appengine/standard/MetadataServlet.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434

3535
// [START example]
36-
@SuppressWarnings({"serial"})
36+
@SuppressWarnings("serial")
3737
// With @WebServlet annotation the webapp/WEB-INF/web.xml is no longer required.
3838
@WebServlet(name = "Metadata", description = "Metadata: Write info about GAE Standard",
3939
urlPatterns = "/metadata")

0 commit comments

Comments
 (0)