Skip to content

Commit

Permalink
fix some quotes (#825)
Browse files Browse the repository at this point in the history
  • Loading branch information
lesv authored Aug 23, 2017
1 parent e6d84cd commit 3e5c3d1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void doGet_emptyDatastore_writesNoWidgets() throws Exception {
.isEqualTo("Got 0 widgets.\n");
}

@SuppressWarnings(VariableDeclarationUsageDistance)
@SuppressWarnings("VariableDeclarationUsageDistance")
@Test
public void doGet_repeatedPropertyEntities_writesWidgets() throws Exception {
DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public FirebaseEventProxy() {
/**
* start the proxy.
*/
@SuppressWarnings(VariableDeclarationUsageDistance)
@SuppressWarnings("VariableDeclarationUsageDistance")
public void start() {
DatabaseReference firebase = FirebaseDatabase.getInstance().getReference();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import java.util.Date;
import java.util.Objects;

@SuppressWarnings(JavadocMethod)
@SuppressWarnings("JavadocMethod")
public class Greeting {

private Guestbook book;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import java.util.Objects;

//[START all]
@SuppressWarnings(JavadocMethod)
@SuppressWarnings("JavadocMethod")
public class Guestbook {

private static final KeyFactory keyFactory = getKeyFactory(Guestbook.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class Persistence {

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

@SuppressWarnings(JavadocMethod)
@SuppressWarnings("JavadocMethod")
public static Datastore getDatastore() {
if (datastore.get() == null) {
datastore.set(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOEx
}

// [START simple]
@SuppressWarnings(VariableDeclarationUsageDistance)
@SuppressWarnings("VariableDeclarationUsageDistance")
private ClientResponse sendSimpleMessage(String recipient) {
Client client = Client.create();
client.addFilter(new HTTPBasicAuthFilter("api", MAILGUN_API_KEY));
Expand All @@ -69,7 +69,7 @@ private ClientResponse sendSimpleMessage(String recipient) {
// [END simple]

// [START complex]
@SuppressWarnings(VariableDeclarationUsageDistance)
@SuppressWarnings("VariableDeclarationUsageDistance")
private ClientResponse sendComplexMessage(String recipient) {
Client client = Client.create();
client.addFilter(new HTTPBasicAuthFilter("api", MAILGUN_API_KEY));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@


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

0 comments on commit 3e5c3d1

Please sign in to comment.