Changeset 8a89b3d
- Timestamp:
- Feb 15, 2017 5:01:02 PM (4 years ago)
- Branches:
- master
- Children:
- 380f55a
- Parents:
- f2ae1bf
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/imagegen/imagegen/webapp/src/main/java/net/i2p/imagegen/IdenticonServlet.java
rf2ae1bf r8a89b3d 89 89 try { 90 90 Class<?> cacheClass = Class.forName(cacheProvider); 91 this.cache = (IdenticonCache) cacheClass. newInstance();91 this.cache = (IdenticonCache) cacheClass.getDeclaredConstructor().newInstance(); 92 92 } catch (Exception e) { 93 93 e.printStackTrace(); -
apps/imagegen/imagegen/webapp/src/main/java/net/i2p/imagegen/QRServlet.java
rf2ae1bf r8a89b3d 90 90 try { 91 91 Class<?> cacheClass = Class.forName(cacheProvider); 92 this.cache = (IdenticonCache) cacheClass. newInstance();92 this.cache = (IdenticonCache) cacheClass.getDeclaredConstructor().newInstance(); 93 93 } catch (Exception e) { 94 94 e.printStackTrace(); -
apps/susimail/src/src/i2p/susi/webmail/encoding/EncodingFactory.java
rf2ae1bf r8a89b3d 52 52 try { 53 53 Class<?> c = Class.forName( classNames[i] ); 54 Encoding e = (Encoding) c.newInstance();54 Encoding e = (Encoding) (c.getDeclaredConstructor().newInstance()); 55 55 encodings.put( e.getName(), e ); 56 56 Debug.debug( Debug.DEBUG, "Registered " + e.getClass().getName() ); -
core/java/src/net/i2p/kademlia/KBucketSet.java
rf2ae1bf r8a89b3d 638 638 T rv; 639 639 try { 640 rv = (T) _us.getClass(). newInstance();640 rv = (T) _us.getClass().getDeclaredConstructor().newInstance(); 641 641 } catch (Exception e) { 642 642 _log.error("fail", e); -
router/java/src/org/cybergarage/upnp/UPnP.java
rf2ae1bf r8a89b3d 270 270 continue; 271 271 try { 272 parser = (Parser) Class.forName(parserClass[i]). newInstance();272 parser = (Parser) Class.forName(parserClass[i]).getDeclaredConstructor().newInstance(); 273 273 return parser; 274 274 } catch (Throwable e) {
Note: See TracChangeset
for help on using the changeset viewer.