Skip to content

Commit

Permalink
Cleanup: Remove language constant for SOLIDITY. (#1780)
Browse files Browse the repository at this point in the history
* Cleanup: Remove language constant for SOLIDITY.

This frontend was never introduced to joern and thus we do not need the
constant.
  • Loading branch information
ml86 authored Aug 5, 2024
1 parent 3e9c83c commit fdea405
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ public class Languages {
/** Source-based JS frontend based on Babel */
public static final String JSSRC = "JSSRC";

/** Solidity language frontend */
public static final String SOLIDITY = "SOLIDITY";

/** Source-based frontend for Ruby */
public static final String RUBYSRC = "RUBYSRC";

Expand All @@ -78,7 +75,6 @@ public class Languages {
add(JAVASRC);
add(PYTHONSRC);
add(JSSRC);
add(SOLIDITY);
add(RUBYSRC);
add(SWIFTSRC);
add(CSHARPSRC);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,7 @@ object MetaData extends SchemaBase {
valueType = ValueType.String,
comment = "Source-based JS frontend based on Babel"
).protoId(15),
Constant(
name = "SOLIDITY",
value = "SOLIDITY",
valueType = ValueType.String,
comment = "Solidity language frontend"
).protoId(16),
// Removed protoId 16. Used to be "Solidity".
Constant(
name = "RUBYSRC",
value = "RUBYSRC",
Expand Down

0 comments on commit fdea405

Please sign in to comment.