File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 4
4
import java .io .File ;
5
5
import java .io .FileWriter ;
6
6
import java .io .IOException ;
7
+ import java .net .Authenticator ;
7
8
import java .net .InetSocketAddress ;
9
+ import java .net .PasswordAuthentication ;
8
10
import java .net .Proxy ;
9
11
import java .net .Proxy .Type ;
10
12
import java .net .ProxySelector ;
Original file line number Diff line number Diff line change @@ -172,12 +172,13 @@ public void testVCSTypeString() {
172
172
173
173
@ Test
174
174
public void testExceptions () throws Exception {
175
+ @ SuppressWarnings ("serial" )
175
176
GitAPIException eApi = new GitAPIException ("test git exception" ) {};
176
177
Exception eCommon = new Exception ("test common exception" );
177
178
for (Method m : IVCS .class .getDeclaredMethods ()) {
178
179
Object [] params = new Object [m .getParameterTypes ().length ];
179
180
Integer i = 0 ;
180
- for (Class clazz : m .getParameterTypes ()) {
181
+ for (Class <?> clazz : m .getParameterTypes ()) {
181
182
params [i ] = clazz .isPrimitive () ? 0 : null ;
182
183
i ++;
183
184
}
You can’t perform that action at this time.
0 commit comments