Giter Club home page Giter Club logo

tinify-java's People

Contributors

danmana avatar ddmicu avatar dominic-fraise avatar eddyh avatar frankvanbeem avatar jarivandenberg avatar javadev avatar rkoopmans avatar rolftimmermans avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tinify-java's Issues

Connection leaked

Hello.

While using Tinify, I'm getting the following warning:

Aug 09, 2017 4:11:15 PM com.squareup.okhttp.ConnectionPool pruneAndGetAllocationCount
WARNING: A connection to https://api.tinify.com/ was leaked. Did you forget to close a response body?

I don't find any way of closing the connection in your API. Is there a way to avoid this problem or to close the connection after a request?

Thank you.

is this possible for grails?

hi... as i know, is there has maven plugin then the plugin must available in grails.org

or is there any jar for us

thank you

Redundant JARs in the published maven artifact.

gson and okhttp are transitive dependencies and get resolved properly for the client projects. However, it appears that the unnecessary JARs are bundled with the resulting artifact published on Maven Central.

I'm not very familiar with Maven configuration, but I guess that should be a quick fix.

image

Unit Tests fail on Windows

Running mvn test on Windows causes some of the tests to fail due to bad file paths

Tests in error:
  requestWhenValidShouldReturnResponse(com.tinify.ClientTest): Illegal char <:> at index 2: /d:/dev/projects/github/tinify-java/target/test-classes/example.png
  withValidApiKeyFromFileShouldReturnSourceWithData(com.tinify.SourceTest): Illegal char <:> at index 2: /d:/dev/projects/github/tinify-java/target/test-classes/dummy.png
  withValidApiKeyFromFileShouldReturnSource(com.tinify.SourceTest): Illegal char <:> at index 2: /d:/dev/projects/github/tinify-java/target/test-classes/dummy.png
  withInvalidApiKeyFromFileShouldThrowAccountException(com.tinify.SourceTest): Unexpected exception, expected<com.tinify.AccountException> but was<java.nio.file.InvalidPathException>
  fromFileShouldReturnSource(com.tinify.TinifyTest): Illegal char <:> at index 2: /d:/dev/projects/github/tinify-java/target/test-classes/dummy.png

Tests run: 66, Failures: 0, Errors: 5, Skipped: 0

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.