#292 Problem with Unused Private Method

SVN_Head
closed
nobody
usage (27)
5
2012-10-10
2005-02-08
ben
No

When using the method, it informed me that there was a
method private method not being used. this is wrong as
the method was being called by another function within
the same class.

please advise

Discussion

<< < 1 2 (Page 2 of 2)
  • ben
    ben
    2005-02-14

    UserHolder Class

     
    Attachments
  • ben
    ben
    2005-02-14

    Logged In: YES
    user_id=1213887

    Hi i have attahced the user holder class. the function returns
    a string. (otherwise we would have issue futher down the line
    within the DAO).

     
  • Logged In: YES
    user_id=746148

    It looks like the check unable to get information about
    method from another java-file :( At least, it fails even
    for very simple test.
    ---- class1.java
    public class class1 {
    public void m1() {
    class2 c2 = new class2();
    m2(c2.get_something());
    }
    private void m2(int i) {
    }
    }
    ------ class2.java
    public class2 {
    public int get_something() {
    return 1;
    }
    }

     
<< < 1 2 (Page 2 of 2)