Skip to content

Commit d587b36

Browse files
authored
Fix bad formatting (#823)
Most of @tswast asks are done. <li> doesn’t need to be closed I decided to go w/ broken URL’s, but better so at least the main link would work. They are way too long.
1 parent b656433 commit d587b36

File tree

40 files changed

+64
-90
lines changed

40 files changed

+64
-90
lines changed

.editorconfig

Lines changed: 0 additions & 19 deletions
This file was deleted.

appengine-java8/analytics/src/main/java/com/example/appengine/analytics/AnalyticsServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2015 Google Inc.
33
*
44
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file

appengine-java8/bigtable/src/main/java/com/example/bigtable/BigtableHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2015 Google Inc.
33
*
44
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file

appengine-java8/bigtable/src/test/java/com/example/bigtable/ITBigtableHelloWorld.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2016 Google Inc.
33
*
44
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file

appengine-java8/datastore/src/test/java/com/example/appengine/EntitiesTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,11 @@
4646
@RunWith(JUnit4.class)
4747
public class EntitiesTest {
4848

49+
// Set no eventual consistency, that way queries return all results.
50+
// https://cloud.google.com/appengine/docs/java/tools/localunittesting
51+
// #Java_Writing_High_Replication_Datastore_tests
4952
private final LocalServiceTestHelper helper =
5053
new LocalServiceTestHelper(
51-
// Set no eventual consistency, that way queries return all results.
52-
// https://cloud.google
53-
// .com/appengine/docs/java/tools/localunittesting
54-
// #Java_Writing_High_Replication_Datastore_tests
5554
new LocalDatastoreServiceTestConfig()
5655
.setDefaultHighRepJobPolicyUnappliedJobPercentage(0));
5756

appengine-java8/datastore/src/test/java/com/example/appengine/GuestbookStrongTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,11 @@ public class GuestbookStrongTest {
3939
private static final Instant FAKE_NOW = new Instant(1234567890L);
4040
private static final String GUESTBOOK_ID = "my guestbook";
4141

42+
// Set maximum eventual consistency.
43+
// https://cloud.google.com/appengine/docs/java/tools/localunittesting
44+
// #Java_Writing_High_Replication_Datastore_tests
4245
private final LocalServiceTestHelper helper =
4346
new LocalServiceTestHelper(
44-
// Set maximum eventual consistency.
45-
// https://cloud.google
46-
// .com/appengine/docs/java/tools/localunittesting
47-
// #Java_Writing_High_Replication_Datastore_tests
4847
new LocalDatastoreServiceTestConfig()
4948
.setDefaultHighRepJobPolicyUnappliedJobPercentage(100),
5049
// Make sure there is a user logged in. We enforce this in web.xml.

appengine-java8/datastore/src/test/java/com/example/appengine/GuestbookTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,11 @@ public boolean shouldRollForwardExistingJob(Key entityGroup) {
5555
}
5656
}
5757

58+
// Set custom, deterministic, eventual consistency.
59+
// https://cloud.google.com/appengine/docs/java/tools/localunittesting
60+
// #Java_Writing_High_Replication_Datastore_tests
5861
private final LocalServiceTestHelper helper =
5962
new LocalServiceTestHelper(
60-
// Set custom, deterministic, eventual consistency.
61-
// https://cloud.google
62-
// .com/appengine/docs/java/tools/localunittesting
63-
// #Java_Writing_High_Replication_Datastore_tests
6463
new LocalDatastoreServiceTestConfig()
6564
.setAlternateHighRepJobPolicyClass(CustomHighRepJobPolicy.class),
6665
// Make sure there is a user logged in. We enforce this in web.xml.

appengine-java8/datastore/src/test/java/com/example/appengine/IndexesTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,11 @@
4343
@RunWith(JUnit4.class)
4444
public class IndexesTest {
4545

46+
// Set no eventual consistency, that way queries return all results.
47+
// https://cloud.google.com/appengine/docs/java/tools/localunittesting
48+
// #Java_Writing_High_Replication_Datastore_tests
4649
private final LocalServiceTestHelper helper =
4750
new LocalServiceTestHelper(
48-
// Set no eventual consistency, that way queries return all results.
49-
// https://cloud.google
50-
// .com/appengine/docs/java/tools/localunittesting
51-
// #Java_Writing_High_Replication_Datastore_tests
5251
new LocalDatastoreServiceTestConfig()
5352
.setDefaultHighRepJobPolicyUnappliedJobPercentage(0));
5453

appengine-java8/datastore/src/test/java/com/example/appengine/ListPeopleServletTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,11 @@ public class ListPeopleServletTest {
7474
.add("Tango")
7575
.build();
7676

77+
// Set no eventual consistency, that way queries return all results.
78+
// https://cloud.google.com/appengine/docs/java/tools/localunittesting
79+
// #Java_Writing_High_Replication_Datastore_tests
7780
private final LocalServiceTestHelper helper =
7881
new LocalServiceTestHelper(
79-
// Set no eventual consistency, that way queries return all results.
80-
// https://cloud.google
81-
// .com/appengine/docs/java/tools/localunittesting
82-
// #Java_Writing_High_Replication_Datastore_tests
8382
new LocalDatastoreServiceTestConfig()
8483
.setDefaultHighRepJobPolicyUnappliedJobPercentage(0));
8584

appengine-java8/datastore/src/test/java/com/example/appengine/MetadataEntityGroupTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,11 @@
4848
@RunWith(JUnit4.class)
4949
public class MetadataEntityGroupTest {
5050

51+
// Set no eventual consistency, that way queries return all results.
52+
// https://cloud.google.com/appengine/docs/java/tools/localunittesting
53+
// #Java_Writing_High_Replication_Datastore_tests
5154
private final LocalServiceTestHelper helper =
5255
new LocalServiceTestHelper(
53-
// Set no eventual consistency, that way queries return all results.
54-
// https://cloud.google
55-
// .com/appengine/docs/java/tools/localunittesting
56-
// #Java_Writing_High_Replication_Datastore_tests
5756
new LocalDatastoreServiceTestConfig().setDefaultHighRepJobPolicyUnappliedJobPercentage(0),
5857
new LocalMemcacheServiceTestConfig());
5958

0 commit comments

Comments
 (0)