From eba5bad02a901809650a8d6471b2657423191749 Mon Sep 17 00:00:00 2001 From: chiba Date: Tue, 12 Jun 2007 13:30:14 +0000 Subject: [PATCH] updated pom.xml and a few javadoc comments. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@389 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- pom.xml | 28 ++++++++-------------- src/main/javassist/CtClass.java | 3 ++- src/main/javassist/bytecode/ClassFile.java | 1 + 3 files changed, 13 insertions(+), 19 deletions(-) diff --git a/pom.xml b/pom.xml index 8c6912c0..98fdc36c 100644 --- a/pom.xml +++ b/pom.xml @@ -2,14 +2,15 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - jboss + org.jboss jboss-parent - 1 + 3 4.0.0 + org.jboss javassist jar - 3.6.0-BETA2 + 3.6.0-SNAPSHOT Javassist http://labs.jboss.com/portal/jbossaop @@ -20,8 +21,8 @@ org.apache.maven.plugins maven-compiler-plugin - 1.5 - 1.5 + 1.4 + 1.4 @@ -64,7 +65,7 @@ - + jdk16 1.6 @@ -82,12 +83,12 @@ - jboss + repository.jboss.org JBoss Inc. Repository default - http://repository.jboss.com/maven2/ + http://repository.jboss.org/maven2/ - true + false @@ -99,13 +100,4 @@ test - - - cvs-file-repository - - file://${maven.cvs.root} - - diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java index 5fdd3495..a757ef0e 100644 --- a/src/main/javassist/CtClass.java +++ b/src/main/javassist/CtClass.java @@ -553,7 +553,8 @@ public abstract class CtClass { /** * Changes a super class unless this object represents an interface. - * The new super class must be compatible with the old one. + * The new super class must be compatible with the old one; for example, + * it should inherit from the old super class. * *

If this object represents an interface, this method is equivalent * to addInterface(); it appends clazz to diff --git a/src/main/javassist/bytecode/ClassFile.java b/src/main/javassist/bytecode/ClassFile.java index 4c6a8fd8..4720d289 100644 --- a/src/main/javassist/bytecode/ClassFile.java +++ b/src/main/javassist/bytecode/ClassFile.java @@ -326,6 +326,7 @@ public final class ClassFile { * Sets the super class. * *

+ * The new super class should inherit from the old super class. * This method modifies constructors so that they call constructors declared * in the new super class. */ -- 2.39.5