Removing unnecessary branch in execution, which is handled by the following code

This patch fixes difference in producing POJOs with non-public constructor and no setters and POJOs with non-public constructor and setters.