Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dhilpipre committed Apr 30, 2024
1 parent 5c020db commit 78971ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public static void init() {
parser = (DefaultDatabaseStatementParser)dbService.getDatabaseStatementParser();
initialized = true;
}
vendor = new SAPDBVendor();
}

private static String getSAPHost(String url) {
Expand Down Expand Up @@ -176,8 +177,11 @@ public static ParsedDatabaseStatement parseSQL(String sql) {
}

if(initialized) {
ParsedDatabaseStatement statement = parser.getParsedDatabaseStatement(vendor, sql, null);
return statement;

if (vendor != null && sql != null) {
ParsedDatabaseStatement statement = parser.getParsedDatabaseStatement(vendor, sql, null);
return statement;
}
}

return null;
Expand Down
8 changes: 0 additions & 8 deletions sap-jmxdumper/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@

<<<<<<<< HEAD:sap-jmxdumper/build.gradle
// Build.gradle generated for instrumentation module sap-jmxdumper
========
// Build.gradle generated for instrumentation module sap-appnaming
>>>>>>>> main:sap-appnaming/build.gradle

apply plugin: 'java'

Expand All @@ -22,11 +18,7 @@ dependencies {

jar {
manifest {
<<<<<<<< HEAD:sap-jmxdumper/build.gradle
attributes 'Implementation-Title': 'com.newrelic.instrumentation.labs.sap-jmxdumper'
========
attributes 'Implementation-Title': 'com.newrelic.instrumentation.labs.sap-appnaming'
>>>>>>>> main:sap-appnaming/build.gradle
attributes 'Implementation-Vendor': 'New Relic Labs'
attributes 'Implementation-Vendor-Id': 'com.newrelic.labs'
attributes 'Implementation-Version': 1.0
Expand Down

0 comments on commit 78971ef

Please sign in to comment.