Skip to content

Commit

Permalink
SLICE-136 - ClassCastException thrown by TagData.getAttributeString()
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Rudowicz committed Apr 18, 2016
1 parent f8f6616 commit 4192a99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class SliceLookupTei extends TagExtraInfo {
*/
@Override
public VariableInfo[] getVariableInfo(TagData data) {
String type = data.getAttributeString(ATTRIBUTE_TYPE);
String type = String.valueOf(data.getAttribute(ATTRIBUTE_TYPE));
Matcher matcher = typePattern.matcher(type);

String className = DEFAULT_TYPE;
Expand Down

0 comments on commit 4192a99

Please sign in to comment.