Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
verhas committed May 20, 2019
1 parent 6d34ed2 commit 6e3016a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,3 +479,10 @@ There are many names that contain '2'. In these cases '2' stands for

'3' in license3j stands for 'free' instead of 'three'. Because this is a
free program.

## Related projects

https://github.com/shevek/gradle-license3j-plugin
https://github.com/lkollar/license3j-docker


Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private static NetworkInterface mockInterface(final String name)
IllegalAccessException,
InvocationTargetException,
InstantiationException, NoSuchMethodException {
Constructor constructor = NetworkInterface.class.getDeclaredConstructor(new Class[0]);
Constructor constructor = NetworkInterface.class.getDeclaredConstructor();
constructor.setAccessible(true);
NetworkInterface ni = (NetworkInterface) constructor.newInstance();
Field field = NetworkInterface.class.getDeclaredField("displayName");
Expand Down

0 comments on commit 6e3016a

Please sign in to comment.