Skip to content

Comments

POI 4.0.0 uptake#158

Merged
monitorjbl merged 14 commits intomonitorjbl:masterfrom
pjfanning:poi-4
Oct 4, 2018
Merged

POI 4.0.0 uptake#158
monitorjbl merged 14 commits intomonitorjbl:masterfrom
pjfanning:poi-4

Conversation

@pjfanning
Copy link
Contributor

POI 4.0.0 is about to be released. I can fix up the build file when the POI jars are fully released.

@pjfanning pjfanning changed the title WIP: POI 4.0.0 uptake POI 4.0.0 uptake Sep 5, 2018
@pjfanning
Copy link
Contributor Author

I have a version of this change published to sonatype snaphots repo - https://github.com/pjfanning/excel-streaming-reader

@nightscape
Copy link

Hi @monitorjbl,

did you already have a look at this PR?
I'm using excel-streaming-reader in https://github.com/crealytics/spark-excel and would like to build a new version with POI 4.0.

@borjapenman
Copy link

Hi @monitorjbl,
Now that everybody is thinking of moving to JDK 11 we need an updated version of the libraries and I was thinking of moving to POI 4.0 as well. Can you give it a look?

@pjfanning
Copy link
Contributor Author

@borjapenman I have a POI 4.0.0 compatible release done at https://github.com/pjfanning/excel-streaming-reader - I've just added openjdk11 testing)

@monitorjbl
Copy link
Owner

Hey guys, sorry for taking so long to review things. It's been kind of a hectic summer and I haven't had much time to spend on anything in GitHub. Things are (hopefully) winding down now, I'm reviewing the open PRs now.

Copy link
Owner

@monitorjbl monitorjbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a couple small things in this PR I'd change, but I'm good to merge this as-is if you don't have time to/don't want to address them this week so I'll go ahead and approve it now. We'll have to do a major version bump for sure, dropping JDK7 support is kind of a big deal for consumers (but a change I'm more than happy to make).

Sorry again for taking so long to review these PRs, I know it's been inconvenient for you and you've contributed quite a bit to this library.

pom.xml Outdated


<repositories>
<repository>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like POI 4.0.0 is available in Maven Central now, is this still necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no this can go, now

} finally {
if(tmp != null) {
log.debug("Deleting tmp file [" + tmp.getAbsolutePath() + "]");
if (log.isDebugEnabled()) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems a tad unnecessary, I'm pretty sure the logging framework will do this with just a call to log.debug()

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

avoids the overhead of doing the string concat if debug is not enabled but not a big deal either way

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good reason to leave it as-is. I honestly just need to do a pass through the code at some point to use the formatted string form of the logger methods. This will effectively skip string concatenation if debugging is not enabled:

log.debug("Deleting tmp file [{}]",  tmp.getAbsolutePath())

I think I just didn't know about that when I initially wrote this code :(

@monitorjbl monitorjbl merged commit 3609c86 into monitorjbl:master Oct 4, 2018
@monitorjbl
Copy link
Owner

Would you be able to merge in your forked version of @zwom 's fix in #154 as well?

@pjfanning pjfanning deleted the poi-4 branch October 4, 2018 18:41
@borjapenman
Copy link

When is this going to be a new release so that it can be imported in the pom?

@monitorjbl
Copy link
Owner

Version 2.0.0 has been published and should be available in the next few hours

@borjapenman
Copy link

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants