Coder Social home page Coder Social logo

multibit-commons's People

Contributors

gary-rowe avatar

Watchers

 avatar  avatar  avatar

multibit-commons's Issues

Include a proper license header in source files

It would make it easier to redistribute multibit-commons if each source file contains a license header.

These files are without license headers:
./src/main/java/org/multibit/commons/concurrent/SafeExecutors.java
./src/main/java/org/multibit/commons/concurrent/SafeScheduledThreadPoolExecutor.java
./src/main/java/org/multibit/commons/concurrent/SafeThreadPoolExecutor.java
./src/main/java/org/multibit/commons/crypto/AESUtils.java
./src/main/java/org/multibit/commons/crypto/ECUtils.java
./src/main/java/org/multibit/commons/crypto/PGPUtils.java
./src/main/java/org/multibit/commons/files/SecureFiles.java
./src/main/java/org/multibit/commons/utils/Dates.java
./src/main/java/org/multibit/commons/utils/HttpsUtils.java
./src/test/java/org/multibit/commons/utils/DatesTest.java

Check https://bugzilla.redhat.com/show_bug.cgi?id=1331589#c8 for details

Remove transitive dependency on logback-classic

When I include this library in my project (indirectly through 'org.multibit.hd.hardware:trezor:0.7.0'), slf4j gets confused when finding logback-classic on the classpath. It reports:

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/path/slf4j-jdk14-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/path/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]

A library JAR that uses slf4j shouldn't require (transitively include) a particular binding. My workaround is to use the Gradle exclude module: option:

compile ('org.multibit.hd.hardware:trezor:0.7.0') {
    exclude module: "logback-classic"
}

Update the license information

The license for ./src/main/java/org/multibit/commons/sntp/NtpMessage.java is GPLv2+

There is no information in the LICENSE file or in pom.xml that multibit-commons ships code with GPL license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.