Skip to content

style: import java.time types in TimestampUtils#2380

Merged
davecramer merged 1 commit intopgjdbc:masterfrom
marschall:TimestampUtils-java-time-imports
Dec 30, 2021
Merged

style: import java.time types in TimestampUtils#2380
davecramer merged 1 commit intopgjdbc:masterfrom
marschall:TimestampUtils-java-time-imports

Conversation

@marschall
Copy link
Copy Markdown
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
Copy Markdown
Member

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

@marschall
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

2 participants