Skip to content

Commit

Permalink
fix Vineflower version in decompilation report
Browse files Browse the repository at this point in the history
  • Loading branch information
nbauma109 committed Jan 21, 2024
1 parent 027cfa5 commit 7d67c3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ public class VineflowerDecompilerPlugin extends AbstractUIPlugin implements IPro

public static final String decompilerType = "Vineflower"; //$NON-NLS-1$

public static final String decompilerVersion = "1.9"; //$NON-NLS-1$

private static VineflowerDecompilerPlugin plugin;

private IPreferenceStore preferenceStore;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import java.util.Collection;

import org.eclipse.core.runtime.Path;
import org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler;
import org.sf.feeling.decompiler.editor.BaseDecompilerSourceMapper;
import org.sf.feeling.decompiler.vineflower.VineflowerDecompilerPlugin;

Expand Down Expand Up @@ -40,7 +41,7 @@ protected void printDecompileReport(StringBuffer source, String fileLocation, Co
source.append("\n\tDecompiled with "); //$NON-NLS-1$
source.append(VineflowerDecompilerPlugin.decompilerType);
source.append(" version "); //$NON-NLS-1$
source.append(VineflowerDecompilerPlugin.decompilerVersion);
source.append(ConsoleDecompiler.class.getPackage().getImplementationVersion());
source.append(".\n*/"); //$NON-NLS-1$
}

Expand Down

0 comments on commit 7d67c3e

Please sign in to comment.