Re: [EGIT] [PATCH RFC v1 0/5] Add (static) ignore functionality to EGit
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Apr 6, 2009, 17:03 UTC
- Message-ID
- <20090406170326.GI23604@spearce.org>
- In-Reply-To
- <49DA3305.7090601@pelagic.nl>
"Ferry Huberts (Pelagic)" <ferry.huberts@pelagic.nl> wrote:
Show 8 quoted lines
> Shawn O. Pearce wrote: > > JGit and EGit are holding the line on Java 5 support; that means > > that String.isEmpty() must be spelled as String.length() == 0 > > (isEmpty was added in Java 6). > > just looked in the project settings for org.spearce.egit.core and it has > java 1.5 style specified _and_ eclipse does not give me a warning on the > *.isEmpty() calls. Am i missing something here?
Your workspace default JRE must be set to a Java 6. Switch it to Java 5 in the workspace settings.
-- Shawn.