Fix for compilation error
This commit is contained in:
parent
96cb575986
commit
e10cc133f5
@ -79,7 +79,8 @@ public final class ZStream {
|
|||||||
return inflateInit(w, WrapperType.ZLIB);
|
return inflateInit(w, WrapperType.ZLIB);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int inflateInit(int w, Enum<?> wrapperType) {
|
@SuppressWarnings("unchecked")
|
||||||
|
public int inflateInit(int w, Enum wrapperType) {
|
||||||
istate = new Inflate();
|
istate = new Inflate();
|
||||||
return istate.inflateInit(this, w, (WrapperType) wrapperType);
|
return istate.inflateInit(this, w, (WrapperType) wrapperType);
|
||||||
}
|
}
|
||||||
@ -118,7 +119,8 @@ public final class ZStream {
|
|||||||
return deflateInit(level, JZlib.MAX_WBITS);
|
return deflateInit(level, JZlib.MAX_WBITS);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int deflateInit(int level, Enum<?> wrapperType) {
|
@SuppressWarnings("unchecked")
|
||||||
|
public int deflateInit(int level, Enum wrapperType) {
|
||||||
return deflateInit(level, JZlib.MAX_WBITS, wrapperType);
|
return deflateInit(level, JZlib.MAX_WBITS, wrapperType);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -126,7 +128,8 @@ public final class ZStream {
|
|||||||
return deflateInit(level, bits, WrapperType.ZLIB);
|
return deflateInit(level, bits, WrapperType.ZLIB);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int deflateInit(int level, int bits, Enum<?> wrapperType) {
|
@SuppressWarnings("unchecked")
|
||||||
|
public int deflateInit(int level, int bits, Enum wrapperType) {
|
||||||
dstate = new Deflate();
|
dstate = new Deflate();
|
||||||
return dstate.deflateInit(this, level, bits, (WrapperType) wrapperType);
|
return dstate.deflateInit(this, level, bits, (WrapperType) wrapperType);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user