aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/handler/ComputedAttributesHandler.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-02-23 11:19:26 -0800
committerAnton Tananaev <anton@traccar.org>2023-02-23 11:19:26 -0800
commit1da3bc7bfe9bcd6a7a6fe9105973e93772657597 (patch)
tree9f43b0a44088ce61a84d30213c06b63b47d5d404 /src/main/java/org/traccar/handler/ComputedAttributesHandler.java
parent8acc8f0eb2fec2e9b079950ebad835f027fe3f9c (diff)
downloadtrackermap-server-1da3bc7bfe9bcd6a7a6fe9105973e93772657597.tar.gz
trackermap-server-1da3bc7bfe9bcd6a7a6fe9105973e93772657597.tar.bz2
trackermap-server-1da3bc7bfe9bcd6a7a6fe9105973e93772657597.zip
Minor formatting change
Diffstat (limited to 'src/main/java/org/traccar/handler/ComputedAttributesHandler.java')
-rw-r--r--src/main/java/org/traccar/handler/ComputedAttributesHandler.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/handler/ComputedAttributesHandler.java b/src/main/java/org/traccar/handler/ComputedAttributesHandler.java
index e8a4998e3..7671fcc2f 100644
--- a/src/main/java/org/traccar/handler/ComputedAttributesHandler.java
+++ b/src/main/java/org/traccar/handler/ComputedAttributesHandler.java
@@ -115,9 +115,8 @@ public class ComputedAttributesHandler extends BaseDataHandler {
*/
@Deprecated
public Object computeAttribute(Attribute attribute, Position position) throws JexlException {
- return engine.createScript(features,
- engine.createInfo(),
- attribute.getExpression()).execute(prepareContext(position));
+ return engine.createScript(features,engine.createInfo(), attribute.getExpression())
+ .execute(prepareContext(position));
}
@Override