File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
core/src/main/java/com/microsoft/applicationinsights/telemetry Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,6 @@ public String getName() {
9494 * @param name Name of the event. Max length 150.
9595 */
9696 public void setName (String name ) {
97- if (Strings .isNullOrEmpty (name )) {
98- throw new IllegalArgumentException ("The event name cannot be null or empty" );
99- }
100-
10197 data .setName (name );
10298 }
10399
Original file line number Diff line number Diff line change @@ -121,10 +121,6 @@ public String getName() {
121121 * @param name The dependency name.
122122 */
123123 public void setName (String name ) {
124- if (Strings .isNullOrEmpty (name )) {
125- throw new IllegalArgumentException ("The event name cannot be null or empty" );
126- }
127-
128124 data .setName (name );
129125 }
130126
You can’t perform that action at this time.
0 commit comments