hanenehrizi / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

public AttributeField getAttribute(String attribute_name) #231

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
line 747 of SessionDescriptor.java:
    public AttributeField getAttribute(String attribute_name) {
        for (int i = 0; i < media.size(); i++) {
            AttributeField af = (AttributeField) av.elementAt
(i);
            if (af.getAttributeName().equals(attribute_name))
                return af;
        }
        return null;
    }

should it be        for (int i = 0; i < av.size(); i++) { 
or not ???

Original issue reported on code.google.com by yuxiao...@gmail.com on 15 Dec 2009 at 12:05

GoogleCodeExporter commented 9 years ago
How did you find that? Did you get force closes, if yes with which provider?

Original comment by pmerl...@googlemail.com on 17 Dec 2009 at 10:35

GoogleCodeExporter commented 9 years ago

Original comment by pmerl...@googlemail.com on 22 Dec 2009 at 4:18

GoogleCodeExporter commented 9 years ago

Original comment by pmerl...@googlemail.com on 24 Dec 2009 at 1:35