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 44import java .io .File ;
55import java .io .FileWriter ;
66import java .io .IOException ;
7+ import java .net .Authenticator ;
78import java .net .InetSocketAddress ;
9+ import java .net .PasswordAuthentication ;
810import java .net .Proxy ;
911import java .net .Proxy .Type ;
1012import java .net .ProxySelector ;
Original file line number Diff line number Diff line change @@ -172,12 +172,13 @@ public void testVCSTypeString() {
172172
173173 @ Test
174174 public void testExceptions () throws Exception {
175+ @ SuppressWarnings ("serial" )
175176 GitAPIException eApi = new GitAPIException ("test git exception" ) {};
176177 Exception eCommon = new Exception ("test common exception" );
177178 for (Method m : IVCS .class .getDeclaredMethods ()) {
178179 Object [] params = new Object [m .getParameterTypes ().length ];
179180 Integer i = 0 ;
180- for (Class clazz : m .getParameterTypes ()) {
181+ for (Class <?> clazz : m .getParameterTypes ()) {
181182 params [i ] = clazz .isPrimitive () ? 0 : null ;
182183 i ++;
183184 }
You can’t perform that action at this time.
0 commit comments