Giter Club home page Giter Club logo

Comments (6)

monitorjbl avatar monitorjbl commented on August 23, 2024

Ah, I see. I'll get that fixed when I get off work. I'll also have that code throw a more meaningful exception type.

from excel-streaming-reader.

monitorjbl avatar monitorjbl commented on August 23, 2024

Just released a new version to Maven Central with the fix. Let me know if you're seeing a temp file hanging around.

from excel-streaming-reader.

jeancl avatar jeancl commented on August 23, 2024

Perfect it solves.

But i think, you can can make these calls to f.delete() parameterized (.deleteFileOnError(true|false)) like your params of buffer size.
Or you can put the f.delete() only on catchs from method read(InputStream is).

Because to my case i want to delete malformed files provided by ImputStream, but the public method read(File f) can be reciving an direct (and very important) file from consumer aplication and if it get an exception this file will be deleted.

I do not want you to be cursed because of me. If any developer pass an important file directly and put a wrong sheet name accidentally.

In advanced. Thanks for fast response.
Great Job...

from excel-streaming-reader.

monitorjbl avatar monitorjbl commented on August 23, 2024

Oh jeez, I see what you mean. I'll get that fixed right away.

from excel-streaming-reader.

monitorjbl avatar monitorjbl commented on August 23, 2024

Released a new version to Maven Central with that issue resolved and a unit test to make sure the read(File) option doesn't delete anything it shouldn't.

from excel-streaming-reader.

jeancl avatar jeancl commented on August 23, 2024

Yeah all right now.

Thanks again...
closing issue...

from excel-streaming-reader.

Related Issues (20)

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.