summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/thrifthelper/TBinaryProtocolSafe.java
diff options
context:
space:
mode:
authorManuel Bentele2021-02-23 09:16:07 +0100
committerManuel Bentele2021-03-10 15:14:25 +0100
commit3ebb39147eb615f1d83b822d9e5ee55b9763336a (patch)
treef95ffc80442b140d6f8ead90e1e48540661b0a9a /src/main/java/org/openslx/thrifthelper/TBinaryProtocolSafe.java
parentEnable Java compiler warnings (diff)
downloadmaster-sync-shared-3ebb39147eb615f1d83b822d9e5ee55b9763336a.tar.gz
master-sync-shared-3ebb39147eb615f1d83b822d9e5ee55b9763336a.tar.xz
master-sync-shared-3ebb39147eb615f1d83b822d9e5ee55b9763336a.zip
Remove suppressions and fix Java 8 warnings
Diffstat (limited to 'src/main/java/org/openslx/thrifthelper/TBinaryProtocolSafe.java')
-rw-r--r--src/main/java/org/openslx/thrifthelper/TBinaryProtocolSafe.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/thrifthelper/TBinaryProtocolSafe.java b/src/main/java/org/openslx/thrifthelper/TBinaryProtocolSafe.java
index 86a2306..b0b7486 100644
--- a/src/main/java/org/openslx/thrifthelper/TBinaryProtocolSafe.java
+++ b/src/main/java/org/openslx/thrifthelper/TBinaryProtocolSafe.java
@@ -21,10 +21,14 @@ public class TBinaryProtocolSafe extends TBinaryProtocol
/**
* Factory
*/
- @SuppressWarnings( "serial" )
public static class Factory implements TProtocolFactory
{
+ /**
+ * Version for serialization.
+ */
+ private static final long serialVersionUID = 6896537370338823740L;
+
protected boolean strictRead_ = false;
protected boolean strictWrite_ = true;