diff --git a/core/common-util/src/main/java/datawave/security/authorization/DatawavePrincipal.java b/core/common-util/src/main/java/datawave/security/authorization/DatawavePrincipal.java index e5cb776f99f..0a151843b62 100644 --- a/core/common-util/src/main/java/datawave/security/authorization/DatawavePrincipal.java +++ b/core/common-util/src/main/java/datawave/security/authorization/DatawavePrincipal.java @@ -28,7 +28,7 @@ @XmlAccessorType(XmlAccessType.NONE) public class DatawavePrincipal implements ProxiedUserDetails, Principal, Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -4882226447158615343L; private final String username; private final DatawaveUser primaryUser; @XmlElement diff --git a/core/common/src/main/java/datawave/core/common/extjs/ExtJsResponse.java b/core/common/src/main/java/datawave/core/common/extjs/ExtJsResponse.java index d92feee8cbb..1cefabf535a 100644 --- a/core/common/src/main/java/datawave/core/common/extjs/ExtJsResponse.java +++ b/core/common/src/main/java/datawave/core/common/extjs/ExtJsResponse.java @@ -13,7 +13,7 @@ @XmlAccessorType(XmlAccessType.FIELD) public class ExtJsResponse extends BaseQueryResponse { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 2957709211965763347L; private List data; private int total; diff --git a/core/connection-pool/src/main/java/datawave/core/common/cache/BaseTableCache.java b/core/connection-pool/src/main/java/datawave/core/common/cache/BaseTableCache.java index e662b70f4fb..dfaf71a603c 100644 --- a/core/connection-pool/src/main/java/datawave/core/common/cache/BaseTableCache.java +++ b/core/connection-pool/src/main/java/datawave/core/common/cache/BaseTableCache.java @@ -38,7 +38,7 @@ public class BaseTableCache implements Serializable, TableCache { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -5849784584173005890L; private final transient Logger log = Logger.getLogger(this.getClass()); diff --git a/core/connection-pool/src/main/java/datawave/core/common/cache/SharedCacheCoordinator.java b/core/connection-pool/src/main/java/datawave/core/common/cache/SharedCacheCoordinator.java index ac322004e26..43679f9898b 100644 --- a/core/connection-pool/src/main/java/datawave/core/common/cache/SharedCacheCoordinator.java +++ b/core/connection-pool/src/main/java/datawave/core/common/cache/SharedCacheCoordinator.java @@ -47,7 +47,7 @@ public interface EvictionCallback { void evict(String dn); } - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -25185425479055590L; private static final String LIVE_SERVERS = "/liveServers"; private static final long EVICT_MESSAGE_TIMEOUT = 60 * 1000L; diff --git a/core/connection-pool/src/main/java/datawave/core/common/result/AccumuloTableCacheStatus.java b/core/connection-pool/src/main/java/datawave/core/common/result/AccumuloTableCacheStatus.java index ac7a0f52798..d4987278248 100644 --- a/core/connection-pool/src/main/java/datawave/core/common/result/AccumuloTableCacheStatus.java +++ b/core/connection-pool/src/main/java/datawave/core/common/result/AccumuloTableCacheStatus.java @@ -19,7 +19,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class AccumuloTableCacheStatus extends BaseResponse implements HtmlProvider { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -4434127659799676913L; private static final String TITLE = "Accumulo Table Cache Status", EMPTY = ""; @XmlElementWrapper(name = "TableCaches") diff --git a/core/connection-pool/src/main/java/datawave/core/common/result/Connection.java b/core/connection-pool/src/main/java/datawave/core/common/result/Connection.java index ad234db4cb1..f5d66fd948f 100644 --- a/core/connection-pool/src/main/java/datawave/core/common/result/Connection.java +++ b/core/connection-pool/src/main/java/datawave/core/common/result/Connection.java @@ -19,7 +19,7 @@ @XmlAccessorType(XmlAccessType.NONE) public class Connection implements Serializable, Comparable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -2003281391380863328L; @XmlAttribute private String state = null; diff --git a/core/connection-pool/src/main/java/datawave/core/common/result/ConnectionFactoryResponse.java b/core/connection-pool/src/main/java/datawave/core/common/result/ConnectionFactoryResponse.java index 613d79697f8..bf409385b69 100644 --- a/core/connection-pool/src/main/java/datawave/core/common/result/ConnectionFactoryResponse.java +++ b/core/connection-pool/src/main/java/datawave/core/common/result/ConnectionFactoryResponse.java @@ -25,7 +25,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class ConnectionFactoryResponse extends BaseResponse implements HtmlProvider { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 6113726446236223919L; private static final String TITLE = "Accumulo Connection Factory Metrics", EMPTY = ""; @XmlElementWrapper(name = "ConnectionPools") diff --git a/core/connection-pool/src/main/java/datawave/core/common/result/ConnectionPool.java b/core/connection-pool/src/main/java/datawave/core/common/result/ConnectionPool.java index fc453a9ef8d..c1383d6ffa4 100644 --- a/core/connection-pool/src/main/java/datawave/core/common/result/ConnectionPool.java +++ b/core/connection-pool/src/main/java/datawave/core/common/result/ConnectionPool.java @@ -17,7 +17,7 @@ @XmlAccessorType(XmlAccessType.NONE) public class ConnectionPool implements Serializable, Comparable { - private static final long serialVersionUID = 2L; + private static final long serialVersionUID = -1080014568240669701L; public enum Priority { ADMIN, HIGH, NORMAL, LOW diff --git a/core/connection-pool/src/main/java/datawave/core/common/result/ConnectionProperty.java b/core/connection-pool/src/main/java/datawave/core/common/result/ConnectionProperty.java index 937aeea7e07..5f79b544751 100644 --- a/core/connection-pool/src/main/java/datawave/core/common/result/ConnectionProperty.java +++ b/core/connection-pool/src/main/java/datawave/core/common/result/ConnectionProperty.java @@ -13,7 +13,7 @@ @XmlAccessorType(XmlAccessType.NONE) public class ConnectionProperty implements Serializable, Comparable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -3008355929086673741L; @XmlAttribute(required = true) private String name = null; diff --git a/core/connection-pool/src/main/java/datawave/core/common/result/TableCacheDescription.java b/core/connection-pool/src/main/java/datawave/core/common/result/TableCacheDescription.java index ced34faed6c..e8acd3e988b 100644 --- a/core/connection-pool/src/main/java/datawave/core/common/result/TableCacheDescription.java +++ b/core/connection-pool/src/main/java/datawave/core/common/result/TableCacheDescription.java @@ -11,8 +11,7 @@ @XmlRootElement @XmlAccessorType(XmlAccessType.NONE) public class TableCacheDescription implements Serializable { - private static final long serialVersionUID = 1L; - + private static final long serialVersionUID = -2832954010469120174L; @XmlAttribute private String tableName = null; diff --git a/core/connection-pool/src/test/java/datawave/core/common/curator/TestSharedCacheCoordinator.java b/core/connection-pool/src/test/java/datawave/core/common/curator/TestSharedCacheCoordinator.java index 8d7a7d7dea6..019b875dd15 100644 --- a/core/connection-pool/src/test/java/datawave/core/common/curator/TestSharedCacheCoordinator.java +++ b/core/connection-pool/src/test/java/datawave/core/common/curator/TestSharedCacheCoordinator.java @@ -47,7 +47,7 @@ public interface EvictionCallback { void evict(String dn); } - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 849730389996326126L; private static final String LIVE_SERVERS = "/liveServers"; private static final long EVICT_MESSAGE_TIMEOUT = 60 * 1000L; diff --git a/core/query/src/main/java/datawave/core/query/exception/EmptyObjectException.java b/core/query/src/main/java/datawave/core/query/exception/EmptyObjectException.java index 39a18d85fed..f065daeda62 100644 --- a/core/query/src/main/java/datawave/core/query/exception/EmptyObjectException.java +++ b/core/query/src/main/java/datawave/core/query/exception/EmptyObjectException.java @@ -3,5 +3,5 @@ // used when a transformer gets a non-null empty object // and the TransformIterator should call next instead of returning null public class EmptyObjectException extends RuntimeException { - private static final long serialVersionUID = 1l; + private static final long serialVersionUID = 1545558691183965869L; } diff --git a/core/query/src/main/java/datawave/core/query/logic/composite/CompositeLogicException.java b/core/query/src/main/java/datawave/core/query/logic/composite/CompositeLogicException.java index 08e63cb05e6..80aaf24b3aa 100644 --- a/core/query/src/main/java/datawave/core/query/logic/composite/CompositeLogicException.java +++ b/core/query/src/main/java/datawave/core/query/logic/composite/CompositeLogicException.java @@ -7,7 +7,7 @@ import datawave.webservice.query.exception.QueryException; public class CompositeLogicException extends RuntimeException { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -1365648791651294460L; public CompositeLogicException(String message, String logicName, Exception exception) { super(getMessage(message, Collections.singletonMap(logicName, exception)), getRaisedQueryException(exception)); diff --git a/core/query/src/main/java/datawave/core/query/logic/composite/CompositeQueryConfiguration.java b/core/query/src/main/java/datawave/core/query/logic/composite/CompositeQueryConfiguration.java index 47d7cc4e7b4..1495ec11a6d 100644 --- a/core/query/src/main/java/datawave/core/query/logic/composite/CompositeQueryConfiguration.java +++ b/core/query/src/main/java/datawave/core/query/logic/composite/CompositeQueryConfiguration.java @@ -9,7 +9,7 @@ import datawave.microservice.query.QueryImpl; public class CompositeQueryConfiguration extends GenericQueryConfiguration implements Serializable { - private static final long serialVersionUID = 1l; + private static final long serialVersionUID = -1439235443475270042L; private Map configs = new HashMap<>(); diff --git a/core/query/src/main/java/datawave/core/query/predict/QueryPredictor.java b/core/query/src/main/java/datawave/core/query/predict/QueryPredictor.java index d75964dc425..c308b6cf6dc 100644 --- a/core/query/src/main/java/datawave/core/query/predict/QueryPredictor.java +++ b/core/query/src/main/java/datawave/core/query/predict/QueryPredictor.java @@ -14,7 +14,7 @@ public interface QueryPredictor { Set predict(T query) throws PredictionException; class PredictionException extends Exception implements Serializable { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 61150377750239886L; public PredictionException() { super(); diff --git a/warehouse/age-off-utils/src/main/java/datawave/age/off/util/RuleConfigDocument.java b/warehouse/age-off-utils/src/main/java/datawave/age/off/util/RuleConfigDocument.java index 5f4376789d3..630062554a3 100644 --- a/warehouse/age-off-utils/src/main/java/datawave/age/off/util/RuleConfigDocument.java +++ b/warehouse/age-off-utils/src/main/java/datawave/age/off/util/RuleConfigDocument.java @@ -13,7 +13,7 @@ * Creats a transformable node from an AgeOffRuleLoader.RuleConfig */ public class RuleConfigDocument extends DocumentImpl { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 8726547864456487943L; private static final String FILTER_CLASS_ELEMENT_NAME = "filterClass"; private static final String MATCH_PATTERN_ELEMENT_NAME = "matchPattern"; private static final String TTL_ELEMENT_NAME = "ttl"; diff --git a/warehouse/core/src/main/java/datawave/data/hash/UID.java b/warehouse/core/src/main/java/datawave/data/hash/UID.java index 2f4a6d90df6..956791ccc51 100644 --- a/warehouse/core/src/main/java/datawave/data/hash/UID.java +++ b/warehouse/core/src/main/java/datawave/data/hash/UID.java @@ -43,7 +43,7 @@ public abstract class UID implements Comparable, Comparator, Writable, private static final Logger LOGGER = Logger.getLogger(UID.class); - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 931768570469788255L; protected static final String[] EMPTY_EXTRAS = {}; protected static final String NULL = "" + null; diff --git a/warehouse/core/src/main/java/datawave/edge/model/EdgeModelFields.java b/warehouse/core/src/main/java/datawave/edge/model/EdgeModelFields.java index 5ff85dc7be5..636a3c3bf4d 100644 --- a/warehouse/core/src/main/java/datawave/edge/model/EdgeModelFields.java +++ b/warehouse/core/src/main/java/datawave/edge/model/EdgeModelFields.java @@ -30,7 +30,7 @@ public class EdgeModelFields implements Serializable { /** A mapping of field names to field keys */ private Map reverseMap = new HashMap<>(); - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 6506817448338233545L; public static String EQUALS = "=="; public static String EQUALS_REGEX = "=~"; diff --git a/warehouse/core/src/main/java/datawave/edge/protobuf/EdgeData.java b/warehouse/core/src/main/java/datawave/edge/protobuf/EdgeData.java index b72a01d9dfa..616af793873 100644 --- a/warehouse/core/src/main/java/datawave/edge/protobuf/EdgeData.java +++ b/warehouse/core/src/main/java/datawave/edge/protobuf/EdgeData.java @@ -694,7 +694,7 @@ public int getSerializedSize() { return size; } - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 780014719499307692L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { @@ -1564,7 +1564,7 @@ public int getSerializedSize() { return size; } - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 5507263779623468977L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { diff --git a/warehouse/core/src/main/java/datawave/ingest/protobuf/TermWeight.java b/warehouse/core/src/main/java/datawave/ingest/protobuf/TermWeight.java index 5313274d3e1..8668ac7ede5 100644 --- a/warehouse/core/src/main/java/datawave/ingest/protobuf/TermWeight.java +++ b/warehouse/core/src/main/java/datawave/ingest/protobuf/TermWeight.java @@ -459,7 +459,7 @@ public int getSerializedSize() { return size; } - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 7724463626444394328L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { diff --git a/warehouse/core/src/main/java/datawave/ingest/protobuf/Uid.java b/warehouse/core/src/main/java/datawave/ingest/protobuf/Uid.java index d1c3e42f2be..37ab9aa9456 100644 --- a/warehouse/core/src/main/java/datawave/ingest/protobuf/Uid.java +++ b/warehouse/core/src/main/java/datawave/ingest/protobuf/Uid.java @@ -441,7 +441,7 @@ public int getSerializedSize() { return size; } - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 6738742719412472702L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { diff --git a/warehouse/core/src/test/java/datawave/data/hash/UIDTest.java b/warehouse/core/src/test/java/datawave/data/hash/UIDTest.java index ae56914f6ef..bb86fe7f57b 100644 --- a/warehouse/core/src/test/java/datawave/data/hash/UIDTest.java +++ b/warehouse/core/src/test/java/datawave/data/hash/UIDTest.java @@ -477,7 +477,7 @@ public void testMiscellaneous() { * Test subclass akin to the StringUID */ private static class CustomHashUID extends HashUID { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 7205412670351903561L; public CustomHashUID(HashUID template, String... extras) { super(template, extras); @@ -498,7 +498,7 @@ public static HashUID parse(String s) { * Another test subclass akin to the StringUID */ private static class CustomSnowflakeUID extends SnowflakeUID { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = -5932468265046243486L; public CustomSnowflakeUID(SnowflakeUID template, String... extras) { super(template, extras); @@ -516,7 +516,7 @@ public static SnowflakeUID parse(String s) { } private class TestUID extends UID { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 3780105804452735276L; public TestUID(String prefix, boolean isPrefixOptional, String... extras) { super(prefix, isPrefixOptional, extras); diff --git a/warehouse/ingest-core/src/main/java/datawave/ingest/data/TypeRegistry.java b/warehouse/ingest-core/src/main/java/datawave/ingest/data/TypeRegistry.java index 98537561123..80503ff94df 100644 --- a/warehouse/ingest-core/src/main/java/datawave/ingest/data/TypeRegistry.java +++ b/warehouse/ingest-core/src/main/java/datawave/ingest/data/TypeRegistry.java @@ -53,7 +53,7 @@ public class TypeRegistry extends HashMap { public static final String OUTPUT_NAME = ".output.name"; - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -9186653395229072139L; private static TypeRegistry registry = null; diff --git a/warehouse/ingest-core/src/main/java/datawave/ingest/data/config/ingest/IngestFieldFilter.java b/warehouse/ingest-core/src/main/java/datawave/ingest/data/config/ingest/IngestFieldFilter.java index d4b336b3f47..0f6654344ac 100644 --- a/warehouse/ingest-core/src/main/java/datawave/ingest/data/config/ingest/IngestFieldFilter.java +++ b/warehouse/ingest-core/src/main/java/datawave/ingest/data/config/ingest/IngestFieldFilter.java @@ -47,7 +47,7 @@ public class IngestFieldFilter { private static final Logger logger = Logger.getLogger(IngestFieldFilter.class); - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 8288835090777714924L; @Deprecated public static final String FILTER_FIELD_SUFFIX = ".data.field.filter"; @@ -309,7 +309,7 @@ public Object setValue(Object value) { * A parsed field configuration ***************************************************************************/ class FieldConfiguration extends ArrayList implements List { - private static final long serialVersionUID = 0; + private static final long serialVersionUID = -6593828377509888969L; public FieldConfiguration() { diff --git a/warehouse/ingest-core/src/main/java/datawave/ingest/data/hash/StringUID.java b/warehouse/ingest-core/src/main/java/datawave/ingest/data/hash/StringUID.java index 6fcb1434c2f..25b8d3e1d21 100644 --- a/warehouse/ingest-core/src/main/java/datawave/ingest/data/hash/StringUID.java +++ b/warehouse/ingest-core/src/main/java/datawave/ingest/data/hash/StringUID.java @@ -15,7 +15,7 @@ public class StringUID extends HashUID { protected String innerUid = null; protected String shardedPortion = null; - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 9221118066352445606L; public StringUID(String uid) { innerUid = uid; diff --git a/warehouse/ingest-core/src/main/java/datawave/ingest/mapreduce/EventMapper.java b/warehouse/ingest-core/src/main/java/datawave/ingest/mapreduce/EventMapper.java index 9ab08df9df1..7c554139f55 100644 --- a/warehouse/ingest-core/src/main/java/datawave/ingest/mapreduce/EventMapper.java +++ b/warehouse/ingest-core/src/main/java/datawave/ingest/mapreduce/EventMapper.java @@ -776,7 +776,7 @@ public void processEvent(K1 key, RawRecordContainer value, List { private final Configuration conf; private final PartitionerCache partitionerCache; private final int reduceTasks; - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -1767994113482201024L; public TablePartitionerOffsets(Configuration conf, List tableNames, PartitionerCache partitionerCache) throws ClassNotFoundException { super(); diff --git a/warehouse/ingest-core/src/main/java/datawave/ingest/protobuf/RawRecordContainer.java b/warehouse/ingest-core/src/main/java/datawave/ingest/protobuf/RawRecordContainer.java index ab4b53314c9..cd40770f698 100644 --- a/warehouse/ingest-core/src/main/java/datawave/ingest/protobuf/RawRecordContainer.java +++ b/warehouse/ingest-core/src/main/java/datawave/ingest/protobuf/RawRecordContainer.java @@ -875,7 +875,7 @@ public int getSerializedSize() { return size; } - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 1837305830954470331L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { diff --git a/warehouse/ingest-core/src/test/java/datawave/ingest/mapreduce/TablePropertiesMap.java b/warehouse/ingest-core/src/test/java/datawave/ingest/mapreduce/TablePropertiesMap.java index 7e688c9ab09..3bbb6d86d6b 100644 --- a/warehouse/ingest-core/src/test/java/datawave/ingest/mapreduce/TablePropertiesMap.java +++ b/warehouse/ingest-core/src/test/java/datawave/ingest/mapreduce/TablePropertiesMap.java @@ -11,7 +11,7 @@ * The Accumulo table properties represented as a Map. */ public class TablePropertiesMap extends TreeMap { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -5825311588298970146L; public TablePropertiesMap(TableOperations tops, String tableName) throws AccumuloException, TableNotFoundException { for (Map.Entry entry : tops.getProperties(tableName)) { diff --git a/warehouse/query-core/src/main/java/datawave/core/iterators/ColumnRangeIterator.java b/warehouse/query-core/src/main/java/datawave/core/iterators/ColumnRangeIterator.java index b94ece69af5..186632a589b 100644 --- a/warehouse/query-core/src/main/java/datawave/core/iterators/ColumnRangeIterator.java +++ b/warehouse/query-core/src/main/java/datawave/core/iterators/ColumnRangeIterator.java @@ -194,7 +194,7 @@ protected Text getColumnStart() { } public static class ScanLimitReached extends RuntimeException { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -4309625828059464853L; private final Key lastKey; public ScanLimitReached(Key key, String message) { diff --git a/warehouse/query-core/src/main/java/datawave/core/iterators/querylock/ZookeeperQueryLock.java b/warehouse/query-core/src/main/java/datawave/core/iterators/querylock/ZookeeperQueryLock.java index 5e038d2a7bf..d270b6b2087 100644 --- a/warehouse/query-core/src/main/java/datawave/core/iterators/querylock/ZookeeperQueryLock.java +++ b/warehouse/query-core/src/main/java/datawave/core/iterators/querylock/ZookeeperQueryLock.java @@ -233,7 +233,7 @@ protected void finalize() throws Throwable { } public static class ZookeeperLockException extends Exception { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 3715643514712028373L; public ZookeeperLockException() { super(); diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/AttributeBag.java b/warehouse/query-core/src/main/java/datawave/query/attributes/AttributeBag.java index 4278f2235f9..9ba8a2b11f9 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/AttributeBag.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/AttributeBag.java @@ -16,7 +16,7 @@ public abstract class AttributeBag> extends Attribute implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -5961455715747661898L; private static final Logger log = Logger.getLogger(AttributeBag.class); protected long shardTimestamp = Long.MAX_VALUE; protected boolean validMetadata = false; diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/Attributes.java b/warehouse/query-core/src/main/java/datawave/query/attributes/Attributes.java index 6a5d887d66d..c4d54bb8906 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/Attributes.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/Attributes.java @@ -26,7 +26,7 @@ public class Attributes extends AttributeBag implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 4677957768640489928L; private static final Logger log = Logger.getLogger(Attributes.class); private Set>> attributes; private int _count = 0; diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/Content.java b/warehouse/query-core/src/main/java/datawave/query/attributes/Content.java index f08ce674b19..b9e68c1a312 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/Content.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/Content.java @@ -20,7 +20,7 @@ import datawave.query.jexl.DatawaveJexlContext; public class Content extends Attribute implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -642410227862723970L; private static final Type normalizer = new LcNoDiacriticsType(); diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/DateContent.java b/warehouse/query-core/src/main/java/datawave/query/attributes/DateContent.java index a548dffa102..51be53557c6 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/DateContent.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/DateContent.java @@ -22,7 +22,7 @@ import datawave.webservice.query.data.ObjectSizeOf; public class DateContent extends Attribute implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -5962661609272398909L; private static final DateNormalizer normalizer = new DateNormalizer(); diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/DiacriticContent.java b/warehouse/query-core/src/main/java/datawave/query/attributes/DiacriticContent.java index 3d41f494456..6fecf7420a3 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/DiacriticContent.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/DiacriticContent.java @@ -19,7 +19,7 @@ import datawave.query.jexl.DatawaveJexlContext; public class DiacriticContent extends Attribute implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 570010612591254801L; private static final LcNormalizer normalizer = new LcNormalizer(); diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/Document.java b/warehouse/query-core/src/main/java/datawave/query/attributes/Document.java index 8db37e8c8f9..0bf37145a38 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/Document.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/Document.java @@ -40,7 +40,7 @@ import datawave.util.time.DateHelper; public class Document extends AttributeBag implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -377226620954754934L; private static final Logger log = Logger.getLogger(Document.class); diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/DocumentKey.java b/warehouse/query-core/src/main/java/datawave/query/attributes/DocumentKey.java index ebf06d7cbd9..d4faeef78e5 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/DocumentKey.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/DocumentKey.java @@ -19,7 +19,7 @@ import datawave.util.StringUtils; public class DocumentKey extends Attribute implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 5322007904914187326L; private static final LcNoDiacriticsNormalizer normalizer = new LcNoDiacriticsNormalizer(); diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/GeoPoint.java b/warehouse/query-core/src/main/java/datawave/query/attributes/GeoPoint.java index c1eae1841ae..f678cdd5bd4 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/GeoPoint.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/GeoPoint.java @@ -19,7 +19,7 @@ import datawave.query.jexl.DatawaveJexlContext; public class GeoPoint extends Attribute implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 6706096621887672254L; private static final GeoNormalizer normalizer = new GeoNormalizer(); diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/Geometry.java b/warehouse/query-core/src/main/java/datawave/query/attributes/Geometry.java index 705278d6212..51f550df060 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/Geometry.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/Geometry.java @@ -25,7 +25,7 @@ import datawave.webservice.query.data.ObjectSizeOf; public class Geometry extends Attribute implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 2655645012559296781L; private org.locationtech.jts.geom.Geometry geometry; diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/IpAddress.java b/warehouse/query-core/src/main/java/datawave/query/attributes/IpAddress.java index 01550a48341..49b84f9be95 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/IpAddress.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/IpAddress.java @@ -18,7 +18,7 @@ import datawave.query.jexl.DatawaveJexlContext; public class IpAddress extends Attribute implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 7099603124284651752L; private datawave.data.type.util.IpAddress value; private String normalizedValue; diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/Latitude.java b/warehouse/query-core/src/main/java/datawave/query/attributes/Latitude.java index be7f1ecade3..487d4e56af2 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/Latitude.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/Latitude.java @@ -19,7 +19,7 @@ import datawave.query.jexl.DatawaveJexlContext; public class Latitude extends Attribute implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -1398690419181662732L; private static final GeoLatNormalizer normalizer = new GeoLatNormalizer(); diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/Longitude.java b/warehouse/query-core/src/main/java/datawave/query/attributes/Longitude.java index 1f0960fc62b..1aa48f3e8a7 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/Longitude.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/Longitude.java @@ -19,7 +19,7 @@ import datawave.query.jexl.DatawaveJexlContext; public class Longitude extends Attribute implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -5925043913098866868L; private static final GeoLonNormalizer normalizer = new GeoLonNormalizer(); diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/Metadata.java b/warehouse/query-core/src/main/java/datawave/query/attributes/Metadata.java index e3fb3c3935a..cd5e2076486 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/Metadata.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/Metadata.java @@ -1,5 +1,5 @@ package datawave.query.attributes; public class Metadata extends Document { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -3653320314620034501L; } diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/Numeric.java b/warehouse/query-core/src/main/java/datawave/query/attributes/Numeric.java index f18e17d861e..3f2c39fa9d8 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/Numeric.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/Numeric.java @@ -22,7 +22,7 @@ import datawave.query.jexl.DatawaveJexlContext; public class Numeric extends Attribute implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 5823344312405439698L; private static final NumberNormalizer normalizer = new NumberNormalizer(); diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/PreNormalizedAttribute.java b/warehouse/query-core/src/main/java/datawave/query/attributes/PreNormalizedAttribute.java index 1858ac6e6a5..4565c69164d 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/PreNormalizedAttribute.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/PreNormalizedAttribute.java @@ -22,7 +22,7 @@ * */ public class PreNormalizedAttribute extends Attribute implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -15927664283551620L; protected String value; public String getValue() { diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/TimingMetadata.java b/warehouse/query-core/src/main/java/datawave/query/attributes/TimingMetadata.java index e144baac63e..b78f5ecfbe2 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/TimingMetadata.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/TimingMetadata.java @@ -7,7 +7,7 @@ * Holds timing information for query iterator next, source, seek, and yield counts. */ public class TimingMetadata extends Metadata { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 359279777575969654L; private static final String NEXT_COUNT = "NEXT_COUNT"; private static final String SOURCE_COUNT = "SOURCE_COUNT"; diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/TypeAttribute.java b/warehouse/query-core/src/main/java/datawave/query/attributes/TypeAttribute.java index 6dd0c7185bd..1ddd867792a 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/TypeAttribute.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/TypeAttribute.java @@ -26,7 +26,7 @@ public class TypeAttribute> extends Attribute> implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 7264249641813898860L; private static final Logger log = Logger.getLogger(TypeAttribute.class); diff --git a/warehouse/query-core/src/main/java/datawave/query/attributes/UniqueFields.java b/warehouse/query-core/src/main/java/datawave/query/attributes/UniqueFields.java index d61f25881a8..c9b136e954a 100644 --- a/warehouse/query-core/src/main/java/datawave/query/attributes/UniqueFields.java +++ b/warehouse/query-core/src/main/java/datawave/query/attributes/UniqueFields.java @@ -26,7 +26,7 @@ * {@link UniqueFields#from(String)}. */ public class UniqueFields implements Serializable { - private static final long serialVersionUID = 1l; + private static final long serialVersionUID = 2269249452109902433L; private Multimap fieldMap; diff --git a/warehouse/query-core/src/main/java/datawave/query/cardinality/CardinalityRecord.java b/warehouse/query-core/src/main/java/datawave/query/cardinality/CardinalityRecord.java index 2b9d971d84c..7937de7ae43 100644 --- a/warehouse/query-core/src/main/java/datawave/query/cardinality/CardinalityRecord.java +++ b/warehouse/query-core/src/main/java/datawave/query/cardinality/CardinalityRecord.java @@ -25,7 +25,7 @@ import com.google.common.collect.Sets; public class CardinalityRecord implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -8860541286933451615L; private Set resultCardinalityValueFields = null; private HashMultimap cardinalityMap = HashMultimap.create(); private static Logger log = Logger.getLogger(CardinalityRecord.class); diff --git a/warehouse/query-core/src/main/java/datawave/query/cardinality/DateFieldValueCardinalityRecord.java b/warehouse/query-core/src/main/java/datawave/query/cardinality/DateFieldValueCardinalityRecord.java index 89f097cd67f..9230161c371 100644 --- a/warehouse/query-core/src/main/java/datawave/query/cardinality/DateFieldValueCardinalityRecord.java +++ b/warehouse/query-core/src/main/java/datawave/query/cardinality/DateFieldValueCardinalityRecord.java @@ -9,7 +9,7 @@ import com.clearspring.analytics.stream.cardinality.HyperLogLogPlus; public class DateFieldValueCardinalityRecord implements Comparable, Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -1271188645113911936L; private String eventDate = null; private String fieldName = null; private String fieldValue = null; diff --git a/warehouse/query-core/src/main/java/datawave/query/common/grouping/GroupFields.java b/warehouse/query-core/src/main/java/datawave/query/common/grouping/GroupFields.java index 5b6c4137bc0..01751187c75 100644 --- a/warehouse/query-core/src/main/java/datawave/query/common/grouping/GroupFields.java +++ b/warehouse/query-core/src/main/java/datawave/query/common/grouping/GroupFields.java @@ -27,7 +27,7 @@ * {@link GroupFields#from(String)}. */ public class GroupFields implements Serializable { - private static final long serialVersionUID = 1l; + private static final long serialVersionUID = -5206581051889027175L; private static final String GROUP = "GROUP"; private static final String SUM = "SUM"; diff --git a/warehouse/query-core/src/main/java/datawave/query/common/grouping/Grouping.java b/warehouse/query-core/src/main/java/datawave/query/common/grouping/Grouping.java index ca650641439..377f2649061 100644 --- a/warehouse/query-core/src/main/java/datawave/query/common/grouping/Grouping.java +++ b/warehouse/query-core/src/main/java/datawave/query/common/grouping/Grouping.java @@ -11,7 +11,7 @@ * calculating the hashcode each time a search operation is performed on the keys of the maps. */ public class Grouping extends HashSet> { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -1820281938223279240L; public static final Grouping EMPTY_GROUPING = new Grouping(Collections.emptySet()); diff --git a/warehouse/query-core/src/main/java/datawave/query/common/grouping/GroupingAttribute.java b/warehouse/query-core/src/main/java/datawave/query/common/grouping/GroupingAttribute.java index 359e95e3bac..005def31edc 100644 --- a/warehouse/query-core/src/main/java/datawave/query/common/grouping/GroupingAttribute.java +++ b/warehouse/query-core/src/main/java/datawave/query/common/grouping/GroupingAttribute.java @@ -15,7 +15,7 @@ * the delegate type */ public class GroupingAttribute> extends TypeAttribute { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 1685645033880633567L; public GroupingAttribute(Type type, Key key, boolean toKeep) { super(type, key, toKeep); diff --git a/warehouse/query-core/src/main/java/datawave/query/common/grouping/ImmutableGrouping.java b/warehouse/query-core/src/main/java/datawave/query/common/grouping/ImmutableGrouping.java index 58f51190786..babd72bb79a 100644 --- a/warehouse/query-core/src/main/java/datawave/query/common/grouping/ImmutableGrouping.java +++ b/warehouse/query-core/src/main/java/datawave/query/common/grouping/ImmutableGrouping.java @@ -7,7 +7,7 @@ * This class represents an immutable version of {@link Grouping} that cannot be modified. */ public class ImmutableGrouping extends Grouping { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -2915413060454488378L; public ImmutableGrouping(Collection> collection) { super(); diff --git a/warehouse/query-core/src/main/java/datawave/query/config/TermFrequencyQueryConfiguration.java b/warehouse/query-core/src/main/java/datawave/query/config/TermFrequencyQueryConfiguration.java index 892f947ed89..e556114a786 100644 --- a/warehouse/query-core/src/main/java/datawave/query/config/TermFrequencyQueryConfiguration.java +++ b/warehouse/query-core/src/main/java/datawave/query/config/TermFrequencyQueryConfiguration.java @@ -12,7 +12,7 @@ public class TermFrequencyQueryConfiguration extends GenericQueryConfiguration implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -8057446751976710918L; private transient Range range = null; diff --git a/warehouse/query-core/src/main/java/datawave/query/discovery/DiscoveryQueryConfiguration.java b/warehouse/query-core/src/main/java/datawave/query/discovery/DiscoveryQueryConfiguration.java index 96adf7de563..17f33f01282 100644 --- a/warehouse/query-core/src/main/java/datawave/query/discovery/DiscoveryQueryConfiguration.java +++ b/warehouse/query-core/src/main/java/datawave/query/discovery/DiscoveryQueryConfiguration.java @@ -15,7 +15,7 @@ * Adds the ability to hold on to two multimaps. They map literals and patterns to the fields they were associated with in the query. */ public class DiscoveryQueryConfiguration extends ShardIndexQueryConfiguration implements Serializable { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -2349167549098253860L; private Multimap literals, patterns; private Multimap> ranges; private Boolean separateCountsByColVis = false; diff --git a/warehouse/query-core/src/main/java/datawave/query/exceptions/BooleanLogicFatalQueryException.java b/warehouse/query-core/src/main/java/datawave/query/exceptions/BooleanLogicFatalQueryException.java index 9bbbb5ce88d..f29d5676f86 100644 --- a/warehouse/query-core/src/main/java/datawave/query/exceptions/BooleanLogicFatalQueryException.java +++ b/warehouse/query-core/src/main/java/datawave/query/exceptions/BooleanLogicFatalQueryException.java @@ -5,7 +5,7 @@ * */ public class BooleanLogicFatalQueryException extends Exception { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 318700258115575237L; private String query = ""; private String reason = ""; diff --git a/warehouse/query-core/src/main/java/datawave/query/exceptions/DoNotPerformOptimizedQueryException.java b/warehouse/query-core/src/main/java/datawave/query/exceptions/DoNotPerformOptimizedQueryException.java index 95d1838e399..5bbc7c97c77 100644 --- a/warehouse/query-core/src/main/java/datawave/query/exceptions/DoNotPerformOptimizedQueryException.java +++ b/warehouse/query-core/src/main/java/datawave/query/exceptions/DoNotPerformOptimizedQueryException.java @@ -1,7 +1,7 @@ package datawave.query.exceptions; public class DoNotPerformOptimizedQueryException extends DatawaveFatalQueryException { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 8550522292180353602L; public DoNotPerformOptimizedQueryException() { super(); diff --git a/warehouse/query-core/src/main/java/datawave/query/exceptions/EmptySetComparisonException.java b/warehouse/query-core/src/main/java/datawave/query/exceptions/EmptySetComparisonException.java index 67d1f540467..9fabea42754 100644 --- a/warehouse/query-core/src/main/java/datawave/query/exceptions/EmptySetComparisonException.java +++ b/warehouse/query-core/src/main/java/datawave/query/exceptions/EmptySetComparisonException.java @@ -1,7 +1,7 @@ package datawave.query.exceptions; public class EmptySetComparisonException extends Exception { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -663078244115260736L; public EmptySetComparisonException() { super(); diff --git a/warehouse/query-core/src/main/java/datawave/query/exceptions/FieldNotMutableException.java b/warehouse/query-core/src/main/java/datawave/query/exceptions/FieldNotMutableException.java index a53a330edfd..5a4b476547c 100644 --- a/warehouse/query-core/src/main/java/datawave/query/exceptions/FieldNotMutableException.java +++ b/warehouse/query-core/src/main/java/datawave/query/exceptions/FieldNotMutableException.java @@ -5,7 +5,7 @@ * */ public class FieldNotMutableException extends Exception { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 3399452938172451608L; private String fieldName = ""; private String dataType = ""; diff --git a/warehouse/query-core/src/main/java/datawave/query/exceptions/FullTableScansDisallowedException.java b/warehouse/query-core/src/main/java/datawave/query/exceptions/FullTableScansDisallowedException.java index ae9191f91b8..0ccdb853fa6 100644 --- a/warehouse/query-core/src/main/java/datawave/query/exceptions/FullTableScansDisallowedException.java +++ b/warehouse/query-core/src/main/java/datawave/query/exceptions/FullTableScansDisallowedException.java @@ -5,7 +5,7 @@ */ public class FullTableScansDisallowedException extends DatawaveQueryException { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -8671244431369372767L; public FullTableScansDisallowedException() { super(); diff --git a/warehouse/query-core/src/main/java/datawave/query/exceptions/IllegalRangeArgumentException.java b/warehouse/query-core/src/main/java/datawave/query/exceptions/IllegalRangeArgumentException.java index 95a7d90a983..bce7123c2e0 100644 --- a/warehouse/query-core/src/main/java/datawave/query/exceptions/IllegalRangeArgumentException.java +++ b/warehouse/query-core/src/main/java/datawave/query/exceptions/IllegalRangeArgumentException.java @@ -5,7 +5,7 @@ */ public class IllegalRangeArgumentException extends RuntimeException { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 5913184625604622415L; public IllegalRangeArgumentException(Exception other) { super(other); diff --git a/warehouse/query-core/src/main/java/datawave/query/exceptions/InvalidQueryTreeException.java b/warehouse/query-core/src/main/java/datawave/query/exceptions/InvalidQueryTreeException.java index 09126427d66..873cddf833f 100644 --- a/warehouse/query-core/src/main/java/datawave/query/exceptions/InvalidQueryTreeException.java +++ b/warehouse/query-core/src/main/java/datawave/query/exceptions/InvalidQueryTreeException.java @@ -4,7 +4,7 @@ * Thrown when an invalid query tree is encountered */ public class InvalidQueryTreeException extends Exception { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 3961878219004179463L; public InvalidQueryTreeException() { super(); diff --git a/warehouse/query-core/src/main/java/datawave/query/exceptions/LoadAverageWatchException.java b/warehouse/query-core/src/main/java/datawave/query/exceptions/LoadAverageWatchException.java index 7dbc9e5f8c1..3f72f24a37b 100644 --- a/warehouse/query-core/src/main/java/datawave/query/exceptions/LoadAverageWatchException.java +++ b/warehouse/query-core/src/main/java/datawave/query/exceptions/LoadAverageWatchException.java @@ -3,5 +3,5 @@ import java.io.IOException; public class LoadAverageWatchException extends IOException { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 8898455947562104940L; } diff --git a/warehouse/query-core/src/main/java/datawave/query/exceptions/TooManyTermsException.java b/warehouse/query-core/src/main/java/datawave/query/exceptions/TooManyTermsException.java index ca82b052faa..f7b284e79cc 100644 --- a/warehouse/query-core/src/main/java/datawave/query/exceptions/TooManyTermsException.java +++ b/warehouse/query-core/src/main/java/datawave/query/exceptions/TooManyTermsException.java @@ -6,7 +6,7 @@ */ public class TooManyTermsException extends DatawaveQueryException { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 5287047531989089903L; public TooManyTermsException() { super(); diff --git a/warehouse/query-core/src/main/java/datawave/query/function/LimitFields.java b/warehouse/query-core/src/main/java/datawave/query/function/LimitFields.java index 480a5bca356..2a3f053f79e 100644 --- a/warehouse/query-core/src/main/java/datawave/query/function/LimitFields.java +++ b/warehouse/query-core/src/main/java/datawave/query/function/LimitFields.java @@ -377,7 +377,7 @@ protected String removeGrouping(String key) { * A map that assumes a value for missing keys. */ public static class CountMap extends HashMap { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -736880224574416162L; private static final Integer ZERO = Integer.valueOf(0); @Override diff --git a/warehouse/query-core/src/main/java/datawave/query/function/deserializer/KryoDocumentDeserializer.java b/warehouse/query-core/src/main/java/datawave/query/function/deserializer/KryoDocumentDeserializer.java index 5b7e9eb6773..fa2a822cef7 100644 --- a/warehouse/query-core/src/main/java/datawave/query/function/deserializer/KryoDocumentDeserializer.java +++ b/warehouse/query-core/src/main/java/datawave/query/function/deserializer/KryoDocumentDeserializer.java @@ -17,7 +17,7 @@ * */ public class KryoDocumentDeserializer extends DocumentDeserializer implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -657326925013465794L; final transient Kryo kryo = new Kryo(); diff --git a/warehouse/query-core/src/main/java/datawave/query/function/deserializer/WritableDocumentDeserializer.java b/warehouse/query-core/src/main/java/datawave/query/function/deserializer/WritableDocumentDeserializer.java index a0470b93f39..05a62622ef5 100644 --- a/warehouse/query-core/src/main/java/datawave/query/function/deserializer/WritableDocumentDeserializer.java +++ b/warehouse/query-core/src/main/java/datawave/query/function/deserializer/WritableDocumentDeserializer.java @@ -15,7 +15,7 @@ */ public class WritableDocumentDeserializer extends DocumentDeserializer implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 1058220297462817713L; @Override public Document deserialize(InputStream data) { diff --git a/warehouse/query-core/src/main/java/datawave/query/iterator/CloseableListIterable.java b/warehouse/query-core/src/main/java/datawave/query/iterator/CloseableListIterable.java index 30647a50ccf..c5089288359 100644 --- a/warehouse/query-core/src/main/java/datawave/query/iterator/CloseableListIterable.java +++ b/warehouse/query-core/src/main/java/datawave/query/iterator/CloseableListIterable.java @@ -7,7 +7,7 @@ import datawave.query.CloseableIterable; public class CloseableListIterable extends ArrayList implements CloseableIterable { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -1823550314634951180L; public CloseableListIterable(Collection iter) { super(iter); diff --git a/warehouse/query-core/src/main/java/datawave/query/iterator/ivarator/IvaratorCacheDirConfig.java b/warehouse/query-core/src/main/java/datawave/query/iterator/ivarator/IvaratorCacheDirConfig.java index 056199ada7b..b7df50d6430 100644 --- a/warehouse/query-core/src/main/java/datawave/query/iterator/ivarator/IvaratorCacheDirConfig.java +++ b/warehouse/query-core/src/main/java/datawave/query/iterator/ivarator/IvaratorCacheDirConfig.java @@ -17,7 +17,7 @@ public class IvaratorCacheDirConfig implements Serializable { private static final Logger log = Logger.getLogger(IvaratorCacheDir.class); - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 7028134765339988371L; public static final int DEFAULT_PRIORITY = Integer.MAX_VALUE; public static final long DEFAULT_MIN_AVAILABLE_STORAGE_MiB = 0L; diff --git a/warehouse/query-core/src/main/java/datawave/query/jexl/lookups/IndexLookupMap.java b/warehouse/query-core/src/main/java/datawave/query/jexl/lookups/IndexLookupMap.java index caab414d0e9..eb1135d0da3 100644 --- a/warehouse/query-core/src/main/java/datawave/query/jexl/lookups/IndexLookupMap.java +++ b/warehouse/query-core/src/main/java/datawave/query/jexl/lookups/IndexLookupMap.java @@ -12,7 +12,7 @@ */ @SuppressWarnings("serial") public class IndexLookupMap implements Map, Serializable { - private static final long serialVersionUID = 1l; + private static final long serialVersionUID = -8726073464553222628L; private Set patterns = new HashSet<>(); private Map index = new HashMap<>(); private boolean exceededKeyThreshold = false; diff --git a/warehouse/query-core/src/main/java/datawave/query/jexl/visitors/BaseIndexExpansionVisitor.java b/warehouse/query-core/src/main/java/datawave/query/jexl/visitors/BaseIndexExpansionVisitor.java index bea77a68d37..dc5e7f27d0b 100644 --- a/warehouse/query-core/src/main/java/datawave/query/jexl/visitors/BaseIndexExpansionVisitor.java +++ b/warehouse/query-core/src/main/java/datawave/query/jexl/visitors/BaseIndexExpansionVisitor.java @@ -195,7 +195,7 @@ protected void rebuildFutureJexlNodes() { * Serves as a placeholder Jexl node which can eventually be replaced with an expanded Jexl node once the Index Lookup has finished */ protected static class FutureJexlNode extends JexlNode { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -6505517654708569236L; private final JexlNode origNode; private final IndexLookup lookup; private final boolean ignoreComposites; diff --git a/warehouse/query-core/src/main/java/datawave/query/jexl/visitors/whindex/DistributeAndedNodesVisitor.java b/warehouse/query-core/src/main/java/datawave/query/jexl/visitors/whindex/DistributeAndedNodesVisitor.java index c827f400e74..f734e4d0f51 100644 --- a/warehouse/query-core/src/main/java/datawave/query/jexl/visitors/whindex/DistributeAndedNodesVisitor.java +++ b/warehouse/query-core/src/main/java/datawave/query/jexl/visitors/whindex/DistributeAndedNodesVisitor.java @@ -56,7 +56,7 @@ private DistributeAndedNodesVisitor(List andedNodes, Mapserialized form of the class changes. */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -1162628601053710719L; /** * This constructor is used by the method "generateParseException" in the generated parser. Calling this constructor generates a new object of this type diff --git a/warehouse/query-core/src/main/java/datawave/query/language/parser/lucene/TokenMgrError.java b/warehouse/query-core/src/main/java/datawave/query/language/parser/lucene/TokenMgrError.java index 52b4bfde040..6e1981f1ffe 100644 --- a/warehouse/query-core/src/main/java/datawave/query/language/parser/lucene/TokenMgrError.java +++ b/warehouse/query-core/src/main/java/datawave/query/language/parser/lucene/TokenMgrError.java @@ -2,7 +2,7 @@ package datawave.query.language.parser.lucene; public class TokenMgrError extends Error { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -4429645198105082676L; /* * Ordinals for various reasons why an Error of this type can be thrown. diff --git a/warehouse/query-core/src/main/java/datawave/query/model/edge/EdgeQueryModel.java b/warehouse/query-core/src/main/java/datawave/query/model/edge/EdgeQueryModel.java index 97ffa535fd2..202388948bd 100644 --- a/warehouse/query-core/src/main/java/datawave/query/model/edge/EdgeQueryModel.java +++ b/warehouse/query-core/src/main/java/datawave/query/model/edge/EdgeQueryModel.java @@ -29,7 +29,7 @@ * (3) Additionally, index-only/unevaluated fields are ignored, as this concept is not applicable to edges. */ public class EdgeQueryModel extends QueryModel { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -590763583662768646L; private final EdgeModelFields fields; @@ -100,7 +100,7 @@ public static EdgeQueryModel loadModel(String queryModelXml) throws Exception { * Thrown whenever an invalid edge query model is detected. */ public static class InvalidModelException extends Exception { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -312834628767055149L; public InvalidModelException() { super(); diff --git a/warehouse/query-core/src/main/java/datawave/query/util/SortedKeyValueIteratorToIterator.java b/warehouse/query-core/src/main/java/datawave/query/util/SortedKeyValueIteratorToIterator.java index 711af5c2139..fcd6105badc 100644 --- a/warehouse/query-core/src/main/java/datawave/query/util/SortedKeyValueIteratorToIterator.java +++ b/warehouse/query-core/src/main/java/datawave/query/util/SortedKeyValueIteratorToIterator.java @@ -81,7 +81,7 @@ private Map.Entry findNext() { } public static class IteratorException extends RuntimeException implements Serializable { - private static final long serialVersionUID = 1l; + private static final long serialVersionUID = 619736246732484920L; public IteratorException() { super(); diff --git a/warehouse/query-core/src/main/java/datawave/query/util/ssdeep/NGramScoreTuple.java b/warehouse/query-core/src/main/java/datawave/query/util/ssdeep/NGramScoreTuple.java index a9773f96312..8732474991f 100644 --- a/warehouse/query-core/src/main/java/datawave/query/util/ssdeep/NGramScoreTuple.java +++ b/warehouse/query-core/src/main/java/datawave/query/util/ssdeep/NGramScoreTuple.java @@ -5,7 +5,7 @@ import datawave.util.ssdeep.SSDeepHash; public class NGramScoreTuple implements Serializable, Comparable { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -2598090706928950908L; final SSDeepHash ssDeepHash; final float baseScore; final int weightedScore; diff --git a/warehouse/query-core/src/main/java/datawave/webservice/query/result/event/SimpleEvent.java b/warehouse/query-core/src/main/java/datawave/webservice/query/result/event/SimpleEvent.java index c52ee902b41..fa2b205ef8e 100644 --- a/warehouse/query-core/src/main/java/datawave/webservice/query/result/event/SimpleEvent.java +++ b/warehouse/query-core/src/main/java/datawave/webservice/query/result/event/SimpleEvent.java @@ -27,7 +27,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class SimpleEvent extends EventBase implements Serializable, Message, ObjectSizeOf { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -1963967131747306439L; @XmlElementWrapper(name = "Markings") private Map markings; diff --git a/warehouse/query-core/src/main/java/datawave/webservice/query/result/event/SimpleField.java b/warehouse/query-core/src/main/java/datawave/webservice/query/result/event/SimpleField.java index ce1b340cd23..8363d8805cf 100644 --- a/warehouse/query-core/src/main/java/datawave/webservice/query/result/event/SimpleField.java +++ b/warehouse/query-core/src/main/java/datawave/webservice/query/result/event/SimpleField.java @@ -33,7 +33,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class SimpleField extends FieldBase implements Serializable, Message { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -7551833653666011136L; @XmlAttribute(name = "columnVisibility") private String columnVisibility; diff --git a/warehouse/query-core/src/main/java/org/apache/lucene/queryparser/flexible/core/nodes/NotBooleanQueryNode.java b/warehouse/query-core/src/main/java/org/apache/lucene/queryparser/flexible/core/nodes/NotBooleanQueryNode.java index 941c5be18f7..c24d8a56acf 100644 --- a/warehouse/query-core/src/main/java/org/apache/lucene/queryparser/flexible/core/nodes/NotBooleanQueryNode.java +++ b/warehouse/query-core/src/main/java/org/apache/lucene/queryparser/flexible/core/nodes/NotBooleanQueryNode.java @@ -7,7 +7,7 @@ public class NotBooleanQueryNode extends BooleanQueryNode { /** * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 2522926105910498582L; public NotBooleanQueryNode(List clauses) { super(clauses); diff --git a/warehouse/query-core/src/test/java/datawave/query/iterator/CommaFreeType.java b/warehouse/query-core/src/test/java/datawave/query/iterator/CommaFreeType.java index 41c2daad560..6825a451475 100644 --- a/warehouse/query-core/src/test/java/datawave/query/iterator/CommaFreeType.java +++ b/warehouse/query-core/src/test/java/datawave/query/iterator/CommaFreeType.java @@ -7,14 +7,14 @@ * Purely testing type to remove all commas from a string. */ public class CommaFreeType extends BaseType { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -8183805795495756459L; public CommaFreeType() { super(new CommaNormalizer()); } public static class CommaNormalizer extends AbstractNormalizer { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -5731092165340522114L; @Override public String normalize(String s) { diff --git a/warehouse/query-core/src/test/java/datawave/query/jexl/visitors/ExpandCompositeTermsTest.java b/warehouse/query-core/src/test/java/datawave/query/jexl/visitors/ExpandCompositeTermsTest.java index 64f67fcf9e1..55bc43158ba 100644 --- a/warehouse/query-core/src/test/java/datawave/query/jexl/visitors/ExpandCompositeTermsTest.java +++ b/warehouse/query-core/src/test/java/datawave/query/jexl/visitors/ExpandCompositeTermsTest.java @@ -1253,7 +1253,7 @@ void showIt(String message, ASTJexlScript script) { } private static class MockDiscreteIndexType extends BaseType implements DiscreteIndexType { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 7461882834132475497L; public MockDiscreteIndexType() { super(new NoOpNormalizer()); diff --git a/warehouse/query-core/src/test/java/datawave/query/predicate/DocumentKeyToFieldNameTest.java b/warehouse/query-core/src/test/java/datawave/query/predicate/DocumentKeyToFieldNameTest.java index a308ec18408..96795eca1ea 100644 --- a/warehouse/query-core/src/test/java/datawave/query/predicate/DocumentKeyToFieldNameTest.java +++ b/warehouse/query-core/src/test/java/datawave/query/predicate/DocumentKeyToFieldNameTest.java @@ -122,7 +122,7 @@ private Iterator>>>> tr } private static class TestDatatype extends BaseType { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 3822654660554167058L; public TestDatatype(String delegateString, Normalizer normalizer) { super(delegateString, normalizer); diff --git a/warehouse/query-core/src/test/java/datawave/query/util/CompositeTestingIngest.java b/warehouse/query-core/src/test/java/datawave/query/util/CompositeTestingIngest.java index eeb58ad7cd0..9254968e4ca 100644 --- a/warehouse/query-core/src/test/java/datawave/query/util/CompositeTestingIngest.java +++ b/warehouse/query-core/src/test/java/datawave/query/util/CompositeTestingIngest.java @@ -391,7 +391,7 @@ private static Value getValueForNuthinAndYourHitsForFree() { } public static class PigLatinNormalizer extends AbstractNormalizer { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 4004492504906689561L; final String vowels = "aeiou"; @@ -447,7 +447,7 @@ public PigLatinType(String delegateString) { } public static class UcNormalizer extends AbstractNormalizer { - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = -6729701168202629715L; public String normalize(String fieldValue) { return fieldValue.toUpperCase(Locale.ENGLISH); diff --git a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/ChunkSizeEncoding.java b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/ChunkSizeEncoding.java index ddf9e411160..b41a06b1b38 100644 --- a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/ChunkSizeEncoding.java +++ b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/ChunkSizeEncoding.java @@ -27,7 +27,7 @@ //@formatter:on public class ChunkSizeEncoding implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -3959340489340249949L; public static final int SPAMSUM_LENGTH = 64; diff --git a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/IntegerEncoding.java b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/IntegerEncoding.java index 6a5867f9b63..809f54061f6 100644 --- a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/IntegerEncoding.java +++ b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/IntegerEncoding.java @@ -8,7 +8,7 @@ */ public class IntegerEncoding implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -1535142886955396037L; // The number of distinct characters used for encoding final int base; diff --git a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/NGramGenerator.java b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/NGramGenerator.java index 23733d31714..a74b63cf41e 100644 --- a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/NGramGenerator.java +++ b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/NGramGenerator.java @@ -26,7 +26,7 @@ public class NGramGenerator implements Serializable { */ public static final int DEFAULT_MIN_HASH_SIZE = 64; - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 8930666415965604405L; private static final Logger log = LoggerFactory.getLogger(NGramGenerator.class); diff --git a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/NGramTuple.java b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/NGramTuple.java index 532f83a6012..255b79d5ef3 100644 --- a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/NGramTuple.java +++ b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/NGramTuple.java @@ -11,7 +11,7 @@ */ public class NGramTuple implements Serializable, Comparable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -1604968128862519452L; public static final String CHUNK_DELIMITER = ":"; diff --git a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/SSDeepEncoding.java b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/SSDeepEncoding.java index ac3acc9a43f..bcc2af956a0 100644 --- a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/SSDeepEncoding.java +++ b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/SSDeepEncoding.java @@ -8,7 +8,7 @@ * characters here. As a result this implementation is more performant than alternatives built into java like 'String.getBytes()'. */ public class SSDeepEncoding implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -1307680264498524837L; public byte[] encode(String ngram) { return encodeToBytes(ngram, new byte[ngram.length()], 0); diff --git a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/SSDeepHash.java b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/SSDeepHash.java index f561f4945b1..01dc8642fbf 100644 --- a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/SSDeepHash.java +++ b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/SSDeepHash.java @@ -9,7 +9,7 @@ /** An Immutable SSDeepHash object */ public final class SSDeepHash implements Serializable, Comparable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -4470665039274696957L; /** * The paper on Optimizing ssDeep for use at Scale" suggested that any hash with more than this many repeated characters should have that run of characters diff --git a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/SSDeepParseException.java b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/SSDeepParseException.java index ca3fce77eaf..c2299c0585a 100644 --- a/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/SSDeepParseException.java +++ b/warehouse/ssdeep-common/src/main/java/datawave/util/ssdeep/SSDeepParseException.java @@ -4,7 +4,7 @@ public class SSDeepParseException extends RuntimeException { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 96156228318650642L; final String message; final String input; diff --git a/web-services/cached-results/src/main/java/datawave/webservice/results/cached/CachedRunningQuery.java b/web-services/cached-results/src/main/java/datawave/webservice/results/cached/CachedRunningQuery.java index 5fa4a8fd187..7a76c5d1b65 100644 --- a/web-services/cached-results/src/main/java/datawave/webservice/results/cached/CachedRunningQuery.java +++ b/web-services/cached-results/src/main/java/datawave/webservice/results/cached/CachedRunningQuery.java @@ -58,7 +58,7 @@ public class CachedRunningQuery extends AbstractRunningQuery { private static DataSource datasource = null; - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 9093679062966451008L; private static ResponseObjectFactory responseObjectFactory; private transient Connection connection = null; diff --git a/web-services/client/src/main/java/datawave/webservice/modification/DefaultModificationRequest.java b/web-services/client/src/main/java/datawave/webservice/modification/DefaultModificationRequest.java index 92d2a176bc8..d1933578cbe 100644 --- a/web-services/client/src/main/java/datawave/webservice/modification/DefaultModificationRequest.java +++ b/web-services/client/src/main/java/datawave/webservice/modification/DefaultModificationRequest.java @@ -31,7 +31,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class DefaultModificationRequest extends ModificationRequestBase implements Serializable { - private static final long serialVersionUID = 2L; + private static final long serialVersionUID = 7141501104717795992L; @XmlElementWrapper(name = "Events", required = true) @XmlElement(name = "Event", required = true) diff --git a/web-services/client/src/main/java/datawave/webservice/modification/DefaultUUIDModificationRequest.java b/web-services/client/src/main/java/datawave/webservice/modification/DefaultUUIDModificationRequest.java index 615b4854ea2..4e7da2045c2 100644 --- a/web-services/client/src/main/java/datawave/webservice/modification/DefaultUUIDModificationRequest.java +++ b/web-services/client/src/main/java/datawave/webservice/modification/DefaultUUIDModificationRequest.java @@ -21,7 +21,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class DefaultUUIDModificationRequest extends ModificationRequestBase implements Serializable { - private static final long serialVersionUID = 3L; + private static final long serialVersionUID = -1993315218692972415L; @XmlElementWrapper(name = "Events", required = true) @XmlElement(name = "Event", required = true) diff --git a/web-services/client/src/main/java/datawave/webservice/modification/EventIdentifier.java b/web-services/client/src/main/java/datawave/webservice/modification/EventIdentifier.java index ad96f328d89..20e4f12004a 100644 --- a/web-services/client/src/main/java/datawave/webservice/modification/EventIdentifier.java +++ b/web-services/client/src/main/java/datawave/webservice/modification/EventIdentifier.java @@ -16,7 +16,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class EventIdentifier implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 3868831591782636261L; @XmlElement(name = "shardId", required = true) private String shardId = null; diff --git a/web-services/client/src/main/java/datawave/webservice/modification/ModificationEvent.java b/web-services/client/src/main/java/datawave/webservice/modification/ModificationEvent.java index cb2995805e5..caee702060a 100644 --- a/web-services/client/src/main/java/datawave/webservice/modification/ModificationEvent.java +++ b/web-services/client/src/main/java/datawave/webservice/modification/ModificationEvent.java @@ -18,7 +18,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class ModificationEvent extends ModificationEventBase implements Serializable { - private static final long serialVersionUID = 6L; + private static final long serialVersionUID = -2624449421249547670L; @XmlElement(name = "user", required = true) private String user = null; diff --git a/web-services/client/src/main/java/datawave/webservice/modification/ModificationOperationImpl.java b/web-services/client/src/main/java/datawave/webservice/modification/ModificationOperationImpl.java index 01703ca6289..09de7c3e36d 100644 --- a/web-services/client/src/main/java/datawave/webservice/modification/ModificationOperationImpl.java +++ b/web-services/client/src/main/java/datawave/webservice/modification/ModificationOperationImpl.java @@ -16,7 +16,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class ModificationOperationImpl extends ModificationOperation implements Serializable { - private static final long serialVersionUID = 5L; + private static final long serialVersionUID = -7059742973817272572L; @XmlElement(name = "operationMode", required = true) protected OPERATIONMODE operationMode = null; diff --git a/web-services/client/src/main/java/datawave/webservice/modification/ModificationRequestBase.java b/web-services/client/src/main/java/datawave/webservice/modification/ModificationRequestBase.java index e2ac1bd6064..d52c9e16201 100644 --- a/web-services/client/src/main/java/datawave/webservice/modification/ModificationRequestBase.java +++ b/web-services/client/src/main/java/datawave/webservice/modification/ModificationRequestBase.java @@ -25,7 +25,7 @@ public class ModificationRequestBase implements Serializable { private static String COLUMN_VISIBILITY = "columnVisibility"; - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 4312291034126058550L; @XmlEnum(String.class) public enum MODE { diff --git a/web-services/client/src/main/java/datawave/webservice/modification/UUIDEventIdentifier.java b/web-services/client/src/main/java/datawave/webservice/modification/UUIDEventIdentifier.java index 7975f822ba1..beb66c5a012 100644 --- a/web-services/client/src/main/java/datawave/webservice/modification/UUIDEventIdentifier.java +++ b/web-services/client/src/main/java/datawave/webservice/modification/UUIDEventIdentifier.java @@ -16,7 +16,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class UUIDEventIdentifier implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 2397215231763015746L; @XmlElement(name = "uuid", required = true) private String uuid = null; diff --git a/web-services/client/src/main/java/datawave/webservice/query/QueryMessages.java b/web-services/client/src/main/java/datawave/webservice/query/QueryMessages.java index 3994353dd5c..dc18ebd5e33 100644 --- a/web-services/client/src/main/java/datawave/webservice/query/QueryMessages.java +++ b/web-services/client/src/main/java/datawave/webservice/query/QueryMessages.java @@ -648,7 +648,7 @@ public int getSerializedSize() { return size; } - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 7775810273121957009L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { @@ -1650,7 +1650,7 @@ public int getSerializedSize() { return size; } - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = -8624669227387781661L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { diff --git a/web-services/client/src/main/java/datawave/webservice/query/exception/ExceptionMessages.java b/web-services/client/src/main/java/datawave/webservice/query/exception/ExceptionMessages.java index 518461997e1..35c9c0e9116 100644 --- a/web-services/client/src/main/java/datawave/webservice/query/exception/ExceptionMessages.java +++ b/web-services/client/src/main/java/datawave/webservice/query/exception/ExceptionMessages.java @@ -269,7 +269,7 @@ public int getSerializedSize() { return size; } - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = -5415438289429744565L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { diff --git a/web-services/client/src/main/java/datawave/webservice/query/result/EdgeQueryResponseBase.java b/web-services/client/src/main/java/datawave/webservice/query/result/EdgeQueryResponseBase.java index d44660ff858..ac2c03acbe9 100644 --- a/web-services/client/src/main/java/datawave/webservice/query/result/EdgeQueryResponseBase.java +++ b/web-services/client/src/main/java/datawave/webservice/query/result/EdgeQueryResponseBase.java @@ -15,7 +15,7 @@ public abstract class EdgeQueryResponseBase extends BaseQueryResponse implements protected Map markings; - private static final long serialVersionUID = 0l; + private static final long serialVersionUID = 5957852042933196910L; public abstract void addEdge(EdgeBase edge); diff --git a/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultEvent.java b/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultEvent.java index 65fe18277d0..5b535e044be 100644 --- a/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultEvent.java +++ b/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultEvent.java @@ -29,7 +29,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class DefaultEvent extends EventBase implements Serializable, Message, ObjectSizeOf { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 2390592143914560317L; @XmlElement(name = "Markings") @XmlJavaTypeAdapter(StringMapAdapter.class) diff --git a/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultFacets.java b/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultFacets.java index 93b35e911eb..b0a1416b85b 100644 --- a/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultFacets.java +++ b/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultFacets.java @@ -22,7 +22,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class DefaultFacets extends FacetsBase implements Serializable, Message, ObjectSizeOf { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -836236435709294127L; public void setMarkings(Map markings) { this.markings = markings; diff --git a/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultField.java b/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultField.java index e059c49e7e0..ac00d2c0c4e 100644 --- a/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultField.java +++ b/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultField.java @@ -37,7 +37,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class DefaultField extends FieldBase implements Serializable, Message { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -3982566563059126017L; @XmlElement(name = "Markings") @XmlJavaTypeAdapter(StringMapAdapter.class) diff --git a/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultFieldCardinality.java b/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultFieldCardinality.java index fba55407d5c..acb724af967 100644 --- a/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultFieldCardinality.java +++ b/web-services/client/src/main/java/datawave/webservice/query/result/event/DefaultFieldCardinality.java @@ -30,7 +30,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class DefaultFieldCardinality extends FieldCardinalityBase implements Serializable, Message { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 6744306517869679531L; @XmlAttribute(name = "field") private String field; diff --git a/web-services/client/src/main/java/datawave/webservice/query/result/event/Metadata.java b/web-services/client/src/main/java/datawave/webservice/query/result/event/Metadata.java index da0aa8a18c3..b7311a12162 100644 --- a/web-services/client/src/main/java/datawave/webservice/query/result/event/Metadata.java +++ b/web-services/client/src/main/java/datawave/webservice/query/result/event/Metadata.java @@ -22,7 +22,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class Metadata implements Serializable, Message { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 3078086696168705239L; @XmlElement(name = "DataType") private String dataType = null; diff --git a/web-services/client/src/main/java/datawave/webservice/query/result/logic/QueryLogicDescription.java b/web-services/client/src/main/java/datawave/webservice/query/result/logic/QueryLogicDescription.java index e7fb218d0a6..6df196ddda4 100644 --- a/web-services/client/src/main/java/datawave/webservice/query/result/logic/QueryLogicDescription.java +++ b/web-services/client/src/main/java/datawave/webservice/query/result/logic/QueryLogicDescription.java @@ -16,7 +16,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class QueryLogicDescription implements Serializable { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 4592004897609293243L; public QueryLogicDescription() {} diff --git a/web-services/client/src/main/java/datawave/webservice/result/BaseQueryResponse.java b/web-services/client/src/main/java/datawave/webservice/result/BaseQueryResponse.java index f1a385b7a77..76451078123 100644 --- a/web-services/client/src/main/java/datawave/webservice/result/BaseQueryResponse.java +++ b/web-services/client/src/main/java/datawave/webservice/result/BaseQueryResponse.java @@ -10,7 +10,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public abstract class BaseQueryResponse extends BaseResponse { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -4080703202287062795L; @XmlElement(name = "LogicName") private String logicName = null; diff --git a/web-services/client/src/main/java/datawave/webservice/result/CachedResultsDescribeResponse.java b/web-services/client/src/main/java/datawave/webservice/result/CachedResultsDescribeResponse.java index 5bee0eb1b96..7f84259dd71 100644 --- a/web-services/client/src/main/java/datawave/webservice/result/CachedResultsDescribeResponse.java +++ b/web-services/client/src/main/java/datawave/webservice/result/CachedResultsDescribeResponse.java @@ -15,7 +15,7 @@ @XmlAccessorType(XmlAccessType.NONE) public class CachedResultsDescribeResponse extends BaseResponse { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 8907385255869520517L; @XmlElement(name = "View") private String view = null; diff --git a/web-services/client/src/main/java/datawave/webservice/result/CachedResultsResponse.java b/web-services/client/src/main/java/datawave/webservice/result/CachedResultsResponse.java index 1adb5262505..b024321caf2 100644 --- a/web-services/client/src/main/java/datawave/webservice/result/CachedResultsResponse.java +++ b/web-services/client/src/main/java/datawave/webservice/result/CachedResultsResponse.java @@ -12,7 +12,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class CachedResultsResponse extends BaseResponse { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -6229367579974681065L; @XmlElement(name = "OriginalQueryId") private String originalQueryId = null; diff --git a/web-services/client/src/main/java/datawave/webservice/result/DefaultEventQueryResponse.java b/web-services/client/src/main/java/datawave/webservice/result/DefaultEventQueryResponse.java index 3cf1856a431..98290eb0e61 100644 --- a/web-services/client/src/main/java/datawave/webservice/result/DefaultEventQueryResponse.java +++ b/web-services/client/src/main/java/datawave/webservice/result/DefaultEventQueryResponse.java @@ -28,7 +28,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class DefaultEventQueryResponse extends EventQueryResponseBase implements TotalResultsAware, Serializable, Message { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 7770211210912829217L; @XmlElement(name = "TotalEvents") private Long totalEvents = null; diff --git a/web-services/client/src/main/java/datawave/webservice/result/EventQueryResponseBase.java b/web-services/client/src/main/java/datawave/webservice/result/EventQueryResponseBase.java index 86177a65dc3..1bc562b2a99 100644 --- a/web-services/client/src/main/java/datawave/webservice/result/EventQueryResponseBase.java +++ b/web-services/client/src/main/java/datawave/webservice/result/EventQueryResponseBase.java @@ -6,7 +6,7 @@ public abstract class EventQueryResponseBase extends BaseQueryResponse { - private static final long serialVersionUID = 1l; + private static final long serialVersionUID = -8404343960387980525L; public abstract Long getTotalEvents(); diff --git a/web-services/client/src/main/java/datawave/webservice/result/FacetQueryResponseBase.java b/web-services/client/src/main/java/datawave/webservice/result/FacetQueryResponseBase.java index 4651360b2b7..27426102282 100644 --- a/web-services/client/src/main/java/datawave/webservice/result/FacetQueryResponseBase.java +++ b/web-services/client/src/main/java/datawave/webservice/result/FacetQueryResponseBase.java @@ -14,7 +14,7 @@ */ @XmlAccessorType(XmlAccessType.NONE) public abstract class FacetQueryResponseBase extends BaseQueryResponse implements HasMarkings { - private static final long serialVersionUID = 1l; + private static final long serialVersionUID = -3483112784845232037L; protected transient Map markings; diff --git a/web-services/client/src/main/java/datawave/webservice/result/MetadataQueryResponseBase.java b/web-services/client/src/main/java/datawave/webservice/result/MetadataQueryResponseBase.java index 7a8a5b50c72..68b48127541 100644 --- a/web-services/client/src/main/java/datawave/webservice/result/MetadataQueryResponseBase.java +++ b/web-services/client/src/main/java/datawave/webservice/result/MetadataQueryResponseBase.java @@ -7,7 +7,7 @@ import io.protostuff.Message; public abstract class MetadataQueryResponseBase extends BaseQueryResponse implements Serializable, TotalResultsAware, Message { - private static final long serialVersionUID = 1l; + private static final long serialVersionUID = 1937054629579713080L; public abstract List getFields(); diff --git a/web-services/client/src/main/java/datawave/webservice/result/QueryImplListResponse.java b/web-services/client/src/main/java/datawave/webservice/result/QueryImplListResponse.java index 23f544cdfd8..332d9568c03 100644 --- a/web-services/client/src/main/java/datawave/webservice/result/QueryImplListResponse.java +++ b/web-services/client/src/main/java/datawave/webservice/result/QueryImplListResponse.java @@ -25,7 +25,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class QueryImplListResponse extends BaseResponse implements Message { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -2118945918588194332L; @XmlElement private List query = null; diff --git a/web-services/client/src/main/java/datawave/webservice/result/QueryLogicResponse.java b/web-services/client/src/main/java/datawave/webservice/result/QueryLogicResponse.java index fe14d7ca5b3..785c51df36f 100644 --- a/web-services/client/src/main/java/datawave/webservice/result/QueryLogicResponse.java +++ b/web-services/client/src/main/java/datawave/webservice/result/QueryLogicResponse.java @@ -19,7 +19,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class QueryLogicResponse extends BaseResponse implements HtmlProvider { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -5187717039580274354L; private static final String TITLE = "Deployed Query Logic", EMPTY = ""; @XmlElement(name = "QueryLogic") diff --git a/web-services/client/src/main/java/datawave/webservice/result/QueryWizardResultResponse.java b/web-services/client/src/main/java/datawave/webservice/result/QueryWizardResultResponse.java index df863821aba..8a6320ae105 100644 --- a/web-services/client/src/main/java/datawave/webservice/result/QueryWizardResultResponse.java +++ b/web-services/client/src/main/java/datawave/webservice/result/QueryWizardResultResponse.java @@ -26,7 +26,7 @@ @XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL) public class QueryWizardResultResponse extends BaseResponse implements HtmlProvider { - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 5015858130286649476L; private static final String TITLE = "DataWave Query Results", EMPTY = ""; private static final String DATA_TABLES_TEMPLATE = "\n" + "\n" + "