diff options
author | aclement <aclement> | 2010-04-29 18:45:29 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-04-29 18:45:29 +0000 |
commit | 038008d277b0e193dcff8b10ab9f6497940cc3ae (patch) | |
tree | 6d1ff1541addb5e05452952a27cc4b394b866b05 /org.aspectj.matcher | |
parent | 5f81da8c4b466c2c183831999077f5f8518fbf94 (diff) | |
download | aspectj-038008d277b0e193dcff8b10ab9f6497940cc3ae.tar.gz aspectj-038008d277b0e193dcff8b10ab9f6497940cc3ae.zip |
298665: fix!
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r-- | org.aspectj.matcher/src/org/aspectj/weaver/BoundedReferenceType.java | 4 | ||||
-rw-r--r-- | org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java | 9 |
2 files changed, 5 insertions, 8 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/BoundedReferenceType.java b/org.aspectj.matcher/src/org/aspectj/weaver/BoundedReferenceType.java index a1f164e28..68c18c4a2 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/BoundedReferenceType.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/BoundedReferenceType.java @@ -80,7 +80,7 @@ public class BoundedReferenceType extends ReferenceType { super("*", "Ljava/lang/Object;", world); this.kind = UNBOUND; upperBound = world.resolve(UnresolvedType.OBJECT); - setDelegate(new BoundedReferenceTypeDelegate((ReferenceType)upperBound)); + setDelegate(new BoundedReferenceTypeDelegate((ReferenceType) upperBound)); } public UnresolvedType getUpperBound() { @@ -120,7 +120,7 @@ public class BoundedReferenceType extends ReferenceType { } public boolean isExtends() { - return (this.kind == EXTENDS && !getUpperBound().getSignature().equals("Ljava/lang/Object;")); + return this.kind == EXTENDS; } public boolean isSuper() { diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java b/org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java index 0d2892f12..7cdbe230b 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/TypeFactory.java @@ -1,13 +1,10 @@ /* ******************************************************************* - * Copyright (c) 2005 Contributors. + * Copyright (c) 2005-2010 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 * which accompanies this distribution and is available at * http://eclipse.org/legal/epl-v10.html - * - * Contributors: - * Adrian Colyer Initial implementation * ******************************************************************/ package org.aspectj.weaver; @@ -15,8 +12,8 @@ import java.util.ArrayList; import java.util.List; /** - * @author colyer - * + * @author Adrian Colyer + * @author Andy Clement */ public class TypeFactory { |