Skip to content

Commit 58ff0ac

Browse files
committed
Deleting unused files, replacing obsolete with depricated and removing comments
1 parent 6b7eee8 commit 58ff0ac

29 files changed

+23
-1298
lines changed

core/src/main/java/com/microsoft/applicationinsights/TelemetryClient.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -416,12 +416,6 @@ public void track(Telemetry telemetry) {
416416
throw new IllegalArgumentException("Instrumentation key cannot be undefined.");
417417
}
418418

419-
// try {
420-
// telemetry.sanitize();
421-
// } catch (Throwable t) {
422-
// InternalLogger.INSTANCE.error("Exception while sanitizing telemetry: '%s'",t.getMessage());
423-
// }
424-
425419
if (!activateProcessors(telemetry)) {
426420
return;
427421
}

core/src/main/java/com/microsoft/applicationinsights/TelemetryConfiguration.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,6 @@ public String getInstrumentationKey() {
186186
* @throws IllegalArgumentException when the new value is null or empty
187187
*/
188188
public void setInstrumentationKey(String key) {
189-
//No longer checking for UUID
190-
// if (!Sanitizer.isUUID(key)) {
191-
// InternalLogger.INSTANCE.trace("Telemetry Configuration: instrumentation key '%s' is not in UUID format", key);
192-
// }
193189

194190
// A non null, non empty instrumentation key is a must
195191
if (Strings.isNullOrEmpty(key)) {

core/src/main/java/com/microsoft/applicationinsights/internal/schemav2/Application.java

Lines changed: 0 additions & 110 deletions
This file was deleted.

core/src/main/java/com/microsoft/applicationinsights/internal/schemav2/Cloud.java

Lines changed: 0 additions & 133 deletions
This file was deleted.

0 commit comments

Comments
 (0)