-
Notifications
You must be signed in to change notification settings - Fork 557
Eclipse 4.8.0 (JDT) #262
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
Eclipse 4.8.0 (JDT) #262
Changes from 2 commits
093af21
2fd0b20
8ce3295
64ffa31
307b6ca
44cebb0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Spotless formatter based on JDT version 4.8.0 (see https://projects.eclipse.org/projects/eclipse.jdt) | ||
| com.diffplug.spotless:spotless-eclipse-jdt:4.8.0 | ||
| com.diffplug.spotless:spotless-eclipse-base:3.0.0 | ||
| com.google.code.findbugs:annotations:3.0.0 | ||
| com.google.code.findbugs:jsr305:3.0.0 | ||
| org.eclipse.jdt:org.eclipse.jdt.core:3.14.0 | ||
| org.eclipse.platform:org.eclipse.core.commands:3.9.100 | ||
| org.eclipse.platform:org.eclipse.core.contenttype:3.7.0 | ||
| org.eclipse.platform:org.eclipse.core.jobs:3.10.0 | ||
| org.eclipse.platform:org.eclipse.core.resources:3.13.0 | ||
| org.eclipse.platform:org.eclipse.core.runtime:3.14.0 | ||
| org.eclipse.platform:org.eclipse.equinox.app:1.3.500 | ||
| org.eclipse.platform:org.eclipse.equinox.common:3.10.0 | ||
| org.eclipse.platform:org.eclipse.equinox.preferences:3.7.100 | ||
| org.eclipse.platform:org.eclipse.equinox.registry:3.8.0 | ||
| org.eclipse.platform:org.eclipse.osgi:3.13.0 | ||
| org.eclipse.platform:org.eclipse.text:3.6.300 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,8 +42,7 @@ | |
| public final class JarState implements Serializable { | ||
| private static final long serialVersionUID = 1L; | ||
|
|
||
| @SuppressWarnings("unused") | ||
| private final Set<String> mavenCoordinates; | ||
| private final TreeSet<String> mavenCoordinates; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I almost missed this one. There are corner-cases where classpath order matters. Unless we have a really compelling reason, I think we should keep this as
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just wanted to emphasize that I expect a deterministic result for getMavenCoordinates for the same input. I do not insist. What's your final decision?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Set
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. then feel free to press the merge button, and I'll test the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, THX. |
||
| @SuppressWarnings("unused") | ||
| private final FileSignature fileSignature; | ||
|
|
||
|
|
@@ -92,4 +91,9 @@ URL[] jarUrls() { | |
| public ClassLoader getClassLoader() { | ||
| return SpotlessCache.instance().classloader(this); | ||
| } | ||
|
|
||
| /** Returns unmodifiable view on sorted Maven coordinates */ | ||
| public Set<String> getMavenCoordinates() { | ||
| return Collections.unmodifiableSet(mavenCoordinates); | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ifs without brackets are dangerous. I would change to this: