Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 242353 Details for
Bug 325271
dev-util/eclipse-sdk-4.4 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/3.6/iterators.patch
iterators.patch (text/plain), 2.01 KB, created by
Matt Whitlock
on 2010-08-10 23:32:15 UTC
(
hide
)
Description:
files/3.6/iterators.patch
Filename:
MIME Type:
Creator:
Matt Whitlock
Created:
2010-08-10 23:32:15 UTC
Size:
2.01 KB
patch
obsolete
>--- plugins/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/expression/CompoundIterator.java~ 2010-02-19 12:12:49.000000000 +0000 >+++ plugins/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/expression/CompoundIterator.java 2010-08-09 23:16:39.201246659 +0000 >@@ -25,7 +25,7 @@ > private final Iterator<? extends Object> iteratorIterator; > private Iterator<T> currentIterator; > >- private T nextObject = noElement(); >+ private Object nextObject = NO_ELEMENT; > > /** > * Creates a compound iterator that will iterated over the elements >@@ -47,8 +47,9 @@ > if (!positionNext()) > throw new NoSuchElementException(); > >- T nxt = nextObject; >- nextObject = noElement(); >+ @SuppressWarnings("unchecked") >+ T nxt = (T) nextObject; >+ nextObject = NO_ELEMENT; > return nxt; > } > >@@ -76,9 +77,4 @@ > nextObject = currentIterator.next(); > return true; > } >- >- @SuppressWarnings("unchecked") >- private static <T> T noElement() { >- return (T) NO_ELEMENT; >- } >-} >\ No newline at end of file >+} >--- plugins/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/expression/MatchIteratorFilter.java~ 2010-02-19 12:12:48.000000000 +0000 >+++ plugins/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/expression/MatchIteratorFilter.java 2010-08-09 23:20:33.572246380 +0000 >@@ -21,7 +21,7 @@ > > private final Iterator<? extends T> innerIterator; > >- private T nextObject = noElement(); >+ private Object nextObject = NO_ELEMENT; > > public MatchIteratorFilter(Iterator<? extends T> iterator) { > this.innerIterator = iterator; >@@ -35,8 +35,9 @@ > if (!positionNext()) > throw new NoSuchElementException(); > >- T nxt = nextObject; >- nextObject = noElement(); >+ @SuppressWarnings("unchecked") >+ T nxt = (T) nextObject; >+ nextObject = NO_ELEMENT; > return nxt; > } > >@@ -63,9 +64,4 @@ > } > return false; > } >- >- @SuppressWarnings("unchecked") >- private static <T> T noElement() { >- return (T) NO_ELEMENT; >- } >-} >\ No newline at end of file >+}
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 325271
:
242343
|
242345
|
242347
|
242349
|
242351
| 242353 |
249314
|
249332
|
249334
|
265785
|
267309
|
274843
|
277171
|
278389
|
278399
|
280385
|
282553
|
282939
|
283735
|
283875
|
287295
|
290999
|
291561
|
291563
|
291583
|
298019
|
302535
|
304989
|
312359
|
312361
|
352782