You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/webapp/JerseyTestBase.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,6 @@ public void setUp() throws Exception {
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/RMWebApp.java
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/jsonprovider/JsonProviderFeature.java
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,6 @@
21
21
importjavax.ws.rs.core.Feature;
22
22
importjavax.ws.rs.core.FeatureContext;
23
23
24
-
importorg.glassfish.jersey.CommonProperties;
25
-
26
24
/**
27
25
* A JAX-RS {@link Feature} that registers custom MOXy JSON providers
28
26
* for handling serialization and deserialization of JSON with or without
@@ -35,8 +33,6 @@
35
33
*
36
34
* <p>Configuration details:</p>
37
35
* <ul>
38
-
* <li>Disables automatic MOXy JSON feature discovery by setting
39
-
* {@link org.glassfish.jersey.CommonProperties#MOXY_JSON_FEATURE_DISABLE} to {@code true}.</li>
40
36
* <li>Registers {@link IncludeRootJSONProvider} with priority {@code 2001}.</li>
41
37
* <li>Registers {@link ExcludeRootJSONProvider} with priority {@code 2002}.</li>
42
38
* </ul>
@@ -48,16 +44,15 @@
48
44
publicclassJsonProviderFeatureimplementsFeature {
49
45
50
46
/**
51
-
* Configures the feature by registering the custom JSON providers
52
-
* and disabling MOXy auto-discovery.
47
+
* Configures the feature by registering the custom JSON providers.
53
48
*
54
49
* @param context the {@link FeatureContext} provided by the JAX-RS runtime
55
50
* @return {@code true} to indicate that the feature was successfully configured
56
51
*/
57
52
@Override
58
53
publicbooleanconfigure(FeatureContextcontext) {
59
-
//Auto discovery should be disabled to ensure the custom providers will be used
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestRMHA.java
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebServiceAppsNodelabel.java
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebServices.java
Copy file name to clipboardExpand all lines: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebServicesAppAttempts.java
0 commit comments