Fixed compilation errors in some compilers
This commit is contained in:
parent
4399c1e90b
commit
35a2326e82
@ -78,7 +78,7 @@ public final class ZStream {
|
|||||||
return inflateInit(w, WrapperType.ZLIB);
|
return inflateInit(w, WrapperType.ZLIB);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int inflateInit(int w, Enum<?> wrapperType) {
|
public int inflateInit(int w, @SuppressWarnings("rawtypes") Enum wrapperType) {
|
||||||
istate = new Inflate();
|
istate = new Inflate();
|
||||||
return istate.inflateInit(this, w, (WrapperType) wrapperType);
|
return istate.inflateInit(this, w, (WrapperType) wrapperType);
|
||||||
}
|
}
|
||||||
@ -125,7 +125,7 @@ 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) {
|
public int deflateInit(int level, int bits, @SuppressWarnings("rawtypes") 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…
x
Reference in New Issue
Block a user