aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/hpsf/VariantSupport.java
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2017-04-17 20:13:52 +0000
committerDominik Stadler <centic@apache.org>2017-04-17 20:13:52 +0000
commit5ca0b239bf9f6f0b1b0a80806a8727b702936614 (patch)
tree3df3b6e82426b169bfd7ac604a001caa237d65d5 /src/java/org/apache/poi/hpsf/VariantSupport.java
parent93ed80ba98fa4381356fed5d057861b9b65bff7f (diff)
downloadpoi-5ca0b239bf9f6f0b1b0a80806a8727b702936614.tar.gz
poi-5ca0b239bf9f6f0b1b0a80806a8727b702936614.zip
Let IntelliJ cleanup some code-warnings across the whole code-base: unnecessary toString or semicolon
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791720 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hpsf/VariantSupport.java')
-rw-r--r--src/java/org/apache/poi/hpsf/VariantSupport.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/poi/hpsf/VariantSupport.java b/src/java/org/apache/poi/hpsf/VariantSupport.java
index 1181437bcf..b098db504c 100644
--- a/src/java/org/apache/poi/hpsf/VariantSupport.java
+++ b/src/java/org/apache/poi/hpsf/VariantSupport.java
@@ -331,9 +331,9 @@ public class VariantSupport extends Variant {
case Variant.VT_I4:
if (!(value instanceof Integer)) {
throw new ClassCastException("Could not cast an object to "
- + Integer.class.toString() + ": "
- + value.getClass().toString() + ", "
- + value.toString());
+ + Integer.class + ": "
+ + value.getClass() + ", "
+ + value);
}
length += TypeWriter.writeToStream(out, ((Integer) value).intValue());
break;