Skip to content

Commit fdea405

Browse files
authored
Cleanup: Remove language constant for SOLIDITY. (#1780)
* Cleanup: Remove language constant for SOLIDITY. This frontend was never introduced to joern and thus we do not need the constant.
1 parent 3e9c83c commit fdea405

File tree

2 files changed

+1
-10
lines changed
  • domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated
  • schema/src/main/scala/io/shiftleft/codepropertygraph/schema

2 files changed

+1
-10
lines changed

domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Languages.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ public class Languages {
5050
/** Source-based JS frontend based on Babel */
5151
public static final String JSSRC = "JSSRC";
5252

53-
/** Solidity language frontend */
54-
public static final String SOLIDITY = "SOLIDITY";
55-
5653
/** Source-based frontend for Ruby */
5754
public static final String RUBYSRC = "RUBYSRC";
5855

@@ -78,7 +75,6 @@ public class Languages {
7875
add(JAVASRC);
7976
add(PYTHONSRC);
8077
add(JSSRC);
81-
add(SOLIDITY);
8278
add(RUBYSRC);
8379
add(SWIFTSRC);
8480
add(CSHARPSRC);

schema/src/main/scala/io/shiftleft/codepropertygraph/schema/MetaData.scala

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,7 @@ object MetaData extends SchemaBase {
118118
valueType = ValueType.String,
119119
comment = "Source-based JS frontend based on Babel"
120120
).protoId(15),
121-
Constant(
122-
name = "SOLIDITY",
123-
value = "SOLIDITY",
124-
valueType = ValueType.String,
125-
comment = "Solidity language frontend"
126-
).protoId(16),
121+
// Removed protoId 16. Used to be "Solidity".
127122
Constant(
128123
name = "RUBYSRC",
129124
value = "RUBYSRC",

0 commit comments

Comments
 (0)