Ignore:
Timestamp:
Oct 17, 2015 3:47:49 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
71bc55b
Parents:
9bddba5
Message:

lint console,streaming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketManagerFactory.java

    r9bddba5 r5f175455  
    257257            if (!I2PSocketManager.class.isAssignableFrom(cls))
    258258                throw new IllegalArgumentException(classname + " is not an I2PSocketManager");
    259             Constructor<I2PSocketManager> con = (Constructor<I2PSocketManager>)
    260                   cls.getConstructor(new Class[] {I2PAppContext.class, I2PSession.class, Properties.class, String.class});
    261             I2PSocketManager mgr = con.newInstance(new Object[] {context, session, opts, name});
     259            Constructor<?> con =
     260                  cls.getConstructor(I2PAppContext.class, I2PSession.class, Properties.class, String.class);
     261            I2PSocketManager mgr = (I2PSocketManager) con.newInstance(new Object[] {context, session, opts, name});
    262262            return mgr;
    263263        } catch (Throwable t) {
Note: See TracChangeset for help on using the changeset viewer.