View | Details | Raw Unified | Return to bug 221110 | Differences between
and this patch

Collapse All | Expand All

(-)search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java (-10 / +14 lines)
Lines 2575-2585 Link Here
2575
							}
2575
							}
2576
							if (typeArgument instanceof Wildcard) {
2576
							if (typeArgument instanceof Wildcard) {
2577
	                            TypeReference wildcardBound = ((Wildcard) typeArgument).bound;
2577
	                            TypeReference wildcardBound = ((Wildcard) typeArgument).bound;
2578
								level = (Integer) nodeSet.matchingNodes.removeKey(wildcardBound);
2578
	                            if (wildcardBound != null) {
2579
								if (level != null) {
2579
									level = (Integer) nodeSet.matchingNodes.removeKey(wildcardBound);
2580
									IJavaElement localElement = createHandle(typeParameter, enclosingElement);
2580
									if (level != null) {
2581
									this.patternLocator.matchReportReference(wildcardBound, enclosingElement, localElement, null, binding, level.intValue(), this);
2581
										IJavaElement localElement = createHandle(typeParameter, enclosingElement);
2582
								}
2582
										this.patternLocator.matchReportReference(wildcardBound, enclosingElement, localElement, null, binding, level.intValue(), this);
2583
									}
2584
	                            }
2583
                            }
2585
                            }
2584
                    	}
2586
                    	}
2585
                    }
2587
                    }
Lines 2606-2616 Link Here
2606
								}
2608
								}
2607
								if (typeArgument instanceof Wildcard) {
2609
								if (typeArgument instanceof Wildcard) {
2608
		                            TypeReference wildcardBound = ((Wildcard) typeArgument).bound;
2610
		                            TypeReference wildcardBound = ((Wildcard) typeArgument).bound;
2609
									level = (Integer) nodeSet.matchingNodes.removeKey(wildcardBound);
2611
		                            if (wildcardBound != null) {
2610
									if (level != null) {
2612
										level = (Integer) nodeSet.matchingNodes.removeKey(wildcardBound);
2611
										IJavaElement localElement = createHandle(typeParameter, enclosingElement);
2613
										if (level != null) {
2612
										this.patternLocator.matchReportReference(wildcardBound, enclosingElement, localElement, null, binding, level.intValue(), this);
2614
											IJavaElement localElement = createHandle(typeParameter, enclosingElement);
2613
									}
2615
											this.patternLocator.matchReportReference(wildcardBound, enclosingElement, localElement, null, binding, level.intValue(), this);
2616
										}
2617
		                            }
2614
	                            }
2618
	                            }
2615
	                    	}
2619
	                    	}
2616
	                    }
2620
	                    }

Return to bug 221110