![JAR search and dependency download from the Maven repository](/logo.png)
no.difi.certvalidator.util.DummyReport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-certvalidator Show documentation
Show all versions of commons-certvalidator Show documentation
Rule engine for creation of certificate validator.
package no.difi.certvalidator.util;
import no.difi.certvalidator.api.Property;
import no.difi.certvalidator.api.Report;
import java.util.Collections;
import java.util.Set;
/**
* @author erlend
*/
public class DummyReport implements Report {
public static final DummyReport INSTANCE = new DummyReport();
private DummyReport() {
// No action.
}
@Override
public boolean contains(Property key) {
return false;
}
@Override
public void set(Property key, T value) {
// No action.
}
@Override
public T get(Property key) {
return null;
}
@Override
public Set keys() {
return Collections.emptySet();
}
@Override
public Report copy() {
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy