From 0a4be426514e5065a748e183b81b8f4cfe80d0c6 Mon Sep 17 00:00:00 2001 From: Joe Clark Date: Fri, 17 Nov 2023 13:32:42 -0700 Subject: [PATCH] remove raw type reference --- .../mapcache/view/map/feature/FeatureViewActivity.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mapcache/src/main/java/mil/nga/mapcache/view/map/feature/FeatureViewActivity.java b/mapcache/src/main/java/mil/nga/mapcache/view/map/feature/FeatureViewActivity.java index 4dc21b43..4586e433 100644 --- a/mapcache/src/main/java/mil/nga/mapcache/view/map/feature/FeatureViewActivity.java +++ b/mapcache/src/main/java/mil/nga/mapcache/view/map/feature/FeatureViewActivity.java @@ -261,8 +261,8 @@ protected void onCreate(Bundle savedInstanceState) { */ private void createImageGallery(){ if(imageGalleryPager != null && featureViewObjects != null){ - for(Map.Entry map : featureViewObjects.getBitmaps().entrySet() ){ - sliderItems.add(new SliderItem((long)map.getKey(),(Bitmap)map.getValue())); + for(Map.Entry map : featureViewObjects.getBitmaps().entrySet() ){ + sliderItems.add(new SliderItem(map.getKey(),map.getValue())); } imageGalleryPager.setAdapter(sliderAdapter); imageGalleryPager.setClipToPadding(false); @@ -428,8 +428,8 @@ private void updateImages(){ if(featureViewObjects != null){ sliderItems.clear(); featureViewObjects.getAddedBitmaps().clear(); - for(Map.Entry map : featureViewObjects.getBitmaps().entrySet() ){ - sliderItems.add(new SliderItem((long)map.getKey(),(Bitmap)map.getValue())); + for(Map.Entry map : featureViewObjects.getBitmaps().entrySet() ){ + sliderItems.add(new SliderItem(map.getKey(),map.getValue())); } } sliderAdapter.setData(sliderItems);