@@ -993,8 +993,6 @@ void destroy () {
993993 memGC = null ;
994994}
995995
996- static int count = 0 ;
997-
998996private void destroyHandle () {
999997 for (ImageHandle imageMetadata : zoomLevelToImageHandle .values ()) {
1000998 destroyHandle (imageMetadata .handle );
@@ -1299,7 +1297,7 @@ static long createDIB(int width, int height, int depth) {
12991297 return OS .CreateDIBSection (0 , bmi , OS .DIB_RGB_COLORS , pBits , 0 , 0 );
13001298}
13011299
1302- static ImageData indexToIndex (ImageData src , int newDepth ) {
1300+ private static ImageData indexToIndex (ImageData src , int newDepth ) {
13031301 ImageData img = new ImageData (src .width , src .height , newDepth , src .palette );
13041302
13051303 ImageData .blit (
@@ -1316,7 +1314,7 @@ static ImageData indexToIndex(ImageData src, int newDepth) {
13161314 return img ;
13171315}
13181316
1319- static ImageData indexToDirect (ImageData src , int newDepth , PaletteData newPalette , int newByteOrder ) {
1317+ private static ImageData indexToDirect (ImageData src , int newDepth , PaletteData newPalette , int newByteOrder ) {
13201318 ImageData img = new ImageData (src .width , src .height , newDepth , newPalette );
13211319
13221320 RGB [] rgbs = src .palette .getRGBs ();
@@ -1348,7 +1346,7 @@ static ImageData indexToDirect(ImageData src, int newDepth, PaletteData newPalet
13481346 return img ;
13491347}
13501348
1351- static ImageData directToDirect (ImageData src , int newDepth , PaletteData newPalette , int newByteOrder ) {
1349+ private static ImageData directToDirect (ImageData src , int newDepth , PaletteData newPalette , int newByteOrder ) {
13521350 ImageData img = new ImageData (src .width , src .height , newDepth , newPalette );
13531351
13541352 ImageData .blit (
0 commit comments