GraphComponent.getAttribute bug

Description

org.geotools.graph.GraphComponent contains a bug in:

public Object getAttribute(String xPath)
{
int index = getSchema().find(getSchema().getAttributeType(xPath));

return getAttribute(xPath);
}

should be: return getAttribute(index);

same for setAttribute(String xPath)

Environment

None

Activity

Show:
codehaus
April 10, 2015, 2:54 PM

CodeHaus Comment From: bnordgren - Time: Fri, 26 May 2006 18:26:09 -0500
---------------------
I have no idea why/how this got assigned to me...or even what it is...

codehaus
April 10, 2015, 2:54 PM

CodeHaus Comment From: jdeolive - Time: Fri, 6 Oct 2006 12:55:21 -0500
---------------------
I am confused, there is no GraphComponent class in geotools graph. Is this getting confused with JTS graphing stuff?

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

High
Configure