From 026fb387b7d84d80f79e51a3d9623fa3c782b6d0 Mon Sep 17 00:00:00 2001 From: aclement Date: Sat, 23 Aug 2008 04:17:44 +0000 Subject: [PATCH] 243376: optimized interface --- asm/src/org/aspectj/asm/IRelationship.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/asm/src/org/aspectj/asm/IRelationship.java b/asm/src/org/aspectj/asm/IRelationship.java index 28ce68a1c..169aa3815 100644 --- a/asm/src/org/aspectj/asm/IRelationship.java +++ b/asm/src/org/aspectj/asm/IRelationship.java @@ -9,12 +9,11 @@ * Contributors: * Mik Kersten initial implementation * ******************************************************************/ - - package org.aspectj.asm; import java.io.*; import java.util.List; +import java.util.Set; /** * @author Mik Kersten @@ -27,16 +26,13 @@ public interface IRelationship extends Serializable { public String getSourceHandle(); - public boolean addTarget(String handle); + public void addTarget(String handle); public Kind getKind(); public boolean hasRuntimeTest(); - /** - * Uses "typesafe enum" pattern. - */ - public static class Kind implements Serializable { + public static class Kind implements Serializable { // typesafe enum private static final long serialVersionUID = -2691351740214705220L; -- 2.39.5