Skip to content

Commit

Permalink
Fixed API compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandoMagico committed Jan 23, 2021
1 parent 797656f commit f444806
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions Plugin/src/contextquickie2/plugin/Activator.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ of this software and associated documentation files(the "Software"), to deal
package contextquickie2.plugin;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ResourceLocator;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;

Expand Down Expand Up @@ -78,6 +77,6 @@ public static Activator getDefault()
*/
public static ImageDescriptor getImageDescriptor(final String path)
{
return ResourceLocator.imageDescriptorFromBundle(PLUGIN_ID, path).get();
return imageDescriptorFromPlugin(PLUGIN_ID, path);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ private IStatus waitForProcessToFinish(ProcessData processInfo, IProgressMonitor
catch (InterruptedException e)
{
logger.log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, e.getMessage(), e));
logger.error(e.getMessage(), e);
return Status.CANCEL_STATUS;
}
}
Expand Down

0 comments on commit f444806

Please sign in to comment.