Small refactoring
This commit is contained in:
parent
79bb6eb0ed
commit
3a494cad5c
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ public class TransportStopRoute {
|
|||
RenderingRuleSearchRequest req = new RenderingRuleSearchRequest(rrs);
|
||||
req.setBooleanFilter(rrs.PROPS.R_NIGHT_MODE, nightMode);
|
||||
String color = route.getColor();
|
||||
String typeStr = color == null || color.isEmpty() ? type.getRendeAttr() : color;
|
||||
String typeStr = color == null || color.isEmpty() ? type.getRendeAttr() : color;
|
||||
if (req.searchRenderingAttribute(typeStr)) {
|
||||
cachedColor = req.getIntPropertyValue(rrs.PROPS.R_ATTR_COLOR_VALUE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue