Skip to content

Commit

Permalink
updated class names to match expected class names from plugin.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
jpstotz committed Nov 11, 2023
1 parent 464f6d3 commit c4dfbd0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
import org.sf.feeling.decompiler.vineflower.i18n.Messages;
import org.sf.feeling.decompiler.util.UIUtil;

public class DecompileWithVineflowerCoreAction extends Action {
public class DecompileWithVineflowerAction extends Action {

public DecompileWithVineflowerCoreAction() {
public DecompileWithVineflowerAction() {
super(Messages.getString("JavaDecompilerActionBarContributor.Action.DecompileWithVineflower")); //$NON-NLS-1$
this.setImageDescriptor(VineflowerDecompilerPlugin.getImageDescriptor("icons/vineflower_16.png")); //$NON-NLS-1$
}

@Override
public void run() {
try {
new DecompileWithVineflowerCoreHandler().execute(null);
new DecompileWithVineflowerHandler().execute(null);
} catch (ExecutionException e) {
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import org.sf.feeling.decompiler.actions.BaseDecompilerHandler;
import org.sf.feeling.decompiler.vineflower.VineflowerDecompilerPlugin;

public class DecompileWithVineflowerCoreHandler extends BaseDecompilerHandler {
public class DecompileWithVineflowerHandler extends BaseDecompilerHandler {

@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import org.eclipse.jface.resource.ImageDescriptor;
import org.sf.feeling.decompiler.editor.*;
import org.sf.feeling.decompiler.vineflower.VineflowerDecompilerPlugin;
import org.sf.feeling.decompiler.vineflower.actions.DecompileWithVineflowerCoreAction;
import org.sf.feeling.decompiler.vineflower.actions.DecompileWithVineflowerAction;
import org.sf.feeling.decompiler.vineflower.i18n.Messages;

public class VineflowerDecompilerDescriptor implements IDecompilerDescriptor {
Expand Down Expand Up @@ -42,7 +42,7 @@ public BaseDecompilerSourceMapper getDecompilerSourceMapper() {
@Override
public Action getDecompileAction() {
if (decompileAction == null) {
decompileAction = new DecompileWithVineflowerCoreAction();
decompileAction = new DecompileWithVineflowerAction();
}
return decompileAction;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ private Messages() {
}

public static String getString(String key) {

try {
String result = RESOURCE_BUNDLE.getString(key);
result = new String(result.getBytes(StandardCharsets.ISO_8859_1), StandardCharsets.UTF_8);
Expand Down

0 comments on commit c4dfbd0

Please sign in to comment.