Skip to content

Commit 4b6dc4d

Browse files
ludochgae-java-bot
authored andcommitted
Update App Engine API dependencies and build configurations. Corrected Javadoc tags in Blobstore API. Added missing imports in BlobstoreService as well as in appengine-stub-apis. Simplified Javadoc link in Datastore. Removed an unused Guava dependency. Added the maven-source-plugin to several modules (protobuf, runtime_shared, sessiondata, utils) to ensure source jars are attached during the build. Also fixed mockito warnings during the Maven build.
PiperOrigin-RevId: 850130894 Change-Id: I705ce1e3e3baab4a89379c3fa23cf963fe1dbb87
1 parent 7823908 commit 4b6dc4d

File tree

33 files changed

+198
-112
lines changed

33 files changed

+198
-112
lines changed

api/src/main/java/com/google/appengine/api/blobstore/UploadOptions.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public boolean hasMaxUploadSizeBytesPerBlob() {
5757
}
5858

5959
/**
60-
* @returns the maximum upload size per blob.
60+
* @return the maximum upload size per blob.
6161
*/
6262
public long getMaxUploadSizeBytesPerBlob() {
6363
if (maxUploadSizeBytesPerBlob == null) {
@@ -86,7 +86,7 @@ public boolean hasMaxUploadSizeBytes() {
8686
}
8787

8888
/**
89-
* @returns the maximum upload size.
89+
* @return the maximum upload size.
9090
*/
9191
public long getMaxUploadSizeBytes() {
9292
if (maxUploadSizeBytes == null) {
@@ -106,7 +106,7 @@ public boolean hasGoogleStorageBucketName() {
106106
}
107107

108108
/**
109-
* @returns the storage bucket name.
109+
* @return the storage bucket name.
110110
*/
111111
public String getGoogleStorageBucketName() {
112112
if (gsBucketName == null) {

api/src/main/java/com/google/appengine/api/blobstore/jakarta/BlobstoreService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@
1818

1919
import com.google.appengine.api.blobstore.BlobInfo;
2020
import com.google.appengine.api.blobstore.BlobKey;
21+
import com.google.appengine.api.blobstore.BlobstoreFailureException;
2122
import com.google.appengine.api.blobstore.ByteRange;
2223
import com.google.appengine.api.blobstore.FileInfo;
24+
import com.google.appengine.api.blobstore.RangeFormatException;
25+
import com.google.appengine.api.blobstore.UnsupportedRangeFormatException;
2326
import com.google.appengine.api.blobstore.UploadOptions;
2427
import jakarta.servlet.http.HttpServletRequest;
2528
import jakarta.servlet.http.HttpServletResponse;

api/src/main/java/com/google/appengine/api/datastore/EntityProtoComparators.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public final class EntityProtoComparators {
3838
BaseEntityComparator.MULTI_TYPE_COMPARATOR;
3939

4040
/**
41-
* A comparator for {@link com.google.storage.onestore.v3.OnestoreEntity.EntityProto} objects with
41+
* A comparator for {@link EntityProto} objects with
4242
* the same ordering as {@link EntityComparator}.
4343
*/
4444
public static final class EntityProtoComparator

api_dev/src/main/java/com/google/appengine/api/datastore/dev/DefaultHighRepJobPolicy.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public class DefaultHighRepJobPolicy implements HighRepJobPolicy {
3838
"datastore.default_high_rep_job_policy_random_seed";
3939

4040
/**
41-
* A float >= 0 and <= 100 representing the percentage of job application attempts that will fail.
41+
* A float &gt;= 0 and &lt;= 100 representing the percentage of job application
42+
* attempts that will fail.
4243
* Must be parsable via {@link Float#parseFloat(String)}. Any portion of the value beyond two
4344
* decimal places will be truncated. If not provided we set the percentage to 0.
4445
*/

api_dev/src/main/java/com/google/appengine/api/datastore/dev/PropertyType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* with the field for the given type set to minimum and human-readable
3535
* placeholder values.
3636
*
37-
* @see OnestoreEntity.PropertyValue
37+
* @see PropertyValue
3838
*
3939
*/
4040
public enum PropertyType {

api_dev/src/main/java/com/google/appengine/tools/development/BackendContainer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public interface BackendContainer {
3737
/**
3838
* Start all backend instances.
3939
*
40-
* @param backendsXml Parsed backends.xml file with servers configuration
4140
* @throws Exception
4241
*/
4342
public void startupAll() throws Exception;

api_dev/src/main/java/com/google/appengine/tools/development/ContainerService.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
import java.util.Map;
2424

2525
/**
26-
* Provides the backing servlet container support for the {@link DevAppServer},
27-
* as discovered via {@link ServiceProvider}.
26+
* Provides the backing servlet container support for the {@link
27+
* com.google.appengine.tools.development.DevAppServer}, as discovered via
28+
* ServiceProvider.
2829
* <p>
2930
* More specifically, this interface encapsulates the interactions between the
3031
* {@link DevAppServer} and the underlying servlet container, which by default

api_dev/src/main/java/com/google/appengine/tools/development/ContainerServiceEE8.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
import javax.servlet.http.HttpServletResponse;
2323

2424
/**
25-
* Provides the backing servlet container support for the {@link DevAppServer}, as discovered via
26-
* {@link ServiceProvider}.
25+
* Provides the backing servlet container support for the {@link
26+
* com.google.appengine.tools.development.DevAppServer}, as discovered via
27+
* ServiceProvider.
2728
*
2829
* <p>More specifically, this interface encapsulates the interactions between the {@link
2930
* DevAppServer} and the underlying servlet container, which by default uses Jetty.

api_dev/src/main/java/com/google/appengine/tools/development/DelegatingModulesFilterHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
/**
2020
* A {@link ModulesFilterHelper} for delegating requests to either
21-
* {@link BackendServers} for backends or {@link Modules} for module instances.
21+
* {@link BackendServersBase} for backends or {@link Modules} for module instances.
2222
*/
2323
public class DelegatingModulesFilterHelper implements ModulesFilterHelper {
2424

api_dev/src/main/java/com/google/appengine/tools/development/LocalHttpRequestEnvironment.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
* This sets {@link LocalEnvironment#getAttributes()} from
2828
* <ol>
2929
* <li> Authentication details from the cookie that is maintained
30-
* by the stub implementation of {@link UserService}
30+
* by the stub implementation of {@link
31+
* com.google.appengine.api.users.UserService}
3132
* </li>
3233
* <li> The passed in {@link ModulesFilterHelper}. </li>
3334
* </ol>

0 commit comments

Comments
 (0)