Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some quotes #825

Merged
merged 1 commit into from
Aug 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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