@@ -73,7 +73,6 @@ public void testSendWithCallback() throws InterruptedException, ExecutionExcepti
7373 }
7474
7575 @ Test
76- @ SuppressWarnings ("unchecked" )
7776 public void testFunctionParameters () {
7877 final Option fo1 = new FunctionOption ("1" , "one" );
7978 final Option fo2 = new FunctionOption ("2" , null );
@@ -85,7 +84,6 @@ public void testFunctionParameters() {
8584 }
8685
8786 @ Test
88- @ SuppressWarnings ("unchecked" )
8987 public void testQueryParameters () {
9088 final Option q1 = new QueryOption ("q1" ,"option1 " );
9189 final Option q2 = new QueryOption ("q2" ,"option2" );
@@ -97,7 +95,6 @@ public void testQueryParameters() {
9795 }
9896
9997 @ Test
100- @ SuppressWarnings ("unchecked" )
10198 public void testFunctionAndQueryParameters () {
10299 final Option f1 = new FunctionOption ("f1" , "fun1" );
103100 final Option f2 = new FunctionOption ("f2" , null );
@@ -109,7 +106,6 @@ public void testFunctionAndQueryParameters() {
109106 }
110107
111108 @ Test
112- @ SuppressWarnings ("unchecked" )
113109 public void testHttpMethod () {
114110 final BaseRequest <Void > request = new BaseRequest <Void >("https://a.b.c/" , mock (IBaseClient .class ), null , null ){};
115111 assertNull (request .getHttpMethod ());
@@ -118,7 +114,6 @@ public void testHttpMethod() {
118114 }
119115
120116 @ Test
121- @ SuppressWarnings ("unchecked" )
122117 public void testHeader () {
123118 final String expectedHeader = "header key" ;
124119 final String expectedValue = "header value" ;
@@ -129,7 +124,6 @@ public void testHeader() {
129124 }
130125
131126 @ Test
132- @ SuppressWarnings ("unchecked" )
133127 public void testProtectedProperties () {
134128 assertEquals (0 , mRequest .functionOptions .size ());
135129 assertEquals (0 , mRequest .queryOptions .size ());
0 commit comments