Skip to content

Commit 9141d4e

Browse files
committed
refactor
1 parent 4761d73 commit 9141d4e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

bundles/org.eclipse.jface/src/org/eclipse/jface/resource/URLImageDescriptor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,11 @@ private static ImageData getImageData(String url, int zoom) {
146146
return getImageData(tempURL, zoom);
147147
}
148148
if (zoom == 100) {
149-
return getImageData(tempURL, zoom);
149+
return getImageData(tempURL);
150150
}
151151
URL xUrl = getxURL(tempURL, zoom);
152152
if (xUrl != null) {
153-
ImageData xdata = getImageData(xUrl, zoom);
153+
ImageData xdata = getImageData(xUrl);
154154
if (xdata != null) {
155155
return xdata;
156156
}
@@ -159,7 +159,7 @@ private static ImageData getImageData(String url, int zoom) {
159159
if (xpath != null) {
160160
URL xPathUrl = getURL(xpath);
161161
if (xPathUrl != null) {
162-
return getImageData(xPathUrl, zoom);
162+
return getImageData(xPathUrl);
163163
}
164164
}
165165
}

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/WorkbenchImages.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ private static final void declareImages() {
236236
declareImage(ISharedImages.IMG_DEF_VIEW, PATH_EVIEW + "defaultview_misc.png", true); //$NON-NLS-1$
237237

238238
declareImage(IWorkbenchGraphicConstants.IMG_LCL_CLOSE_VIEW, PATH_ELOCALTOOL + "close_view.png", true); //$NON-NLS-1$
239-
declareImage(IWorkbenchGraphicConstants.IMG_LCL_PIN_VIEW, PATH_ELOCALTOOL + "pin_view.png", true); //$NON-NLS-1$
240239
declareImage(IWorkbenchGraphicConstants.IMG_LCL_MIN_VIEW, PATH_ELOCALTOOL + "min_view.png", true); //$NON-NLS-1$
241240
declareImage(IWorkbenchGraphicConstants.IMG_LCL_VIEW_MENU, PATH_ELOCALTOOL + "view_menu.png", true); //$NON-NLS-1$
242241
declareImage(IWorkbenchGraphicConstants.IMG_LCL_BUTTON_MENU, PATH_ELOCALTOOL + "button_menu.png", true); //$NON-NLS-1$

0 commit comments

Comments
 (0)