Skip to content

Commit 696f247

Browse files
littleajgrlima
authored andcommitted
too many root element annotations. there's only one root element (#619)
1 parent 62bf9e0 commit 696f247

21 files changed

+0
-24
lines changed

core/src/main/java/com/microsoft/applicationinsights/internal/config/AddTypeXmlElement.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
/**
3232
* Created by gupele on 3/15/2015.
3333
*/
34-
@XmlRootElement(name="Add")
3534
public class AddTypeXmlElement {
3635
private String type;
3736
private ArrayList<ParamXmlElement> paramElements = new ArrayList<ParamXmlElement>();

core/src/main/java/com/microsoft/applicationinsights/internal/config/ChannelXmlElement.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,12 @@
2525

2626
import javax.xml.bind.annotation.XmlAttribute;
2727
import javax.xml.bind.annotation.XmlElement;
28-
import javax.xml.bind.annotation.XmlRootElement;
2928
import java.util.HashMap;
3029
import java.util.Map;
3130

3231
/**
3332
* Created by gupele on 3/15/2015.
3433
*/
35-
@XmlRootElement(name="Channel")
3634
public class ChannelXmlElement {
3735

3836
private String endpointAddress;

core/src/main/java/com/microsoft/applicationinsights/internal/config/ContextInitializersXmlElement.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
/**
2929
* Created by gupele on 3/15/2015.
3030
*/
31-
@XmlRootElement(name="ContextInitializers")
3231
public class ContextInitializersXmlElement {
3332

3433
private ArrayList<AddTypeXmlElement> adds;

core/src/main/java/com/microsoft/applicationinsights/internal/config/FixedSamplerXmlElement.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
/**
2727
* Created by gupele on 11/14/2016.
2828
*/
29-
@XmlRootElement(name="Fixed")
3029
public class FixedSamplerXmlElement {
3130
private String includeTypes;
3231
private String excludeTypes;

core/src/main/java/com/microsoft/applicationinsights/internal/config/JmxListXmlElement.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
/**
2929
* Created by gupele on 3/15/2015.
3030
*/
31-
@XmlRootElement(name="Jmx")
3231
public class JmxListXmlElement {
3332
private ArrayList<JmxXmlElement> jmx;
3433

core/src/main/java/com/microsoft/applicationinsights/internal/config/JmxXmlElement.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
/**
2828
* Created by gupele on 3/15/2015.
2929
*/
30-
@XmlRootElement(name="Add")
3130
public class JmxXmlElement {
3231
private String displayName;
3332
private String objectName;

core/src/main/java/com/microsoft/applicationinsights/internal/config/JvmXmlElement.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
/**
2828
* Created by gupele on 8/8/2016.
2929
*/
30-
@XmlRootElement(name="JvmPC")
3130
public class JvmXmlElement {
3231
private String name;
3332
private boolean enabled = true;

core/src/main/java/com/microsoft/applicationinsights/internal/config/ParamExcludedTypeXmlElement.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
/**
88
* This is the class for binding the xml array list of {@code <ExcludedTypes>}
99
*/
10-
11-
@XmlRootElement(name = "ExcludedTypes")
1210
public class ParamExcludedTypeXmlElement {
1311

1412
public List<String> getExcludedType() {

core/src/main/java/com/microsoft/applicationinsights/internal/config/ParamIncludedTypeXmlElement.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
/**
88
* This class is used to bind the xml array list of {@code <IncludeTypes>}
99
*/
10-
11-
@XmlRootElement(name = "IncludedTypes")
1210
public class ParamIncludedTypeXmlElement {
1311

1412
public List<String> getIncludedType() {

core/src/main/java/com/microsoft/applicationinsights/internal/config/ParamXmlElement.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
/**
2828
* Created by yonisha on 3/16/2015.
2929
*/
30-
@XmlRootElement(name="Param")
3130
public class ParamXmlElement {
3231
private String name;
3332
private String value;

0 commit comments

Comments
 (0)