package org.verapdf.metadata.fixer.impl.fixer;

import org.verapdf.metadata.fixer.impl.MetadataFixerImpl;

/**
 * @author Evgeniy Muravitskiy
 */
public enum MetadataFixerEnum {

	BOX_INSTANCE(new PBoxMetadataFixerImpl());

	private final MetadataFixerImpl instance;

	MetadataFixerEnum(MetadataFixerImpl instance) {
		this.instance = instance;
	}

	public MetadataFixerImpl getInstance() {
		return this.instance;
	}
}

package org.verapdf.metadata.fixer.impl.fixer;

import org.verapdf.metadata.fixer.impl.MetadataFixerImpl;

/**
 * @author Evgeniy Muravitskiy
 */
public enum MetadataFixerEnum {

	BOX_INSTANCE(new PBoxMetadataFixerImpl());

	private final transient MetadataFixerImpl instance;

	MetadataFixerEnum(MetadataFixerImpl instance) {
		this.instance = instance;
	}

	public MetadataFixerImpl getInstance() {
		return this.instance;
	}
}

Add transient qualifier for enum