Author: rwesten
Date: Wed Feb 1 14:33:15 2012
New Revision: 1239145
URL: http://svn.apache.org/viewvc?rev=1239145&view=rev
Log:
the "getName()" methods of the two inner Chain implementations do now call the
getNam() method of the Graph chain instead of throwing an
UnsupportedMethodException.
Modified:
incubator/stanbol/trunk/enhancer/chain/graph/src/main/java/org/apache/stanbol/enhancer/chain/graph/impl/GraphChain.java
Modified:
incubator/stanbol/trunk/enhancer/chain/graph/src/main/java/org/apache/stanbol/enhancer/chain/graph/impl/GraphChain.java
URL:
http://svn.apache.org/viewvc/incubator/stanbol/trunk/enhancer/chain/graph/src/main/java/org/apache/stanbol/enhancer/chain/graph/impl/GraphChain.java?rev=1239145&r1=1239144&r2=1239145&view=diff
==============================================================================
---
incubator/stanbol/trunk/enhancer/chain/graph/src/main/java/org/apache/stanbol/enhancer/chain/graph/impl/GraphChain.java
(original)
+++
incubator/stanbol/trunk/enhancer/chain/graph/src/main/java/org/apache/stanbol/enhancer/chain/graph/impl/GraphChain.java
Wed Feb 1 14:33:15 2012
@@ -411,8 +411,7 @@ public class GraphChain extends Abstract
@Override
public String getName() {
- throw new UnsupportedOperationException("Not expected to be
called" +
- "on this internally used Chain implementation");
+ return GraphChain.this.getName();
}
}
/**
@@ -495,8 +494,7 @@ public class GraphChain extends Abstract
@Override
public String getName() {
- throw new UnsupportedOperationException("Not expected to be
called" +
- "on this internally used Chain implementation");
+ return GraphChain.this.getName();
}
}