Skip to content

Commit 5e7d1ca

Browse files
committed
- linting
1 parent 36f4f8b commit 5e7d1ca

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

‎src/main/java/com/microsoft/graph/http/BaseDeltaCollectionRequest.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222

2323
package com.microsoft.graph.http;
2424

25-
import java.net.URL;
26-
import java.lang.reflect.InvocationTargetException;
27-
import java.util.ArrayList;
2825
import java.util.List;
2926
import java.util.regex.Matcher;
3027
import java.util.regex.Pattern;

‎src/test/java/com/microsoft/graph/http/BaseRequestTests.java‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)