VIVO-870 Confirm that DocumentModifiers are thread-safe.

This commit is contained in:
j2blake 2015-01-12 18:08:37 -05:00
parent 6a49dbf7ec
commit 86f9714fb6

View file

@ -36,7 +36,7 @@ import edu.cornell.mannlib.vitro.webapp.utils.configuration.ContextModelsUser;
public class CalculateParameters implements DocumentModifier, ContextModelsUser { public class CalculateParameters implements DocumentModifier, ContextModelsUser {
private boolean shutdown = false; private boolean shutdown = false;
private Dataset dataset; private volatile Dataset dataset;
// public static int totalInd=1; // public static int totalInd=1;
private static final String prefix = "prefix owl: <http://www.w3.org/2002/07/owl#> " private static final String prefix = "prefix owl: <http://www.w3.org/2002/07/owl#> "