⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changedmethods.java

📁 JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors,
💻 JAVA
字号:
package ChangedPackage;/**  * OLD: The changes in this class are to do with changes in methods, * when mutiple methods have the same name. */public class ChangedMethods {    /** This constructor should remain unchanged. */    public ChangedMethods() {    }    /** This method should remain unchanged. */    public void UnchangedMethod() {    }    // Test of changing one method in multiple methods    /** This method should have been unchanged. */    public void MethodA() {    }    /**      * OLD: This method should have been changed with the addition of a long      * parameter.      */    public void MethodA(char a) {    }    /** This method should have been unchanged. */    public void MethodA(char a, int b) {    }    // Test of changing two methods in multiple methods    /** This method should have been unchanged. */    public void MethodB() {    }    /**      * OLD: This method should have been changed with the addition of a long      * parameter.      */    public void MethodB(char a) {    }    /**      * OLD: This method should have been changed with the addition of a String     * parameter.      */    public void MethodB(char a, int b) {    }    /**      * OLD: This method should have been changed with the addition of a byte      * parameter.      */    public void MethodC() {    }    /**      * OLD: This method should have been changed with the addition of a long      * parameter.      */    public void MethodC(char a) {    }    /**      * OLD: This method should have been changed with the addition of a String     * parameter.      */    public void MethodC(char a, int b) {    }    /** OLD: This method should have had a long parameter removed. */    public String MethodWithRemovedParam(int a, long b, int c) {        return "foo";    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -