Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: import java.time types in TimestampUtils #2380

Merged

Conversation

marschall
Copy link
Contributor

Use imports for java.time types in TimestampUtils.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

@davecramer
Copy link
Member

wow, that seems obvious.. strange that ever got in.

@marschall
Copy link
Contributor Author

I think the code did originally not use imports for these types because we had to generate Java 6 and Java 7 sources. However now that master is Java 8 only we can use these imports.

The line break changes are because of the "Format edited lines" save action in Eclipse.

The change only introduces normal imports, not static imports.

@davecramer
Copy link
Member

can you turn that off ? I'd prefer to not see line formatting changes. If not it's probably fine too.

@marschall
Copy link
Contributor Author

Sure, no problem, I'll do the change with no newline changes.

Use imports for java.time types in TimestampUtils.
@marschall marschall force-pushed the TimestampUtils-java-time-imports branch from b1363d1 to 11b72ca Compare December 30, 2021 17:02
@davecramer davecramer merged commit f06a332 into pgjdbc:master Dec 30, 2021
marschall added a commit to marschall/pgjdbc that referenced this pull request Dec 31, 2021
Use imports for java.time types in all remaining classes.

Follow up for pgjdbc#2380
davecramer pushed a commit that referenced this pull request Dec 31, 2021
Use imports for java.time types in all remaining classes.

Follow up for #2380
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.

None yet

2 participants