Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 259347 Details for
Bug 486222
NPE when launching JUnit tests by right clicking project
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Eclipse486222.java
file_486222.txt (text/plain), 968 bytes, created by
jeps
on 2016-01-23 03:05:55 EST
(
hide
)
Description:
Eclipse486222.java
Filename:
MIME Type:
Creator:
jeps
Created:
2016-01-23 03:05:55 EST
Size:
968 bytes
patch
obsolete
>package eclipse486222; > >import java.text.Collator; >import java.util.Locale; >import java.util.function.Predicate; > >public class Eclipse486222 { > static final Collator c; > static { > c = Collator.getInstance(Locale.ROOT); > c.setStrength(Collator.SECONDARY); > } > static int compare(String s1, String s2) { > return c.compare(s1, s2); > } > static Predicate<String> predicate(String name, Predicate<String> p) { > class Predicate$ implements Predicate<String>, Comparable<Predicate$> { > @Override > public boolean test(String t) { > return p.test(t); > } > @Override > public String toString() { > return name; > } > @Override > public int compareTo(Predicate$ o) { > return compare(toString(), o.toString()); > } > } > return new Predicate$(); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 486222
: 259347