This is an automated email from the ASF dual-hosted git repository.

nacx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jclouds.git


The following commit(s) were added to refs/heads/master by this push:
     new 4f2f8a8ef1 Tentative fix for 
https://issues.apache.org/jira/browse/JCLOUDS-1643 (#214)
4f2f8a8ef1 is described below

commit 4f2f8a8ef1cfa4242074c7cc0fbb60a5445090b8
Author: Fabien Viale <[email protected]>
AuthorDate: Sat Dec 21 14:26:51 2024 +0100

    Tentative fix for https://issues.apache.org/jira/browse/JCLOUDS-1643 (#214)
    
    org.jclouds.googlecomputeengine.domain.Warning: Add nullable annotation to 
code and data attributes
---
 .../src/main/java/org/jclouds/googlecomputeengine/domain/Warning.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/providers/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/domain/Warning.java
 
b/providers/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/domain/Warning.java
index ec2f4b9d2c..a28a159a7b 100644
--- 
a/providers/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/domain/Warning.java
+++ 
b/providers/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/domain/Warning.java
@@ -26,9 +26,9 @@ import com.google.auto.value.AutoValue;
 @AutoValue
 public abstract class Warning {
 
-   public abstract String code();
+   @Nullable public abstract String code();
    @Nullable public abstract String message();
-   public abstract List<KeyValuePair> data();
+   @Nullable public abstract List<KeyValuePair> data();
 
    @SerializedNames({"code", "message", "data"})
    public static Warning create(String code, String message, 
List<KeyValuePair> data){

Reply via email to