public interface Bean extends Serializable {
}
This is the class:public class Data implements Bean {}
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/4080fc86-1841-4529-91e9-f19f83096b27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
public class Error implements Bean {
public Data data;
public Data2 data2;
}
But when the "Data2" implements in the same way an interface that is extend the Serializable we got this problem. The other artifact (with the ServiceBean) is an aar type dependency.import other.artifact.ServiceBean;
public class Data2 implements ServiceBean {
}public interface ServiceBean extends Serializable {
}

public interface Foo extends Serializable { ...}
public class MyException extends Exception { private final Foo foo; ^^^^^^^^^^^^^^^^^^^^^^--------------------------------------- | Make "errorType" transient or serializable. (squid:S1948) | -------------------------------------------------------------
public MyException(Foo foo) { this.foo = foo; }}--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/ac9a2071-c3a6-407d-9555-cbbe5254dfad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.