Comments (6)
I want to contribute, to add empty constructors to DTOs. But please suggest me which DTO classes are where can I find those. This will be my first contribution if you kindly help.
from java.
The following classes caused troubles in our case:
- src/main/java/com/pubnub/api/models/SubscriptionItem.java
- src/main/java/com/pubnub/api/models/consumer/PNBoundedPage.java
- src/main/java/com/pubnub/api/models/consumer/PNErrorData.java
- src/main/java/com/pubnub/api/models/consumer/PNPage.java
- src/main/java/com/pubnub/api/models/consumer/PNPublishResult.java
- src/main/java/com/pubnub/api/models/consumer/PNStatus.java
- src/main/java/com/pubnub/api/models/consumer/PNTimeResult.java
- src/main/java/com/pubnub/api/models/consumer/access_manager/PNAccessManagerGrantResult.java
- src/main/java/com/pubnub/api/models/consumer/access_manager/PNAccessManagerKeyData.java
- src/main/java/com/pubnub/api/models/consumer/access_manager/PNAccessManagerKeysData.java
- src/main/java/com/pubnub/api/models/consumer/access_manager/sum/SpacePermissions.java
- src/main/java/com/pubnub/api/models/consumer/access_manager/v3/PNGrantTokenResult.java
- src/main/java/com/pubnub/api/models/server/DeleteMessagesEnvelope.java
- src/main/java/com/pubnub/api/models/server/Envelope.java
- src/main/java/com/pubnub/api/models/server/FetchMessagesEnvelope.java
- src/main/java/com/pubnub/api/models/server/OriginationMetaData.java
- src/main/java/com/pubnub/api/models/server/PresenceEnvelope.java
- src/main/java/com/pubnub/api/models/server/PublishMetaData.java
- src/main/java/com/pubnub/api/models/server/SubscribeEnvelope.java
- src/main/java/com/pubnub/api/models/server/SubscribeMessage.java
- src/main/java/com/pubnub/api/models/server/SubscribeMetadata.java
- src/main/java/com/pubnub/api/models/server/presence/WhereNowPayload.java
from java.
Do you mean to do this only in all files?
public class SubscriptionItem {
private String name;
private Object state;
public SubscriptionItem();
}
from java.
It would also be possible to do this with a Lombok annotation. This would look something like this
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SubscribeMessage {
@AllArgsConstructor
is needed for the @Builder
I think.
from java.
Thank you all. We will look into it
from java.
Is this issue still open? I would like to work on this if it is.
from java.
Related Issues (20)
- unsubcription fails HOT 13
- 3.5.6 now available
- GAE integration broken HOT 3
- StrictMode VM Policy violation HOT 1
- Multiple instances HOT 7
- Thread safety HOT 2
- 3.6.0 Released for Java
- allow disabling logs by BuildConfig HOT 1
- https://github.com/pubnub/java/blob/master/android/examples/SubscribeAtBoot/src/com/pubnub/examples/subscribeAtBoot/PubnubService.java#L22 HOT 1
- Never unregister a Receiver HOT 2
- NetworkOnMainThreadException HOT 5
- Message
- I ended up using 3.3 in the GAE_3.3 branch. The issue above refers to the 3.4 code (also in the same branch). HOT 1
- ee
- Cannot access message_type in PNFetchMessageItem HOT 2
- H
- Flagged Crypto.java Security vulnerability HOT 1
- Potential CWE-327
- Cryptographic Standard Algorithms Security vulnerability spotted in FileEncryptionUtilKT.kt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java.