diff options
author | Dominik Stadler <centic@apache.org> | 2015-02-09 22:33:24 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2015-02-09 22:33:24 +0000 |
commit | d05e0e199c4c9b103843f14d037cdfda4a19769a (patch) | |
tree | cf5f94d9f2cc9a6143a4aed45c3899ad863ec890 /src/java/org/apache/poi/hssf/usermodel/HSSFFont.java | |
parent | 18a640a2a9ae35d5cc3670c54531fe9830a4a682 (diff) | |
download | poi-d05e0e199c4c9b103843f14d037cdfda4a19769a.tar.gz poi-d05e0e199c4c9b103843f14d037cdfda4a19769a.zip |
Bug 57480: Fix some unnecessary casts, generics, Eclipse warnings, ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658594 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hssf/usermodel/HSSFFont.java')
-rw-r--r-- | src/java/org/apache/poi/hssf/usermodel/HSSFFont.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFFont.java b/src/java/org/apache/poi/hssf/usermodel/HSSFFont.java index 73b402facd..aed0c513fd 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFFont.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFFont.java @@ -309,7 +309,7 @@ public final class HSSFFont implements Font { { byte charset = font.getCharset(); if(charset >= 0) { - return (int)charset; + return charset; } else { return charset + 256; } |