[JAVA-4209] Add support for void types in Pojo's Created: 25/Jun/21  Updated: 28/Oct/23  Resolved: 25/Jun/21

Status: Closed
Project: Java Driver
Component/s: POJO
Affects Version/s: None
Fix Version/s: 4.3.0

Type: Improvement Priority: Unknown
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates JAVA-4119 NPE in PojoBuilderHelper where static... Closed

 Description   

class Model {
    public static void getExpiredAt$annotations() {
    }
} 

https://github.com/mongodb/mongo-java-driver/pull/733



 Comments   
Comment by Githook User [ 25/Jun/21 ]

Author:

{'name': 'RobX', 'email': 'robxyy@gmail.com', 'username': 'robxyy'}

Message: Add Pojo support for the primitive type 'void'

JAVA-4209
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/56e8e1bbb98f6a9c2bdcd794ebfaf7221818d67b

Comment by Ross Lawley [ 25/Jun/21 ]

The example has provided the need to support / not error where the voids are used in non static scenarios.

Generated at Thu Feb 08 09:01:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.